Re: [RFC][PATCH 2/14] Add a new mount flag (MNT_UNION) for union mount

2007-05-15 Thread Jan Blunck
On 5/15/07, Eric Van Hensbergen <[EMAIL PROTECTED]> wrote: On 5/15/07, Bharata B Rao <[EMAIL PROTECTED]> wrote: > > So there can be two cases in union mounts: > 1. A file exists in topmost layer and also in one or more lower layers. Deleting > the file would result in the top layer file being de

Re: [RFC][PATCH 2/14] Add a new mount flag (MNT_UNION) for union mount

2007-05-15 Thread Eric Van Hensbergen
On 5/15/07, Bharata B Rao <[EMAIL PROTECTED]> wrote: So there can be two cases in union mounts: 1. A file exists in topmost layer and also in one or more lower layers. Deleting the file would result in the top layer file being deleted and a whiteout being created in the top layer. 2. A file exi

Re: [RFC][PATCH 2/14] Add a new mount flag (MNT_UNION) for union mount

2007-05-15 Thread Bharata B Rao
On Mon, May 14, 2007 at 10:38:46PM +0200, Jan Engelhardt wrote: > > On May 14 2007 15:09, Bharata B Rao wrote: > > > >Introduce MNT_UNION, MS_UNION and FS_WHT flags. There are the necessary flags > >for doing > > > >mount /dev/hda3 /mnt -o union > > > >You need additional patches for util-linu

Re: [RFC][PATCH 2/14] Add a new mount flag (MNT_UNION) for union mount

2007-05-14 Thread Jan Engelhardt
On May 14 2007 15:09, Bharata B Rao wrote: > >Introduce MNT_UNION, MS_UNION and FS_WHT flags. There are the necessary flags >for doing > >mount /dev/hda3 /mnt -o union > >You need additional patches for util-linux for that to work. > >Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> >Signed-off-b

[RFC][PATCH 2/14] Add a new mount flag (MNT_UNION) for union mount

2007-05-14 Thread Bharata B Rao
From: Jan Blunck <[EMAIL PROTECTED]> Subject: Add a new mount flag (MNT_UNION) for union mount. Introduce MNT_UNION, MS_UNION and FS_WHT flags. There are the necessary flags for doing mount /dev/hda3 /mnt -o union You need additional patches for util-linux for that to work. Signed-off-by: J