linux 挂载u盘的方法

1、 用鼠标点一下vmware里,把焦点转移到vmware 
2、插入u盘 系统会自动识别,然后点击右下角的状态栏或者vmware的虚拟机菜单 ,点击连接到虚拟机(与主机断开连接)---一些列自动设置
3、在超级用户下,用fdisk -l命令 查看U盘 一般为sda或者sdb

Disk /dev/sda: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1       574   4610623+  83  Linux
/dev/sda2           575       652    626535   82  Linux swap

Disk /dev/sdb: 130 MB, 130416640 bytes
8 heads, 32 sectors/track, 995 cylinders
Units = cylinders of 256 * 512 = 131072 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1   *         1       995    127344    b  Win95 FAT32
4、建立挂载目录,一般#mkdir /mnt/udisk
5、进行挂载  # mount /dev/sdb1 /mnt/udisk
  进入/mnt/udisk  ls命令即可查看U盘中的文件
6、卸载 umount  /mnt/udisk
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值