[cs631apue] whiteout files
Jan Schaumann
jschauma at stevens.edu
Tue Oct 17 14:15:08 EDT 2023
Hey,
Since this came up last week, I've just uploaded a new
video explaining the UnionFS and whiteout files:
https://youtu.be/MkFExG9jhEE
In order to see whiteout files when using fts(3), you
need to pass FTS_WHITEOUT as a flag to fts_open(3).
You can then check the FTS_W flag in the fts_info
field to identify such files; alternatively, you can
use the S_ISWHT macro to test the st_mode.
-Jan
More information about the cs631apue
mailing list