home products tech support contact us

 Linux 技術支援    ⇒   基礎篇    進階篇    補腦篇    指令索引    中⇒ENG
版權所有, 引用請註明出處
 

mount 掛載 filesystem

Filesystem 要經 mount 掛載才可使用,最基本用法為 mount [filesystem] [mount_point]。而所謂的掛載點(mount point)就是要指定個目錄當檔案系統的進人點,習慣上掛載點的目錄為〝//media〞或〝/mnt〞。

例:
# mount /dev/sdc /mnt ←將〝/dev/sdc〞上的 filesystem 掛載在〝/mnt〞

filesystem 一經掛載或卸載都會同步更新在〝/etc/mtab〞檔案中,因 filesystem 要掛載的情況可能五花八門,例如不同的 filesystem (如 ext3 或 FAT)要掛載或要唯讀掛載等,故 mount 操作也可比較複雜,更多操作範例和說明和選項參考連結