Any Arguments for/against --bind mounts?
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?
Quoted 10 lines · Robert White
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
Quoted 6 lines
vs.
mount -t btrfs -o subvolume=/thing
/dev/sdN1/locationA mount -t btrfs -o subvolume=/thing/dev/sdN1/locationBAre both equally efficient and whatnot?
Internally, they're actually identical.