日期:2014-05-16  浏览次数:20539 次

linux下挂载

对于光盘,
mount -t iso9660 /dev/cdrom /mnt/cdrom
然后就可以ls /mnt/cdrom了
umount
对于软盘,当然,现在用软盘的机会少了很多了,可是掌握下还是好的。
mount /dev/fd0 /mnt/floopy
umount /mnt/floopy
用的最多的就是u盘了,u盘挂载稍微麻烦了些...
1.fdisk -l查看外挂设备号,一般是/dev/sda
2.mkdir/mnt/usb 创建一个挂u盘的目录
对于fat格式的u盘 #mount -t msdos /dev/sda1 /mnt/usb
对于fat32格式的u盘 #mount -t vfat /dev/sda1 /mnt/vfat