You are not logged in.

#1 2026-09-08 07:10:17

sh6heer
Member
Registered: 2026-09-08
Posts: 1

Mount BTRFS subvolumes in external device automatically with udisks?

Hi, I am using BTRFS on LUKS on an external storage device. I would like to have multiple subvolumes within the BTRFS filesystem and have them automatically mounted by udisks in the right locations when I enter the LUKS password from the KDE prompt (which is provided by `solid`, from what I understand).

Example layout:

subvol=@ -> /run/media/xxx/deviceid/
subvol=@/foo -> /run/media/xxx/deviceid/foo

Is there any way to pass this information to udisks? If not, what other options are there?

Last edited by sh6heer (2026-09-08 07:12:20)

Offline

#2 2026-10-10 10:01:01

ua4000
Member
Registered: 2015-10-14
Posts: 566

Re: Mount BTRFS subvolumes in external device automatically with udisks?

Hello,
if you mount the root subvol, then all BTRFS children are available, you don't need to mount every subvol extra.

If this is not ok for you, please explain more, what you want to have.

Offline

Board footer

Powered by FluxBB