QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 655|回复: 4

在RH9.0下共享WINXP出现的问题.

[复制链接]
发表于 2004-6-18 22:42:57 | 显示全部楼层 |阅读模式
我将XP下的F盘(FAT32)共享.
输入如下命令:
mount -t fat32 iocharset =cp936 /dev/hda7 /mnt/winf

后出现这
[root@localhost root]# mount -t fat32 iocharset =cp936 /dev/hda7 /mnt/winf
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 .
[root@localhost root]#

然后怎么做:

winf的权限也改了,
发表于 2004-6-18 22:56:06 | 显示全部楼层

Re: 在RH9.0下共享WINXP出现的问题.

[quote:fdd9c6ac76="Andy7"]
mount -t fat32 iocharset =cp936 /dev/hda7 /mnt/winf
[/quote]
命令格式有错误,应该是:
mount -t vfat -o iocharset=gb2312 /dev/hda7 /mnt/winf

iocharset=gb2312和cp936是一样的,任选一个都行

另,以后还请兄弟在提问前注意查看精华贴和置顶贴,也许你的问题已经有了解答,这样就不用麻烦别人了,自己也学到了知识
回复

使用道具 举报

 楼主| 发表于 2004-6-18 23:04:52 | 显示全部楼层
我试了,按你那可以的.谢谢阿

那要每次开机都有怎么办.
回复

使用道具 举报

 楼主| 发表于 2004-6-18 23:17:42 | 显示全部楼层
怎样隐藏哪些系统文件.
回复

使用道具 举报

发表于 2004-6-19 07:43:13 | 显示全部楼层
看精华贴和置顶贴,关键字“fstab"
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-20 09:46 , Processed in 0.038152 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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