linux U盘挂载

1. 查看U盘在哪个分区

cheng@cheng-VirtualBox:~$ sudo fdisk -l

Disk /dev/sda: 40 GiB, 42949672960 bytes, 83886080 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
Disklabel type: dos
Disk identifier: 0xab0ad061


Device     Boot    Start      End  Sectors Size Id Type
/dev/sda1  *        2048 79691775 79689728  38G 83 Linux
/dev/sda2       79693822 83884031  4190210   2G  5 Extended
/dev/sda5       79693824 83884031  4190208   2G 82 Linux swap / Solaris




Disk /dev/sdb: 7.2 GiB, 7759462400 bytes, 15155200 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
Disklabel type: dos
Disk identifier: 0x0000209b


Device     Boot Start      End  Sectors  Size Id Type

/dev/sdb1  *       63 15149294 15149232  7.2G  c W95 FAT32 (LBA)       //我的U盘

发现我的U盘分区是 /dev/sdb1 fat32 格式

2.挂载

cheng@cheng-VirtualBox:~$ sudo mount -t vfat /dev/sdb1 /mnt

3. 查看 /mnt下内容


cheng@cheng-VirtualBox:/mnt$ ls
AccessPort133      LOST.DIR   scommv22.zip         System Volume Information
AccessPort133.zip  mypicture  Sparkpad_server.apk  vpn.txt
Browser.apk        release    sscom_串口调试       zkungfu.txt
ComPro.exe         scommv22   sscom_串口调试.rar   zkungfu VPN配置.pcf

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值