fix: hard links share the same inode number. (#7093)

Co-authored-by: abdulrhman.ali@bld.ai <abdulrhman.ali@bld.ai>
pull/7106/head
Abdulrhman SayedAli 2 months ago committed by GitHub
parent 36a66fa901
commit e58c30f74f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/data/roadmaps/linux/content/103-working-with-files/103-soft-hard-links.md

@ -2,7 +2,7 @@
In Unix-like operating systems like Linux, soft (symbolic) and hard links are simply references to existing files that allow users to create shortcuts and duplication effects within their file system.
A hard link is a mirror reflection of the original file, sharing the same file data but displaying a different name and inode number. It's vital to note that if the original file is deleted, the hard link still retains the file data.
A hard link is a mirror reflection of the original file, sharing the same file data and inode number, but displaying a different name. It's vital to note that if the original file is deleted, the hard link still retains the file data.
On the other hand, a soft link, also known as a symbolic link, is more like a shortcut to the original file. It has a different inode number and the file data resides only in the original file. If the original file is removed, the symbolic link breaks and will not work until the original file is restored.

Loading…
Cancel
Save