Andy7 发表于 2004-6-18 22:42:57

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

我将XP下的F盘(FAT32)共享.
输入如下命令:
mount -t fat32 iocharset =cp936 /dev/hda7 /mnt/winf

后出现这
# 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 labelor by uuid, using-U uuid .
Other options: [-nfFrsvw] [-o options].
For many more details, sayman 8 mount .
#

然后怎么做:

winf的权限也改了,

MichaelBibby 发表于 2004-6-18 22:56:06

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


mount -t fat32 iocharset =cp936 /dev/hda7 /mnt/winf

命令格式有错误,应该是:

mount -t vfat -o iocharset=gb2312 /dev/hda7 /mnt/winf

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

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

Andy7 发表于 2004-6-18 23:04:52

我试了,按你那可以的.谢谢阿

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

Andy7 发表于 2004-6-18 23:17:42

怎样隐藏哪些系统文件.

MichaelBibby 发表于 2004-6-19 07:43:13

看精华贴和置顶贴,关键字“fstab"
页: [1]
查看完整版本: 在RH9.0下共享WINXP出现的问题.