當前位置:生活全書館 >

IT科技

> mount命令 linux

mount命令 linux

Linux系統下mount命令是經常會使用到的命令,用於掛載Linux系統外的檔案,下面是mount命令內容的主要介紹:

1、mount命令功能:

mount命令是在Linux系統經常會使用到的命令,用於掛載Linux系統外的檔案。

2、語法:

mount [-hV]

mount -a [-fFnrsvw] [-t vfstype]

mount [-fnrsvw] [-o options [,...]] device | dir

mount [-fnrsvw] [-t vfstype] [-o options] device dir

3、用法:

-t vfstype 指定檔案系統的型別,通常不必指定。mount 會自動選擇正確的型別。常用型別有:

光碟或光碟映象:iso9660

DOS fat16檔案系統:msdos

Windows 9x fat32檔案系統:vfat

Windows NT ntfs檔案系統:ntfs

Mount Windows檔案網路共享:smbfs

UNIX(LINUX) 檔案網路共享:nfs

-o options 主要用來描述裝置或檔案的掛接方式。常用的引數有:

loop:用來把一個檔案當成硬碟分割槽掛接上系統

ro:採用只讀方式掛接裝置

rw:採用讀寫方式掛接裝置

iocharset:指定訪問檔案系統所用字符集

device要掛接(mount)的裝置。

dir裝置在系統上的掛接點(mount point)。

linux mount命令

以上就是小編今天的分享了,希望可以幫助到大家。

標籤: mount 命令 linux
  • 文章版權屬於文章作者所有,轉載請註明 https://shqsg.com/dianzi/ey118o.html