On 02/17/2012 02:23 PM, Jim Meyering wrote: >> Do you think it's worth to distinguish between ENOTSUP and EOPNOTSUPP? > No, since AFAIK, they can be used interchangeably in this particular context. > i.e., getfilecon can fail with either, and in each case the result > is the same for us: we know that all further getfilecon calls > on the same device will fail with that same result. > >> > I.e. on system returning EOPNOTSUPP, when the files reside on N different >> > filesystems (or when processed in an unlucky order), then ls would still > Perhaps I have not understood your example? > If the files are on different file systems, then we cannot and do not > use cached failure/errno-values.
Hmm, I was mislead that EOPNOTSUPP would mean "this system does not support the operation" - at all. I think I was wrong. Scratch it. Have a nice day, Berny
