|
掛上檔案系統(tǒng)
mount -t 檔案型態(tài) 設(shè)備 欲掛入的目錄
掛光碟機(jī)的範(fàn)例如下:
mount -t iso9660 /dev/hdc /mnt/cdrom (IDE)
mount -t iso9660 /dev/cdrom /mnt/cdrom (SCSI, 但不一定用 /dev/cdrom)
hdc 代表光碟機(jī)設(shè)備檔代號, 可用 dmesg | more 的顯示畫面中查出.
mount /mnt/cdrom
如果您使用簡化的指令, 系統(tǒng)會(huì)由 /etc/fstab 中將不足的參數(shù)自動(dòng)幫您補(bǔ)上.
掛磁片的範(fàn)例如下:
mount -t ext2 /dev/fd0 /mnt/floppy
上面這個(gè)指令可以簡化為: mount /mnt/floppy
mount -t msdos /dev/fd0 /mnt/floppy
mount -t vfat /dev/fd0 /mnt/floppy
將 Win95/98 掛入的範(fàn)例如下:
mount -t vfat /dev/hda1 /win95
注意, 您必須先在根目錄下開一個(gè)空目錄名稱為 win95 才行喔!
|