LPI
101-500 · Question #370
Which of the following is true when hard-linked files are present?
The correct answer is C. Both files will share the same inode. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Devices, Linux Filesystems, Filesystem Hierarchy Standard
Question
Which of the following is true when hard-linked files are present?
Options
- AThe output of stat will report "hard" instead of "regular file"
- BThe hard-linked files may not be empty
- CBoth files will share the same inode
- DIssuing a longdirectory listing with ls -1 will indicate the link with "->"
- EThe file permissions will be prefixed by an "h", eg. hrwxr-x-r-x
How the community answered
(52 responses)- A2% (1)
- C94% (49)
- E4% (2)
Explanation
You've hit your Sonnet limit · resets Jun 8, 9am (UTC)
Topics
#hard links#inode#filesystem internals#file references
Community Discussion
No community discussion yet for this question.