主题 : LINUX 红帽子9.0 中如何挂载U盘 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 20
精华: 0
发帖: 2
金钱: 20 两
威望: 2 点
综合积分: 4 分
注册时间: 2008-01-11
最后登录: 2008-06-26
楼主  发表于: 2008-03-19 13:09

 LINUX 红帽子9.0 中如何挂载U盘

管理提醒: 本帖被 kasim 执行锁定操作(2008-03-19)
[root@172 root]# mount -t /dev/sdb /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 .
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2008-03-19 22:23
引用楼主lsfytx于2008-03-19 13:09发表的 LINUX 红帽子9.0 中如何挂载U盘 :
[root@172 root]# mount -t /dev/sdb /mnt/usb
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
.......

出错信息已经很明显了,-t 参数后面需要指定文件系统的类型,比如mount -t vfat /dev/sdb /mnt/usb
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."