Skip to content

Conversation

@nilfsuser5678
Copy link
Contributor

Description

The NILFS2 mount helpers rely on GNU behaviour of getopt to parse
options correctly when invoked by mount. With posix getopt they silently
ignore mount options because mount from util-linux invokes helpers with
non-option arguments before option arguments which posix getopt then
ignores. This fixes it by linking the gnu-getopt compat package. It
could also be fixed by patching getopt_long in place of getopt.

Checklist

Before this pull request is reviewed, certain conditions must be met.

The following must be true for all changes:

The following must be true for template/package changes:

  • I have read Packaging.md
  • I have built and tested my changes on my machine

The following must be true for new package submissions:

  • I will take responsibility for my template and keep it up to date

The NILFS2 mount helpers rely on GNU behaviour of getopt to parse
options correctly when invoked by mount. With posix getopt they silently
ignore mount options.
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