10 mount掛載設備, umount 要移除設備

    Linux 中常用的掛載方式,也就是 mount與 umount 兩個指令的使用方式,一般若要使用 mount 指令掛載 device,最常見的方式就是像這樣:

    mount -t type device dir
    

    其中 device 是就是要掛載的設備,而 -t type 參數是指定 device 的檔案系統格式(如ext4、vfat 或 ntfs 等),最後的 dir 則是指定掛載的路徑

    要移除設備

    umount dir