koverstreet / bcachefs

Other
643 stars 71 forks source link

Mounting a bcachefs subvolume #612

Closed shmerl closed 8 months ago

shmerl commented 8 months ago

Not sure if this is the right place to open a feature request, but it would be nice for bcachefs to support subvolume mounting, similar to how btrfs supports it.

I.e. doing something like:

mount -o subvol=foo <device> <path>

This would allow a neat way to mount them without the need to mount the main filesystem somewhere first.

Madouura commented 8 months ago

This might be better suited in https://github.com/koverstreet/bcachefs-tools. AFAIK there isn't anything kernel-wise preventing you from mounting a subvolume? Btrfs subvolumes (To the user) are just folders on root too.

shmerl commented 8 months ago

Thanks, for the pointer, opened: https://github.com/koverstreet/bcachefs-tools/issues/181

I'll close it here then.