[lkml]   [2014]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 00/13] cross rename v4
On Thu, Feb 13, 2014 at 9:28 AM, Miklos Szeredi <> wrote:
>> I would suggest that whiteouts appear as otherwise negative dentries and that
>> they don't appear in getdents().
> I'd argue that this is an administration nightmare. E.g. what if the
> a backup needs to be made of the rw layer?

The major issue is user space support.

So what do others that support this do? Looking at the gitweb for
ls.c in coreutils, we find:;a=blob;f=src/ls.c

# ifdef DT_WHT
case DT_WHT: type = whiteout; break;
# endif

so that's presumably what we should use.


 \ /
  Last update: 2014-02-13 20:01    [W:0.072 / U:1.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site