Linux下挂载移动硬盘和USB的方法
来源:互联网 发布:origin提速软件 编辑:程序博客网 时间:2024/05/21 12:49
USB和IDE接口 原文引用地址:http://cache.baidu.com/c?m=9d78d513d98316f902bed2690c66d6711925971236c0a71068a4e05fe2134c40377193b030541013a5c36b110bb8482cadb1666670437eb8c18ece08cabae13532cd6271671cf1114c8e4cb8cb31729767875a9efe45fafdb165d3afcf8a940a08961b583d9da3cb0b5a4f8e38b10931e1a49d55165914b8ee3667e8590068c5651fe8&p=8b2a910581934ea401add06d4a&user=baidu 由于网速很慢,没有打开原始页面,以上贴的是是百度缓存的页面地址
[USB接口]
(1)lsusb看usb设备状态或者system tools->hardware browser
[root@DBRAC root]# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 004 Device 002: ID 0402:5621 ALi Corp.
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0ed1:6685
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
(2)fdisk -l 将所有物理接口列出来
注意:如果不出来USB,进入hardware browser,将激活USB的扫描!
[root@DBRAC root]# fdisk -l
Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 4092 32764567+ 83 Linux
/dev/sda3 4093 4353 2096482+ 82 Linux swap
/dev/sda4 4354 19929 125114220 f Win95 Ext'd (LBA)
/dev/sda5 4354 19929 125114188+ 83 Linux
Disk /dev/sdb: 129 MB, 129895424 bytes
4 heads, 62 sectors/track, 1022 cylinders
Units = cylinders of 248 * 512 = 126976 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 ? 15727761 13193526 1833238533 86 NTFS volume set
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(774, 46, 63) logical=(15727760, 1, 1)
Partition 1 has different physical/logical endings:
phys=(951, 124, 34) logical=(13193525, 1, 50)
Partition 1 does not end on cylinder boundary.
/dev/sdb2 ? 4104472 655495 1719810560 33 Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(80, 96, 0) logical=(4104471, 1, 47)
Partition 2 has different physical/logical endings:
phys=(459, 192, 16) logical=(655494, 3, 42)
Partition 2 does not end on cylinder boundary.
/dev/sdb3 ? 1 1 0 0 Empty
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(963, 235, 55) logical=(0, 0, 1)
Partition 3 has different physical/logical endings:
phys=(0, 0, 0) logical=(17318416, 2, 4)
Partition 3 does not end on cylinder boundary.
Partition table entries are not in disk order
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 2550 20482843+ 7 HPFS/NTFS
/dev/hda2 * 2551 5161 20972857+ 83 Linux
/dev/hda3 5162 5292 1052257+ 82 Linux swap
Disk /dev/hdb: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 5222 41945683+ 7 HPFS/NTFS
/dev/hdb2 5223 19929 118133977+ f Win95 Ext'd (LBA)
/dev/hdb5 5223 9139 31463271 7 HPFS/NTFS
/dev/hdb6 9140 16972 62918541 7 HPFS/NTFS
/dev/hdb7 16973 19929 23752071 7 HPFS/NTFS
说明:2 个IDE接口的硬盘,1个USB接口的硬盘,1 个USB接口的U盘。
可以加载U盘:mount -t msdoc /dev/sdb /mnt
A、在/mnt目录下建立一个挂装USB存储器的目录:
mkdir /mnt/usb
B、然后再运行装载设备命令,将USB设备挂装到/mnt/usb目录下:
mount -t msdos /dev/sdb /mnt/usb
加载硬盘,指定特定分区:
[root@DBRAC /]# mount -t ext3 /dev/sda5 /mnt
[root@DBRAC /]# cd /mnt
[root@DBRAC mnt]# ls
home lost+found
为了方便浏览:
(1)采用KDE方式,支持中文(logout后选择设定即可)
(2)KDE下在桌面空白处mouse右键,Create New->Hard Disk,输入设备名,若还没有mount,则输入
mount point。
(3)点开硬盘图标,就可方便浏览文件,支持中文。
- Linux下挂载移动硬盘和USB的方法
- Linux下挂载移动硬盘和USB的方法
- linux下挂载移动硬盘和U盘的方法
- Linux下磁盘分区和移动硬盘的挂载方法
- 在linux获取并打印usb移动硬盘vid和pid
- linux下挂载USB光驱和硬盘的方法
- linux下加载usb或移动硬盘
- linux下自动挂载USB移动硬盘
- vbs 获取移动硬盘和usb 然后打开
- 移动硬盘的linux
- Windows 2003 给USB移动硬盘自动分配盘符的2个方法
- 读取usb接口的移动硬盘信息
- USB移动硬盘WinPE启动盘的制作方法
- 从发行版定制可以从USB移动硬盘上引导的Portable Linux (再次修正版)
- linux下优盘或者移动硬盘的挂载方法
- linux下挂载ntfs移动硬盘
- 读取USB HDD(USB移动硬盘信息)序列号的代码
- USB接口带不动USB移动硬盘的解决方法
- BSEG与BSIS、BSAS、BSID、BSAD、BSIK、BSAK之间的关系
- 复杂文件到别一个文件夹中
- Lou's Pseudo 3d Page v0.91
- 分享给想学python的朋友
- oracle集中备份
- Linux下挂载移动硬盘和USB的方法
- 谷歌Android开发常见错误及技巧
- 1 Java EE 基础介绍
- sql函数总结
- 将程序集安装到全局程序集缓存中
- Eclipse快捷键大全(转载)
- c# Page.ID属性
- 公积金、养老保险、医疗保险、工伤保险、失业保险、生育保险等;
- 添加相机的外部启用MediaStore.ACTION_IMAGE_CAPTURE