On Wed, Jan 17, 2007 at 02:29:14PM -0500, Shaya Potter wrote:
> Shaya Potter wrote:
> >Josef Sipek wrote:
> >>On Wed, Jan 17, 2007 at 01:04:22PM -0500, Shaya Potter wrote:
> >>>Josef Sipek wrote:
> >>>>On a more general level, what has higher priority a whiteout or a file?
> >>>whiteout, if it's 'valid' (i.e. serves a purpose) to exist, as all my 
> >>>code does is skip whiteout searching if it doesn't matter if it exists.
> >> 
> >>If whiteout is the higher priority object, then readdir should not 
> >>display
> >>the file created under these circumstances. => pushing the "problem" to
> >>readdir :)
> >
> >true, though readdir could ignore it in the right situations as well :)
> 
> I looked at unionfs_readdir() and am unsure how to get it to ignore 
> whiteouts that can be ignored, it should be in unionfs_filldir(),

Right. My readdir comment was more of a readdir(2) comment, rather then
unionfs_readdir.

> unsure how to do it (never really bothered much w/ the readdir code 
> before as it mostly worked just fine).

It looks like it would require somewhat complex matching. :-/

Jeff.

-- 
Note 96.3% of all statistics are fiction.
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to