-
-
Notifications
You must be signed in to change notification settings - Fork 808
Open
Labels
Milestone
Description
Hi,
I'm using Borg 1.1.9 on a up-to-date Debian 10 (borgbackup package from the OS).
I want borgfs being available with autofs, which works fine:
DIR -fstype=fuse.borgfs,ro :/PATH/TO/REPO
Then (in my case) using 'ls /misc/DIR' will show the Borg backup content.
But I want to use 'strip-components' option (to remove useless initial path) on this mount, but I can't set this option here. Trying:
DIR -fstype=fuse.borgfs,ro,strip-components=4 :/PATH/TO/REPO
just makes the mount fail, whereas using this same option directly works fine, i.e.:
borg mount --strip-components 4 /PATH/TO/REPO /root/mnt/
I also tried to replace the "-" with a "_" without success.
So my question/suggestion:
- is there any way to perform this
- and if not it seems it would be a good feature to add
Regards,
-- Y.