PrepAway - Latest Free Exam Questions & Answers

What could be the reason for this?

Creating a hard link to an ordinary file returns an error. What could be the reason for this?

PrepAway - Latest Free Exam Questions & Answers

A.
The source file is hidden.

B.
The source file is read-only.

C.
The source file is a shell script.

D.
The source file is already a hard link.

E.
The source and the target are on different filesystems.

One Comment on “What could be the reason for this?

  1. James Gastovski says:

    Hardlinks require source and destination to be on the same file system. Softlinks (or Symlinks or Symbolic Links) can jump over the filesystems.

    Hardlinks refers to INODES on disks, so deleting the source file doesnt delete the actual data on disk, the link created by the hardlink can still access the data even if its located on a different directory in the same file system.

    Softlinks refers to the actual file, deleting the source link will make the softlink also unusable.




    1



    0

Leave a Reply