Chinaunix首页 | 论坛 | 博客
  • 博客访问: 71475
  • 博文数量: 47
  • 博客积分: 1230
  • 博客等级: 中尉
  • 技术积分: 525
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-22 13:59
文章分类

全部博文(47)

文章存档

2012年(9)

2011年(38)

分类: LINUX

2012-03-14 18:40:45


挂载U盘的步骤:
 
首先是运行
1)查看一下是否有这个模块
[root@localhost ~]# lsmod | grep "usb"
usb_storage            39114  0
后面的数字为usb的设备数
modprobe usb-ohci
2)使用fdisk -l查看一下U盘的文件系统
[root@localhost ~]# fdisk -l
Disk /dev/sdb: 4041 MB, 4041211904 bytes
128 heads, 63 sectors/track, 978 cylinders
Units = cylinders of 8064 * 512 = 4128768 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x04dd5721
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         979     3946464+   c  W95 FAT32 (LBA)
Partition 1 has different physical/logical endings:
     phys=(977, 127, 63) logical=(978, 101, 37)
3)使用mount命令进行挂载
mount -t vfat /dev/sdb1 fat32
4)U盘里的东西就在fat32这个文件夹下;
5)使用完毕,卸载U盘。
umount /root/fat32
 
其他的有ntfs和windows硬盘分区。
 
 
 
阅读(944) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~