inode,mounting掛載

什么是inode?與文件/文件夾的關(guān)系?

描述 文件/文件夾 的數(shù)據(jù)結(jié)構(gòu),index node,儲(chǔ)存了對(duì)象數(shù)據(jù)的屬性和磁盤分區(qū)位置等等...

文件系統(tǒng) 相較于 文件內(nèi)容,更依賴 該文件的數(shù)據(jù)結(jié)構(gòu)(metadata元數(shù)據(jù),包括最后一次修改時(shí)間,用戶名,rwx權(quán)限,文件類型等)。

/etc/passwd系統(tǒng)文件 會(huì)記錄一個(gè)用戶組內(nèi)每一條用戶的信息

每個(gè)文件都有一個(gè)inode,通常指的是 i-number 或者 inode number。


什么是掛載(mounting)?

Basically, what “mounting” a disk drive means is?to set up your local operating system so?that a disk resource (a local disk drive, USB external volume USB接口, partition 磁盤分區(qū), subdirectory tree 子文件夾, server volume 服務(wù)器本地存儲(chǔ)區(qū), etc etc) “l(fā)ooks like” a normal local disk, and occupies a “drive” on your computer's operating system.

*什么是volume?—— volume不同于磁盤分區(qū),它是一個(gè)單獨(dú)的存儲(chǔ)區(qū)域,有單獨(dú)的文件系統(tǒng)。? In?computer data storage, a?volume?or?logical drive?is a single accessible storage area with a single? file system , typically (though not necessarily) resident on a single?partition?of a?hard disk. Although a volume might be different from a physical disk drive, it can still be accessed with an operating system's logical interface. However, a volume differs from a?partition.

首先,數(shù)據(jù) 以一定的文件格式(format) 儲(chǔ)存媒介(media,storage device)上,比如硬盤hard drive、光盤CDROM、共享網(wǎng)絡(luò)network share。

電腦要獲取這些數(shù)據(jù),必須正確識(shí)別文件格式

mounting就是確保 電腦正確識(shí)別media’s format,以便識(shí)別這些數(shù)據(jù)信息:當(dāng)media成功掛載之后,電腦會(huì)將media的文件系統(tǒng)寫入你的本地文件系統(tǒng) 并產(chǎn)生一個(gè) 掛載點(diǎn)

Windows或Mac OS X的掛載點(diǎn) 是 一個(gè)磁盤(disk)或是其他;Linux或Unix的掛載點(diǎn) 就是一個(gè)目錄(directory)。大多數(shù)操作系統(tǒng)會(huì)幫你解決掛載和卸載(unmounting)的過(guò)程。

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容