Re: [PATCH 00/32] VFS based Union Mount (V3)

From: Jan Rekorajski
Date: Thu May 21 2009 - 09:04:18 EST


On Mon, 18 May 2009, Jan Blunck wrote:

> Here is another post of the VFS based union mount implementation.

Is there any chance this will support NFS? I can union-mount tmpfs over
nfs mounted fs, but if I try to mount --union two NFS filesystems I
always get -EBUSY on second mount on the same mountpoint.

Something along these lines:

doesn't matter if I use --union on first mount, the result is always the
same.

mount <--union> -t nfs server:/export/system /mnt
OK
mount --union -t nfs server:/export/profile /mnt
mount.nfs: /mnt is busy or already mounted

I patched mount.nfs so it knows about MS_UNION, and strace shows me that
it passes that flag to kernel.

Jan
--
Jan Rekorajski | ALL SUSPECTS ARE GUILTY. PERIOD!
baggins<at>mimuw.edu.pl | OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY?
BOFH, MANIAC | -- TROOPS by Kevin Rubio
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/