|
发表于 2010-5-13 23:02:04
|
显示全部楼层
1,根据容量大小,现在的硬盘通常都是几百个G了,而U盘才4-8G,所以,看它们的容量:
# fdisk -l
2,根据文件系统,通常U盘的文件系统都是FAT的(因为同时在windows和Linux下通用的U盘格式也只有FAT和NTFS,而4G的U盘大都是FAT的)
# fdisk -l
===============我的分区========
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000572f6
Device Boot Start End Blocks Id System
/dev/sda1 42683 60801 145540867+ 83 Linux
/dev/sda2 * 1 24 192748+ 83 Linux
/dev/sda3 25 13990 112181895 5 Extended
/dev/sda5 25 3671 29294496 83 Linux
/dev/sda6 3672 4157 3903763+ 82 Linux swap / Solaris
/dev/sda7 4158 10236 48829536 83 Linux
/dev/sda8 10237 13990 30153973+ 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc001c001
Device Boot Start End Blocks Id System
Disk /dev/sdc: 4038 MB, 4038066176 bytes
125 heads, 62 sectors/track, 1017 cylinders
Units = cylinders of 7750 * 512 = 3968000 bytes
Disk identifier: 0x00045357
Device Boot Start End Blocks Id System
/dev/sdc1 1 1017 3940844 c W95 FAT32 (LBA) |
|