[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120910131802.157d6a35@notabene.brown>
Date: Mon, 10 Sep 2012 13:18:02 +1000
From: NeilBrown <neilb@...e.de>
To: Jan Engelhardt <jengelh@...i.de>
Cc: Miklos Szeredi <miklos@...redi.hu>, viro@...IV.linux.org.uk,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
hch@...radead.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, apw@...onical.com, nbd@...nwrt.org,
hramrach@...trum.cz, jordipujolp@...il.com, ezk@....cs.sunysb.edu,
ricwheeler@...il.com, dhowells@...hat.com, hpj@...la.net,
sedat.dilek@...glemail.com, penberg@...nel.org,
goran.cetusic@...il.com, romain@...bokech.com, mszeredi@...e.cz
Subject: Re: [PATCH 07/13] overlay: overlay filesystem documentation
On Mon, 10 Sep 2012 03:47:04 +0200 (CEST) Jan Engelhardt <jengelh@...i.de>
wrote:
>
> On Wednesday 2012-08-15 17:48, Miklos Szeredi wrote:
> >[...]
> >+This is most obvious from the 'st_dev' field returned by stat(2).
> >+
> >+While directories will report an st_dev from the overlay-filesystem,
> >+all non-directory objects will report an st_dev from the lower or
> >+upper filesystem that is providing the object.
>
> That would seem to render `rsync --one-filesystem` unusable?
> (or similar options in other tools)
>
Would it? Have you tested? or examine source code? or just guessed?
I quick look at rsync and du suggest that you only consider --one-file-system
when looking at a directory - they assume files are in the same filesystem as
their parent.
I cannot promise that everything would work exactly as expected, but I
suspect most things will..... though that might depend on your expectations.
NeilBrown
Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)
Powered by blists - more mailing lists