Linux 教程
Linux mount命令是經(jīng)常會使用到的命令,它用于掛載Linux系統(tǒng)外的文件。
mount [-hV] mount -a [-fFnrsvw] [-t vfstype] mount [-fnrsvw] [-o options [,...]] device | dir mount [-fnrsvw] [-t vfstype] [-o options] device dir
參數(shù)說明:
將 /dev/hda1 掛在 /mnt 之下。
#mount /dev/hda1 /mnt
將 /dev/hda1 用唯讀模式掛在 /mnt 之下。
#mount -o ro /dev/hda1 /mnt
將 /tmp/image.iso 這個光碟的 image 檔使用 loop 模式掛在 /mnt/cdrom之下。用這種方法可以將一般網(wǎng)絡上可以找到的 Linux 光 碟 ISO 檔在不燒錄成光碟的情況下檢視其內(nèi)容。
#mount -o loop /tmp/image.iso /mnt/cdrom其他擴展