如何挂载USB CDROM?
thx cdrommount /dev/cdrom /mnt/cdrom
usb
1. mkdir /mnt/usb/
2. dmesg | more 查看一下你的usb对应是哪个驱动
3. 我的是/dev/sda5
mount/dev/sda5 /mnt/usb
如果想显示中文则
mount /dev/sda5 /mnt/usb -o codepage=936,iocharset=cp936 dmesg | more显示如下相关信息:
kjournald starting.Commit interval 5 seconds
Vendor: SONY Model: DVD-ROM DDU1622 Rev: AS72
Type: CD-ROM ANSI SCSI revision: 00
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,type 5
shell:
# mount /dev/sg0 /mnt/usb
mount: /dev/sg0 is not a block device Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,type 5
第一个scsi接口,试试sda和sda1 你可以用1.执行hwbrowser
2.查看"硬盘", 看你的USB移动硬盘的分区是什么情况
3.然后挂载相应的逻辑分区(记住不是扩展分区)
另外你可以用fdisk, 系统把usb硬盘当SCSI设备, 所以移动硬盘是sda
1./sbin/fdisk -l /dev/sda
2.查看分区信息,挂载相应的硬盘
例如:# /sbin/fdisk -l /dev/sda
Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks IdSystem
/dev/sda1 2 486439062047+ fWin95 Ext'd (LBA)
/dev/sda5 2 486439062016 bWin95 FAT32
sda1是扩展分区, 所以挂载sda5
3.mkdir /mnt/usb
4.mount -o codepage=936,iocharset=cp936 /dev/sda5 /mnt/usb
页:
[1]