lkml.org 
[lkml]   [2007]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 2/14] Add a new mount flag (MNT_UNION) for union mount

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 <j.blunck@tu-harburg.de>
>Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
>---
>
>+ /* Unions couldn't be writable if the filesystem
>+ * doesn't know about whiteouts */
>+ err = -ENOTSUPP;
>+ if ((mnt_flags & MNT_UNION) &&
>+ !(newmnt->mnt_sb->s_flags & MS_RDONLY) &&
>+ !(newmnt->mnt_sb->s_type->fs_flags & FS_WHT))
>+ goto unlock;
>+

Maybe I am too biased towards unionfs/aufs, but if I have an {rw,rw} union
with whiteouts disabled (delete=all in unionfs speak), then FS_WHT
does not need to be supported. Your patches do not seem to do
delete=all semantics, do they?

Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-14 22:49    [W:0.330 / U:3.488 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site