util-linux bug: mkfs(8) has -V for -v
Quoted 3 lines
The manpage mkfs(8) lists "-V, --verbose" which should be "-v, --verbose" (uncapitalized). Seen on as recent a version as 2.38.1 (on Raspberry Pi OS), also seen on 2.23.2 (on CentOS 7). Not as trivial a fault as it might seem, since "-V" unlike "-v" causes mkfs to do nothing.
25% user error on my part: Looks like there are two bugs here and one is already fixed:
"mkfs -j -t ext4 -V Tempy" gives version on 2.23.2 but verbose on 2.38.1. The manpage still probably should have "-v, --verbose".
--- Jeremy
Karel Zak
maintainerQuoted 7 lines · Jeremy Dilatush
Quoted 3 lines
The manpage mkfs(8) lists "-V, --verbose" which should be "-v, --verbose" (uncapitalized). Seen on as recent a version as 2.38.1 (on Raspberry Pi OS), also seen on 2.23.2 (on CentOS 7). Not as trivial a fault as it might seem, since "-V" unlike "-v" causes mkfs to do nothing.
25% user error on my part: Looks like there are two bugs here and one is already fixed:
"mkfs -j -t ext4 -V Tempy" gives version on 2.23.2 but verbose on 2.38.1. The manpage still probably should have "-v, --verbose".
I believe the current version of the man page is quite clear on this matter:
-V, --version
Print version and exit. (Option -V will display version information only when it is the only parameter, otherwise it will work as --verbose.)
and important is also the first line of the man page:
This mkfs frontend is deprecated in favour of filesystem specific mkfs.<type> utils.
;-)
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com