linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Any Arguments for/against --bind mounts?
@ 2015-03-14  3:26 Robert White
  2015-03-14 17:34 ` Austin S Hemmelgarn
  0 siblings, 1 reply; 2+ messages in thread
From: Robert White @ 2015-03-14  3:26 UTC (permalink / raw)
  To: Btrfs BTRFS

Is there any practical reason to prefer bind mounts or separately 
mounting a subvolume?

e.g. assuming /locationA and /locationB are arbitrarily far apart in the 
file system tree, is there any reason to prefer one of the following 
over the other

mount -t btrfs -o subvolume=/thing /dev/sdN1 /locationA
mount --bind /locationA /locationB

vs.

mount -t btrfs -o subvolume=/thing /dev/sdN1 /locationA
mount -t btrfs -o subvolume=/thing /dev/sdN1 /locationB

Are both equally efficient and whatnot?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Any Arguments for/against --bind mounts?
  2015-03-14  3:26 Any Arguments for/against --bind mounts? Robert White
@ 2015-03-14 17:34 ` Austin S Hemmelgarn
  0 siblings, 0 replies; 2+ messages in thread
From: Austin S Hemmelgarn @ 2015-03-14 17:34 UTC (permalink / raw)
  To: Robert White, Btrfs BTRFS

On 2015-03-13 23:26, Robert White wrote:
> Is there any practical reason to prefer bind mounts or separately
> mounting a subvolume?
> 
> e.g. assuming /locationA and /locationB are arbitrarily far apart in the
> file system tree, is there any reason to prefer one of the following
> over the other
> 
> mount -t btrfs -o subvolume=/thing /dev/sdN1 /locationA
> mount --bind /locationA /locationB
> 
> vs.
> 
> mount -t btrfs -o subvolume=/thing /dev/sdN1 /locationA
> mount -t btrfs -o subvolume=/thing /dev/sdN1 /locationB
> 
> Are both equally efficient and whatnot?
Internally, they're actually identical.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-14 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-14  3:26 Any Arguments for/against --bind mounts? Robert White
2015-03-14 17:34 ` Austin S Hemmelgarn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).