LPI
117-303 · Question #3
Which of the following statements is true when querying the extended attributes of a file that has no extended attributes set?
The correct answer is C. No output will be produced and getfattr will exit with a value of 0. See the full explanation below for the reasoning.
Question
Which of the following statements is true when querying the extended attributes of a file that has no extended attributes set?
Options
- Agetfattr will print a warning and exit with a value of 0.
- Bgetfattr will print a warning and exit with a value of 1.
- CNo output will be produced and getfattr will exit with a value of 0.
- DNo output will be produced and getfattr will exit with a value of 1.
How the community answered
(43 responses)- A5% (2)
- B16% (7)
- C72% (31)
- D7% (3)
Community Discussion
No community discussion yet for this question.