求助如何挂载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: 没有那个文件或目录
不知道是哪儿出了问题!!
请高手指教!! 精华铁里有
#fdisk -l | grep
看看你的挂在点
先建立一个目录 通常情况下是这样的:
#mkdir /mnt/usb #用root用户在/mnt下建个usb目录
#mount -t vfat umask=0,iocharset=cp936 /dev/sda1 /mnt/usb #挂载
#cd /mnt/usb
必须用root
建好挂载点
找到相应的硬件设备(在/dev下,也可以fdisk -l查看)
挂载
使用 通过dmesg看看,系统有没有识别你的usb,如果在输入信息里面有相关的信息的话,例如:sda sdb,...然后就按照上面的方法去做就可以了 有时也可以试试 #mount -all
#fdisk -l
页:
[1]