ybin 发表于 2005-1-11 16:24:40

照着做也加载错误,求原因?

# fdisk -l

Disk /dev/hdc: 80.0 GB, 80032038912 bytes
255 heads, 63 sectors/track, 9730 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   IdSystem
/dev/hdc1   *         1      130510482381    cWin95 FAT32 (LBA)
/dev/hdc2          1306      972967665780    fWin95 Ext'd (LBA)
/dev/hdc5          1306      521631415076    bWin95 FAT32
/dev/hdc6          5217      903230651988+   bWin95 FAT32
/dev/hdc7          9033      9045    104391   83Linux
/dev/hdc8          9046      9697   5237158+83Linux
/dev/hdc9          9698      9729    257008+82Linux swap
# mount -o rw -t vfat /dev/hdc1 /mnt/c codepage=936 iocharset=cp936
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 .
我用mount /dev/hdc1 /mnt/c 可以正确加载.
大家帮我看一下原因!!!

troll 发表于 2005-1-11 16:33:45

编码前也要加-o 参数的。比如像-o iocharset=gb2312

bwb 发表于 2005-1-11 16:36:52

# mount-t vfat /dev/hdc1 /mnt/c -o iocharset=cp936
页: [1]
查看完整版本: 照着做也加载错误,求原因?