lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 12 Jan 2015 14:00:58 +0100
From:	Karel Zak <kzak@...hat.com>
To:	Lukáš Czerner <lczerner@...hat.com>
Cc:	Stefan Hajnoczi <stefanha@...hat.com>,
	Al Viro <viro@...IV.linux.org.uk>,
	Dexuan Cui <decui@...rosoft.com>,
	"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
	"'linux-ext4'" <linux-ext4@...r.kernel.org>
Subject: Re: Can one file system be R/W mounted multiple times in Linux?

On Fri, Jan 09, 2015 at 04:52:11PM +0100, Lukáš Czerner wrote:
> Now the question is, whether 'mount' can be a bit smarter than that
> and just mount the already existing block device instead of creating
> new one ? Karel ?

Well, the question is how smart is too smart :-) And Al is right, problem
is in races.

Anyway, I'd like to avoid complex FS specific code in mount(8). IMHO
it's FS driver responsibility to avoid (or support) FS sharing between
more block devices.

BTW, for ext4 you can enable ETX4_FEATURE_INCOMPAT_MMP to protect
against multi-mount.

    Karel

-- 
 Karel Zak  <kzak@...hat.com>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ