linux下挂载U盘

用命令fdisk(一般在/sbin下)确定U盘对应于哪个文件(需root权限)

root@ubuntu:/# fdisk -l /dev/sdb

Disk /dev/sdb: 4005 MB, 4005527552 bytes
124 heads, 62 sectors/track, 1017 cylinders, total 7823296 sectors
Units = 扇区 of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6f20736b

This doesn't look like a partition table
Probably you selected the wrong device.

   设备 启动      起点          终点     块数   Id  系统
/dev/sdb1   ?   778135908  1919645538   570754815+  72  未知
/dev/sdb2   ?   168689522  2104717761   968014120   65  Novell Netware 386
/dev/sdb3   ?  1869881465  3805909656   968014096   79  未知
/dev/sdb4   ?  2885681152  2885736650       27749+   d  未知

Partition table entries are not in disk order



 mount U盘(需root权限)

mount /dev/sdb /mnt/usb



你可能感兴趣的:(linux下挂载U盘)