關於symbolic link/Hard link差異 - Linux

By Charlotte
at 2015-08-03T08:45
at 2015-08-03T08:45
Table of Contents
目前在K Linux的書。看到filesystem這邊產生了疑問:
Symbolic Link書上的解釋:是一個指向檔案的pointer, Linux會查那個pointer並找到該
檔案資料
(Symbolic link is a pointer to another filename. When Linux opens a
symbolic link, it reads the pointer and then finds the intended file that
contains the actual data.
Hard Link: It is another directory entry for an existing file
所以Hard Link是有在檔案系統中存在的,某個檔案的值 一定代表某個檔案
而Symbolic Link只是一個pointer 指向某個檔案 所以會出現pointer找不到檔案變破損
連結
用Windows來理解就是 Hard Link是檔案系統的進入點, 而Symbolic Link有點像桌面上的
超連結 這樣理解正確嗎?
另, Linux的inode到底是什麼?和Hard Link有什麼不一樣?
煩請各位回答 謝謝
--
Symbolic Link書上的解釋:是一個指向檔案的pointer, Linux會查那個pointer並找到該
檔案資料
(Symbolic link is a pointer to another filename. When Linux opens a
symbolic link, it reads the pointer and then finds the intended file that
contains the actual data.
Hard Link: It is another directory entry for an existing file
所以Hard Link是有在檔案系統中存在的,某個檔案的值 一定代表某個檔案
而Symbolic Link只是一個pointer 指向某個檔案 所以會出現pointer找不到檔案變破損
連結
用Windows來理解就是 Hard Link是檔案系統的進入點, 而Symbolic Link有點像桌面上的
超連結 這樣理解正確嗎?
另, Linux的inode到底是什麼?和Hard Link有什麼不一樣?
煩請各位回答 謝謝
--
Tags:
Linux
All Comments

By Sierra Rose
at 2015-08-07T13:53
at 2015-08-07T13:53

By Connor
at 2015-08-11T06:24
at 2015-08-11T06:24

By Bethany
at 2015-08-15T23:15
at 2015-08-15T23:15

By Edith
at 2015-08-17T02:49
at 2015-08-17T02:49

By Sarah
at 2015-08-20T00:35
at 2015-08-20T00:35

By Xanthe
at 2015-08-24T23:33
at 2015-08-24T23:33

By Wallis
at 2015-08-25T17:50
at 2015-08-25T17:50

By Sandy
at 2015-08-25T22:32
at 2015-08-25T22:32

By Aaliyah
at 2015-08-26T14:28
at 2015-08-26T14:28
Related Posts
Dell Inspiron 15 5000

By Rosalind
at 2015-08-02T23:12
at 2015-08-02T23:12
MOD 錄影用的硬碟備份

By Quintina
at 2015-08-02T17:44
at 2015-08-02T17:44
如何讓script一直loop到執行成功?

By Jacob
at 2015-08-02T09:19
at 2015-08-02T09:19
關於 live USB 一問

By Rae
at 2015-08-02T01:27
at 2015-08-02T01:27
新手用usb安裝ubuntu

By Damian
at 2015-08-01T01:43
at 2015-08-01T01:43