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:	Fri, 9 Jan 2015 01:04:36 -0500 (EST)
From:	Eric Sandeen <esandeen@...hat.com>
To:	Dexuan Cui <decui@...rosoft.com>
Cc:	Al Viro <viro@...IV.linux.org.uk>,
	"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
	linux-ext4 <linux-ext4@...r.kernel.org>,
	"stefanha@...hat.com" <stefanha@...hat.com>
Subject: Re: Can one file system be R/W mounted multiple times in Linux?

On Jan 8, 2015, at 10:59 PM, Dexuan Cui <decui@...rosoft.com> wrote:

>> -----Original Message-----
>> From: Al Viro [mailto:viro@....linux.org.uk] On Behalf Of Al Viro
>> Sent: Friday, January 9, 2015 11:51 AM
>> To: Dexuan Cui
>> Cc: linux-fsdevel@...r.kernel.org; 'linux-ext4'; stefanha@...hat.com
>> Subject: Re: Can one file system be R/W mounted multiple times in Linux?
>> 
>>> On Fri, Jan 09, 2015 at 03:44:16AM +0000, Dexuan Cui wrote:
>>> The 'mount' utility allows me to mount 1 file systems multiple times at
>> different
>>> mount points, like "mount /dev/sdb1 /a; mount /dev/sdb1 /b".
>>> 
>>> I tried to write from /a and /b at the same time and it seems everything is OK
>>> and no data corruption happens.
>>> I tried only  ext4 only.
>>> 
>>> Can somebody please tell me if this usage is safe?
>> 
>> Yes.
> 
> Thanks for the confirmation!
> 
> -- Dexuan

But to be clear, just in case - this is completely different from, say, mounting the same ext4 fs on two different nodes on a SAN, which is quite certainly not safe...

-Eric--
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