Ticket #76 (closed enhancement: fixed)
Opened 2 years ago
Last modified 2 years ago
fstabinfo returns passno 0
Reported by: | Nahor <nahor.j+openrc@gmail.com> | Owned by: | roy |
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | rc | Version: | |
Keywords: | Cc: |
Description
"fstabinfo --passno '<5'" returns all mountpoints with a passno less than 5, including 0. I don't think 0 should be returned.
I don't see any use case for getting both fsckable and non-fsckable mountpoints but if it is then one could then use "fstabinfo --passno '<5 =0'".
The other way doesn't work fstabinfo uses a "OR" operator ("fstabinfo --passno '>0 <5'" returns all mountpoints instead of passno 1-4) so one would have to list all usefull passno ("=1 =2 =3 =4") which pretty much defeats the point of having the '<' operator.
Other possible options:
- change the "OR" into a "AND"
- add a AND operator
- remove the '<' operator
- use another notation system (ex: "1,3-5,7")
Change History
comment:329 Changed 2 years ago by roy
- Status changed from new to resolved
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.
I can't argue with that.
Fixed in commit http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commitdiff;h=385fd9eeac6df7d94b54187b00496ddb593d2bc9