Chinaunix

标题: 新手求助!挂载windows分区时的错误! [打印本页]

作者: night-woft    时间: 2004-05-12 11:23
标题: 新手求助!挂载windows分区时的错误!
我刚装了个redhat9.0,在终端输入
mount -t vfat /dev/hda1 /mnt/winc -o codepage=936 iocharset=936
挂载windows2000分区时提示如下错误,
[root@localhost root]# mount -t vfat /dev/hda1 /mnt/winc -o codepage=936 iocharset=936
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 .

请教高手者是什么原因?谢谢!
作者: 零二年的夏天    时间: 2004-05-12 11:32
标题: 新手求助!挂载windows分区时的错误!
原帖由 "一句话精彩" 发表:

0005 mount用法(sakulagi)
fat32的分区 mount -o codepage=936,iocharset=cp936 /dev/hda7 /mnt/cdrom
ntfs的分区 mount -o iocharset=cp936 /dev/hda7 /mnt/cdrom
iso文件 mount -o loop /abc.iso /mnt/cdrom
软盘 mount /dev/fd0 /mnt/floppy
USB闪存 mount /dev/sda1 /mnt/cdrom
所有/etc/fstab内容 mount -a
可以指定文件格式"-t 格式", 格式可以为vfat, ext2, ext3等.


您的命令有问题。
作者: 天外闲云    时间: 2004-05-12 11:35
标题: 新手求助!挂载windows分区时的错误!
原帖由 "night-woft"]ns 发表:
.
mount -t vfat /dev/hda1 /mnt/winc -o codepage=936 iocharset=936


mount -t vfat /dev/hda1 /mnt/winc -o codepage=936,iocharset=936

想知道原因就man
作者: 乱数    时间: 2004-05-12 11:44
标题: 新手求助!挂载windows分区时的错误!
我在Virtual PC 装了RH9 ,用了这命令不能MOUNT
有解决方法吗?
作者: night-woft    时间: 2004-05-12 13:54
标题: 新手求助!挂载windows分区时的错误!
原帖由 "天外闲云" 发表:

mount -t vfat /dev/hda1 /mnt/winc -o codepage=936,iocharset=936


请问这里为什么要加一个逗号?有什么作用?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2