其实Linux环境下挂载USB设备并不算复杂。
首先通过fdisk –l检查USB设备是否已经被系统识别:
[root@bjtest ~]# fdisk -l
Disk /dev/sda: 1197.7 GB, 1197759004672 bytes
255 heads, 63 sectors/track, 145619 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 5235 41945715 83 Linux
/dev/sda3 5236 10457 41945715 83 Linux
/dev/sda4 10458 145619 1085688765 5 Extended
/dev/sda5 10458 13068 20972826 83 Linux
/dev/sda6 13069 14112 8385898+ 82 Linux swap / Solaris
/dev/sda7 14113 145619 1056329946 83 Linux
Disk /dev/sdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 729