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

Use fuse_opt_parse instead of getopt & change usage #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Daniel-Abrecht
Copy link
Contributor

This pull request changes how options are parsed and the options available.

This way, fuse-nfs doesn't need to know all fuse options for them to be usable. This would be especially useful for options specific to the fuse implementation used (see Daniel-Abrecht/fuse-nfs-crossbuild-scripts#2 for an example).

This also changes the usage to fuse-nfs [options] share mountpoint,
which allows it to be used in /etc/fstab. (Copy it to /sbin/mount.fuse-nfs, and the fstab line could look like nfs://server/export /mnt/mountpoint fuse-nfs defaults,allow_other 0 0)

The downside of this would be that the options that have to be passed to fuse-nfs change, so this kind of breaks backward compatibility.

…fuse options to be used and to use fuse-nfs in /etc/fstab (just copy/symlink it to /sbin/mount.fuse-nfs, and you'll be able to use fuse-nfs as fstype in fstab)
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 this pull request may close these issues.

1 participant