Bug 758457
Summary: | findmnt -O doesn't work as expected with 'no' options | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bill Nottingham <notting> |
Component: | util-linux | Assignee: | Karel Zak <kzak> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | jonathan, kzak, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-01 17:41:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bill Nottingham
2011-11-29 20:31:15 UTC
The "no" is interpreted as prefix, so the command returns all entries where is not "suid" option. This is expected behaviour... Anyway, I have improved the pattern evaluation and now you can use "+" prefix to disable "no" prefix interpretation -- it means that "+noauto" will return entries where is *literally* "noauto" option: $ findmnt --fstab -O "+noauto" TARGET SOURCE FSTYPE OPTIONS /mnt/store sr.net.home:/mnt/store nfs noauto /mnt/loop /home/fs-images/ext2.img auto defaults,noauto This change will available in the next upstream release (and F17). |