1. 插上 U 盘。
============================================================
2. 列出磁盘:
[root@TFW-CENT6-LT ~]# fdisk -l
Disk /dev/sda: ...
...
Device Boot Start End Blocks Id System
/dev/sda1 * 9 264 2056320 6 FAT16
...
/dev/sda15 24809 30560 46202908 83 Linux
Disk /dev/sdb: 8015 MB, 8015282176 bytes <<< 这个就是 U 盘。
...
Disk identifier: 0xcad4ebea
Device Boot Start End Blocks Id System
/dev/sdb4 * 1 975 7827361 b W95 FAT32 <<< 这个是 U 盘上的分区。
Partition 4 has different physical/logical endings:
phys=(973, 254, 63) logical=(974, 118, 41)
[root@TFW-CENT6-LT ~]#
============================================================
3. 挂上 U 盘,访问:
[root@TFW-CENT6-LT ~]# mount /dev/sdb4 -o iocharset=utf8 /media/sdb4
[root@TFW-CENT6-LT ~]# ls -l /media/sdb4
总用量 20532
-rwxr-xr-x. 1 root root 14 7月 6 2012 CentOS_BuildTag
drwxr-xr-x. 3 root root 4096 7月 6 2012 EFI
...
-rwxr-xr-x. 1 root root 100883 8月 28 2012 ...劳动合同.pdf
-rwxr-xr-x. 1 root root 81408 9月 12 2012 员工离职交接表1.doc
[root@TFW-CENT6-LT ~]#
取消
评论