找回密码
 注册
查看: 871|回复: 9

请问板斧...Redhat9下如何挂载U盘啊?

[复制链接]
发表于 2004-8-30 18:44:04 | 显示全部楼层 |阅读模式
请问板斧...Redhat9下如何挂载U盘啊?  
发表于 2004-8-30 19:25:23 | 显示全部楼层
先fdisk -l 看看具体是哪个设备文件名。

mkdir /mnt/usb
mount -t vfat /dev/sda1(根据你看到实际情况填写一般是sda1) /mnt/usb
回复

使用道具 举报

 楼主| 发表于 2004-8-30 22:14:20 | 显示全部楼层
首先感谢hew回贴!...不过还是有些问题

1.用'fdisk -l'命令返回如下信息(应该找到USB设备了):
Device    Boot      Start       End    Blocks     Id   Syste
/dev/sda1   *         1       1003    128368    6   FAT16

2.用'mount -t vfat /dev/sda1'返回错误信息./mnt/usb下没有挂载成功!

我用RedHat9.0系统,安装有一个USB鼠标.是不是USB鼠标与U盘冲突啊?
回复

使用道具 举报

发表于 2004-8-30 22:42:54 | 显示全部楼层
/mnt/usb
有这个目录吗?
回复

使用道具 举报

发表于 2004-8-30 23:11:16 | 显示全部楼层
redhat 9支持vfat文件格式吗?好像不支持吧
回复

使用道具 举报

发表于 2004-8-30 23:17:13 | 显示全部楼层
vfat是支持的,你能把出错信息贴一下吗?
回复

使用道具 举报

发表于 2004-8-30 23:29:55 | 显示全部楼层
mount -t vfat /dev/sda /mnt/usb ;
应该和-t msdos没什么关系的,fat16的?
回复

使用道具 举报

 楼主| 发表于 2004-8-31 00:02:24 | 显示全部楼层
输入'mount -t vfat /dev/sda1'后返回以下信息....

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 .

内核是2.4.*的Linux都应该支持U盘的啊?!
回复

使用道具 举报

 楼主| 发表于 2004-8-31 00:15:44 | 显示全部楼层
在'linky_fan'的提醒下问题PASS了!
用命令 'mount -t vfat /dev/sda1 /mnt/usb' 解决问题了.

多谢'hew'.'linky_fan'两位大侠了!
回复

使用道具 举报

发表于 2004-8-31 22:50:33 | 显示全部楼层
mount -t vfat /dev/sda1 /mnt/usb
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-8-29 02:22 , Processed in 0.026999 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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