root@localhost usb]# fdisk -l
Disk /dev/sda: 268 MB, 268271616 bytes
2 heads, 32 sectors/track, 8187 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 8186 261920 b Win95 FAT32
#其中的sda1就是U盘设备名
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 852 6843658+ 7 HPFS/NTFS
/dev/hda2 853 9964 73192140 f Win95 Ext'd (LBA)
/dev/hda5 853 3284 19535008+ 7 HPFS/NTFS
/dev/hda6 3285 5716 19535008+ 7 HPFS/NTFS
/dev/hda7 5717 8148 19535008+ c Win95 FAT32 (LBA)
/dev/hda8 8149 8161 104391 83 Linux
/dev/hda9 8162 9907 14024713+ 83 Linux
/dev/hda10 9908 9964 457821 82 Linux swap
[root@localhost mnt]# mkdir /mnt/usb
[root@localhost mnt]# mount /dev/sda1 /mnt/usb
[root@localhost mnt]# ls /mnt/usb
a test
[root@localhost mnt]#
好了,行了,拨出U盘前记得umount /dev/sda1