lanair04 发表于 2005-7-4 20:59:58

求助如何挂载USB!!

我是开始这样挂的
$ mount /mnt/usb
mount: can't find /mnt/usb in /etc/fstab or /etc/mtab

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

#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 labelor by uuid, using-U uuid .
Other options: [-nfFrsvw] [-o options].
For many more details, sayman 8 mount .
# ls /mnt/usb
ls: /mnt/usb: 没有那个文件或目录

不知道是哪儿出了问题!!
请高手指教!!

wanggang 发表于 2005-7-4 22:43:56

精华铁里有
#fdisk -l | grep
看看你的挂在点
先建立一个目录

zhy2111314 发表于 2005-7-5 08:08:38

通常情况下是这样的:
#mkdir /mnt/usb   #用root用户在/mnt下建个usb目录
#mount -t vfat umask=0,iocharset=cp936 /dev/sda1 /mnt/usb   #挂载
#cd /mnt/usb
必须用root
建好挂载点
找到相应的硬件设备(在/dev下,也可以fdisk -l查看)
挂载
使用

keven 发表于 2005-7-13 13:51:32

通过dmesg看看,系统有没有识别你的usb,如果在输入信息里面有相关的信息的话,例如:sda sdb,...然后就按照上面的方法去做就可以了

surpass_wch 发表于 2005-7-13 19:21:15

有时也可以试试 #mount -all
                      #fdisk -l
页: [1]
查看完整版本: 求助如何挂载USB!!