Re: util-linux bug: mkfs(8) has -V for -v
Karel Zak <[email protected]>
| Newsgroups | org.kernel.vger.util-linux |
|---|---|
| Message-ID | <pkdvr572xhrtmindvjsfs5uia3vcxkeszup4d3ifyfdnkml3zb@c74rjg6jjvsy> |
On Thu, Aug 08, 2024 at 06:07:26PM GMT, Jeremy Dilatush wrote:
> > 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
--
Karel Zak <[email protected]>
http://karelzak.blogspot.com