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



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值