img2.gif (9.42 KB, 下載次數(shù): 23)
ss
#ln urfile urln #ls -i urfile 47583791 urfile #ls -i urln 47583791 urln #uname -a Linux ubuntu 2.6.24-22-generic #1 SMP Mon Nov 24 19:35:06 UTC 2008 x86_64 GNU/Linux |
Some editors however break the hard link concept, e.g. emacs renames the file to be opened to a backup file name (LINK B.TXT~). Emacs itself works with a local copy of the file it has generated and given the original file name. So the backup file (LINK B.TXT~) and the other hard link (LINK A.TXT) still share the same inode, which is not altered by the editor. The changes made by emacs only affects the copy of the hard link (LINK B.TXT).
Screenshot.png (119.03 KB, 下載次數(shù): 31)
9、 下列關(guān)于鏈接描述,錯誤的是____ 。
A 硬鏈接就是讓鏈接文件的i節(jié)點(diǎn)號指向被鏈接文件的i節(jié)點(diǎn)
B 硬鏈接和符號連接都是產(chǎn)生一個新的i節(jié)點(diǎn) 出這道題的人是傻13,這題所有答案都是對的。soft link也是一個文件,也要占用一個inode。
C 鏈接分為硬鏈接和符號鏈接
D 硬連接不能鏈接目錄文件
...
方濱興 發(fā)表于 2011-06-03 12:27
歡迎光臨 Chinaunix (http://72891.cn/) | Powered by Discuz! X3.2 |