#Hard link doubt

3 messages · Page 1 of 1 (latest)

wet breach
#

In hard links, the system assigns a chain of disk blocks to what is called an inode, which is then associated with the name part. Each hard link therefore refers to a specific inode containing the file’s contents.
Symbolic links are a special type of file that contains a text pointer to the target file or directory.

How are hard links and soft/symlinks different then when they both basically point to a chunk of data?

storm granite
#

They change the mean of getting to the data

#

Hard links are useful for Timeshift for example, they can save space by avoiding copying the same source file if it has not changed