When using btrfs or data storage in general, you generally have an administrative source-of-truth mount like /mnt/storage/ that some admin user can access.
But then you want to be able to mount additional paths in the OS file system that provide views into the data.
For example, maybe you want ~/movies to view into /mtn/storage/movies, but only your jellyfin/plex user can access ~/movies (and not /mtn/storage/movies), nor can the jellyfin/plex user access anything else in the data pool. Additionally, you might want to mount ~/movies as read-only and with other options that limit the scope if access.
One idea is for braid to let you configure these mounts declaratively in its nix config.
When using btrfs or data storage in general, you generally have an administrative source-of-truth mount like
/mnt/storage/that some admin user can access.But then you want to be able to mount additional paths in the OS file system that provide views into the data.
For example, maybe you want
~/moviesto view into/mtn/storage/movies, but only your jellyfin/plex user can access~/movies(and not/mtn/storage/movies), nor can the jellyfin/plex user access anything else in the data pool. Additionally, you might want to mount~/moviesas read-only and with other options that limit the scope if access.One idea is for braid to let you configure these mounts declaratively in its nix config.