Multiple choice technology operating systems

What is the difference between Hard Link and Soft Link?

  1. Hard links share the same data blocks on the hard disk.Where as for soft link seperate file is created.

  2. Hard link: Associate two or more file names with the same inode.Where as soft Link is a small file pointing to another file.

  3. Both as same in case of implementation, only difference is in the size of new file created.

  4. Hard Link create a new seperate file and that is not related with old file.A soft link contains the path to the target file instead of a physical location on the hard disk.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Hard links associate multiple filenames with the same inode (and thus same data blocks), so they share the actual disk data. Soft links (symbolic links) are separate files that contain a path pointing to the target file rather than sharing data blocks. Option A is close but incomplete; option D incorrectly states hard links create separate files; option C is wrong about implementation differences.