|
我用的是dosfstools2.11,
用fdisk对40G的硬盘分区,只分了一个主分区,分区类型修改为(b)win95 Fat32
在板子上执行:
/> mkdosfs -v -F /dev/hda1
mkdosfs 2.11 (12 Mar 2005)
/dev/ide/host0/bus0/target0/lun0/part1 has 16 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 2097152 sectors;
file system has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 2044 sectors, and provides 261629 clusters.
Volume ID is 00000b14, no volume label.
/> mount -t vfat /dev/hda1 /mnt
上述操作都可执行成功。
执行df命令查看时:
/> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 1649 1649 0 100% /
/dev/ram0 243 8 235 3% /var
/dev/hda1 1046516 4 1046512 0% /data
为什么40G的硬盘只有1G了呢?
执行命令
/> fdisk -l
Disk /dev/hda: 16 heads, 63 sectors, 77545 cylinders
Units = cylinders of 1008 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 77545 39082648+ c Win95 FAT32
真是让我百思不得其解啊! |
|