* Re: util-linux bug: mkfs(8) has -V for -v
2024-08-08 18:07 ` util-linux bug: mkfs(8) has -V for -v Jeremy Dilatush
@ 2024-08-15 7:28 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2024-08-15 7:28 UTC (permalink / raw)
To: Jeremy Dilatush; +Cc: util-linux@vger.kernel.org
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 <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread