From c2669e3d2b0c2a95e294d8f3ee880d1c2c810899 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Wed, 4 Mar 2026 19:46:57 +0100 Subject: [PATCH] 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. --- pclsync/pfs.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pclsync/pfs.c b/pclsync/pfs.c index 3c967a5..1204314 100644 --- a/pclsync/pfs.c +++ b/pclsync/pfs.c @@ -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");