Remove deprecated FUSE options nonempty and hard_remove

- nonempty: Removed in FUSE 3.0, mounting on non-empty directories is now default behavior
- hard_remove: High-level API option not available in FUSE 3, immediate unlink is standard

These options are no longer recognized by FUSE 3 and cause mount errors.
This commit is contained in:
Levi Neely 2026-03-04 19:46:57 +01:00
parent 72d8102db1
commit c2669e3d2b
1 changed files with 0 additions and 4 deletions

View File

@ -3685,10 +3685,6 @@ static int pfs_do_start() {
fuse_opt_add_arg(&args, "argv");
fuse_opt_add_arg(&args, "-oauto_unmount");
fuse_opt_add_arg(&args, "-ofsname=" DEFAULT_FUSE_MOUNT_POINT ".fs");
if (!is_fuse3_installed_on_system()) {
fuse_opt_add_arg(&args, "-ononempty");
}
fuse_opt_add_arg(&args, "-ohard_remove");
// Add user-specified FUSE options from environment variable
const char *fuse_opts_env = getenv("PCLOUD_FUSE_OPTS");