From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Rekorajski Subject: Re: [PATCH 00/32] VFS based Union Mount (V3) Date: Thu, 21 May 2009 14:54:19 +0200 Message-ID: <20090521125419.GM30663@sith.mimuw.edu.pl> References: <1242662968-11684-1-git-send-email-jblunck@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, bharata@in.ibm.com, dwmw2@infradead.org, mszeredi@suse.cz, vaurora@redhat.com To: Jan Blunck Return-path: Received: from sith.mimuw.edu.pl ([193.0.96.4]:57972 "EHLO sith.mimuw.edu.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750705AbZEUNEA (ORCPT ); Thu, 21 May 2009 09:04:00 -0400 Content-Disposition: inline In-Reply-To: <1242662968-11684-1-git-send-email-jblunck@suse.de> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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! bagginsmimuw.edu.pl | OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY? BOFH, MANIAC | -- TROOPS by Kevin Rubio