Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spurious warning 'unknown argument ignored: lazytime' #429

Closed
hholst80 opened this issue Aug 17, 2024 · 1 comment · Fixed by #430
Closed

Spurious warning 'unknown argument ignored: lazytime' #429

hholst80 opened this issue Aug 17, 2024 · 1 comment · Fixed by #430

Comments

@hholst80
Copy link
Contributor

hholst80 commented Aug 17, 2024

The latest release of fuse-overlayfs (1.13-dev) prints out an annoying warning:

# fuse-overlayfs --version
unknown argument ignored: lazytime
fuse-overlayfs: version 1.13-dev
FUSE library version 3.10.5
using FUSE kernel interface version 7.31
fusermount3 version: 3.16.2

It seems hard coded somewhere, and should probably be removed, or at least be provisioned only after it has been validated to be compatible with the library/other APIs.

newargv[1] = "-odefault_permissions,allow_other,suid,noatime,lazytime";

# fuse-overlayfs -h
unknown argument ignored: lazytime
usage: fuse-overlayfs [options] <mountpoint>

    -h   --help            print help
    -V   --version         print version
    -d   -o debug          enable debug output (implies -f)
    -f                     foreground operation
    -s                     disable multi-threaded operation
    -o clone_fd            use separate fuse device fd for each thread
                           (may improve performance)
    -o max_idle_threads    the maximum number of idle worker threads
                           allowed (default: 10)
    -o allow_other         allow access by all users
    -o allow_root          allow access by root
    -o auto_unmount        auto unmount on process termination
@hholst80 hholst80 changed the title Spurios warning 'unknown argument ignored: lazytime' Spurious warning 'unknown argument ignored: lazytime' Aug 17, 2024
@hholst80
Copy link
Contributor Author

This flag is likely not supported by the FUSE mount frontend itself but supported by mount. If the lazy option is essential for user workflows (how can it be since its not working) then we should not use fusemount rather use mount directly. Or, let the user remount with the lazy flag.

https://www.man7.org/linux/man-pages/man2/mount.2.html

https://www.man7.org/linux/man-pages/man8/mount.fuse3.8.html

https://www.man7.org/linux/man-pages/man1/fusermount3.1.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant