2017-09-15 12:01 GMT+02:00 Ulli Horlacher <frams...@rus.uni-stuttgart.de>: > On Fri 2017-09-15 (06:45), Andrei Borzenkov wrote: > >> The actual question is - do you need to mount each individual btrfs >> subvolume when using encfs? > > And even worse it goes with ecryptfs: I do not know at all how to mount a > snapshot, so that the user has access to it.
A snapshot is simply a subvolume. Get the ID of the snapshot and mount it: btrfs subvolume list /btrfs mount -o subvolid=<ID> /dev/<DISK> /<MOUNTPOINT_ENCRYPTED> Or mount the snapshot directly by path: mount -o subvol=/snapshots/home/2015-12-01 /<MOUNTPOINT_ENCRYPTED> And then mount enryptfs: mount.ecryptfs /<MOUNTPOINT_ENCRYPTED> /<MOUNTPOINT_DECRYPTED> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html