* RE: util-linux bug: mkfs(8) has -V for -v
[not found] <28f8d3ca8b3545e5af64e2a7699b4b03@checkpoint.com>
@ 2024-08-08 18:07 ` Jeremy Dilatush
2024-08-15 7:28 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Dilatush @ 2024-08-08 18:07 UTC (permalink / raw)
To: util-linux@vger.kernel.org
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* 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
end of thread, other threads:[~2024-08-15 7:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <28f8d3ca8b3545e5af64e2a7699b4b03@checkpoint.com>
2024-08-08 18:07 ` util-linux bug: mkfs(8) has -V for -v Jeremy Dilatush
2024-08-15 7:28 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).