Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation Exam LFCS Topic 9 Question 77 Discussion

Actual exam question for Linux Foundation's LFCS exam
Question #: 77
Topic #: 9
[All LFCS Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Danica
16 days ago
Wait, is this a trick question? I feel like the real answer is 'none of the above' and the real reason is because my dog ate my homework.
upvoted 0 times
...
Janella
17 days ago
Ah, I see. The key here is that hard links can only be created for ordinary files, not directories or special files. So D must be the correct answer.
upvoted 0 times
...
Lindsey
20 days ago
Haha, I bet the guy who wrote this question was just trying to mess with us. Hard links to shell scripts? Really?
upvoted 0 times
...
Jennifer
1 months ago
Hmm, I was thinking it might be B. If the source file is read-only, that could prevent creating a hard link to it.
upvoted 0 times
...
Levi
2 months ago
I think the correct answer is E. Hard links can only be created within the same filesystem, so if the source and target are on different filesystems, it would return an error.
upvoted 0 times
Charlesetta
20 days ago
Yes, you are right. Hard links cannot be created across different filesystems.
upvoted 0 times
...
Charlesetta
1 months ago
I think the correct answer is E.
upvoted 0 times
...
...
Linwood
2 months ago
That's a good point, it could be the case. We should consider all possibilities.
upvoted 0 times
...
Juan
2 months ago
I disagree, I believe the source file being a shell script could be the reason.
upvoted 0 times
...
Linwood
2 months ago
I think the reason could be that the source file is read-only.
upvoted 0 times
...

Save Cancel
a