QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1699|回复: 4

求助如何挂载USB!!

[复制链接]
发表于 2005-7-4 20:59:58 | 显示全部楼层 |阅读模式
我是开始这样挂的
[rock@192 rock]$ mount /mnt/usb
mount: can't find /mnt/usb in /etc/fstab or /etc/mtab

后来上网查了一下,看到一个贴子
就照葫芦画缥!

[root@192 rock]#  mount -t vfat umask=0,iocharset=cp936 /dev/hdb /mnt/usb
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab
       mount device             : mount device at the known place
       mount directory          : mount known device here
       mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
       mount --bind olddir newdir
or move a subtree:
       mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options].
For many more details, say  man 8 mount .
[root@192 rock]# ls /mnt/usb
ls: /mnt/usb: 没有那个文件或目录

不知道是哪儿出了问题!!
请高手指教!!
发表于 2005-7-4 22:43:56 | 显示全部楼层
精华铁里有
#fdisk -l | grep
看看你的挂在点
先建立一个目录
回复

使用道具 举报

发表于 2005-7-5 08:08:38 | 显示全部楼层
通常情况下是这样的:
[code:1]#mkdir /mnt/usb   #用root用户在/mnt下建个usb目录
#mount -t vfat umask=0,iocharset=cp936 /dev/sda1 /mnt/usb   #挂载
#cd /mnt/usb[/code:1]
必须用root
建好挂载点
找到相应的硬件设备(在/dev下,也可以fdisk -l查看)
挂载
使用
回复

使用道具 举报

发表于 2005-7-13 13:51:32 | 显示全部楼层
通过dmesg看看,系统有没有识别你的usb,如果在输入信息里面有相关的信息的话,例如:sda sdb,...然后就按照上面的方法去做就可以了
回复

使用道具 举报

发表于 2005-7-13 19:21:15 | 显示全部楼层
有时也可以试试 #mount -all
                      #fdisk -l
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-30 12:18 , Processed in 0.047219 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表