电脑插入U盘之后在shell里输入
fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00004a84
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1904324607 952161280 83 Linux
/dev/sda2 1904326654 1953523711 24598529 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 1904326656 1953523711 24598528 82 Linux swap / Solaris
Disk /dev/sdb: 16.6 GB, 16567500800 bytes
255 heads, 63 sectors/track, 2014 cylinders, total 32358400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xcad4ebea
Device Boot Start End Blocks Id System
/dev/sdb4 * 63 32358399 16179168+ c W95 FAT32 (LBA)
mount 挂载
mount -t [vfat (fat32 U盘)nfts(nftsU盘)] /dev/sdb4 /media/usb
umount 删除挂载
umount /media/usb