Zygo / bees

Best-Effort Extent-Same, a btrfs dedupe agent
GNU General Public License v3.0
630 stars 57 forks source link

Add MOUNT_OPTIONS to scripts/beesd.in and use PrivateMounts=true #188

Closed NobodyXu closed 2 years ago

NobodyXu commented 2 years ago

Add MOUNT_OPTIONS to scripts/beesd.in so that user can specify compression level and use PrivateMounts=true in systemd unit so that the btrfs mountpoint won't be available to other process and can be automatically umounted reliably, without having to keep the bash process around.

Signed-off-by: Jiahao XU Jiahao_XU@outlook.com

kakra commented 2 years ago

Oh wow, finally that nasty bash process can go away. +1 from me.

NobodyXu commented 2 years ago

Seems like @Zygo already manually merged this PR into master, I would close this PR.

Zygo commented 2 years ago

Thanks for the patch and the +1.

I had some kind of odd browser issue that prevented me from getting here first to close it. :-P

NobodyXu commented 2 years ago

@Zygo I just discovered that there's a typo (missing :) in my PR and submit another one #189 to fix it.