public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* Typo in mkfs man-page
@ 2014-01-22  7:38 Kenny Rachuonyo
  2014-02-10 17:35 ` Karel Zak
  0 siblings, 1 reply; 8+ messages in thread
From: Kenny Rachuonyo @ 2014-01-22  7:38 UTC (permalink / raw)
  To: util-linux

The short form of the --verbose option should probably be -v instead of -V

This occurs both on the online man-page:

http://man7.org/linux/man-pages/man8/mkfs.8.html

and my local system (Ubuntu 12.04) man-page.

-- 
http://dumaworks.com
https://github.com/krmboya
http://keyboardinterrupt.blogspot.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typo in mkfs man-page
  2014-01-22  7:38 Typo in mkfs man-page Kenny Rachuonyo
@ 2014-02-10 17:35 ` Karel Zak
  2014-02-10 18:57   ` Theodore Ts'o
  0 siblings, 1 reply; 8+ messages in thread
From: Karel Zak @ 2014-02-10 17:35 UTC (permalink / raw)
  To: Kenny Rachuonyo; +Cc: util-linux

On Wed, Jan 22, 2014 at 10:38:31AM +0300, Kenny Rachuonyo wrote:
> The short form of the --verbose option should probably be -v instead of -V
> 
> This occurs both on the online man-page:
> 
> http://man7.org/linux/man-pages/man8/mkfs.8.html
> 
> and my local system (Ubuntu 12.04) man-page.

 I think this historical mess is well explained in the man page. 

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typo in mkfs man-page
  2014-02-10 17:35 ` Karel Zak
@ 2014-02-10 18:57   ` Theodore Ts'o
  2014-02-10 20:55     ` Dale R. Worley
  2014-02-21 11:07     ` Karel Zak
  0 siblings, 2 replies; 8+ messages in thread
From: Theodore Ts'o @ 2014-02-10 18:57 UTC (permalink / raw)
  To: Karel Zak; +Cc: Kenny Rachuonyo, util-linux

On Mon, Feb 10, 2014 at 06:35:45PM +0100, Karel Zak wrote:
> On Wed, Jan 22, 2014 at 10:38:31AM +0300, Kenny Rachuonyo wrote:
> > The short form of the --verbose option should probably be -v instead of -V
> > 
> > This occurs both on the online man-page:
> > 
> > http://man7.org/linux/man-pages/man8/mkfs.8.html
> > 
> > and my local system (Ubuntu 12.04) man-page.
> 
>  I think this historical mess is well explained in the man page. 

I'll add that I've never been convinced that the mkfs front end is all
that useful.  It's probably better for people to explicitly run
/sbin/mkfs.xfs, /sbin/mkfs.ext4, etc.., so you don't have to worry
about which options get passed down to the file system specific mkfs
program, and which ones are interpreted by /sbin/mkfs --- and I don't
believe /sbin/mkfs adds enough (err, any?) value that using
"/sbin/mkfs -t xxx" vs "/sbin/mkfs.xxx" makes any sense whatsoever.

At least with /sbin/fsck it runs multiple fsck programs in parallel,
and it serves as a front-end program so you don't have to modify the
init scripts if you change your root file system from reiserfs to jfs,
while keeping some of your other file systems as minixfs.  So
/sbin/fsck adds value.

But /sbin/mkfs.xxx is generally run by system administrators, and IMHO
it's better to tell people to run the command "/sbin/mkfs.xxx" instead
of "/sbin/mkfs -t xxx".

Cheers,

					- Ted

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typo in mkfs man-page
  2014-02-10 18:57   ` Theodore Ts'o
@ 2014-02-10 20:55     ` Dale R. Worley
  2014-02-11  9:05       ` Sami Kerola
  2014-02-21 11:07     ` Karel Zak
  1 sibling, 1 reply; 8+ messages in thread
From: Dale R. Worley @ 2014-02-10 20:55 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: util-linux

> From: "Theodore Ts'o" <tytso@mit.edu>

> But /sbin/mkfs.xxx is generally run by system administrators, and IMHO
> it's better to tell people to run the command "/sbin/mkfs.xxx" instead
> of "/sbin/mkfs -t xxx".

This makes sense to me.

More exactly, mkfs is generally run "manually".

And while having fsck "do what I mean" is largely safe, creating a
file system is not the time that you want the user to be unclear on
the exact implications of each option he has specified.

Dale

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typo in mkfs man-page
  2014-02-10 20:55     ` Dale R. Worley
@ 2014-02-11  9:05       ` Sami Kerola
  2014-02-11  9:22         ` Karel Zak
  2014-02-12 20:13         ` Dale R. Worley
  0 siblings, 2 replies; 8+ messages in thread
From: Sami Kerola @ 2014-02-11  9:05 UTC (permalink / raw)
  To: Dale R. Worley; +Cc: Theodore Ts'o, util-linux

On 10 February 2014 20:55, Dale R. Worley <worley@alum.mit.edu> wrote:
>> From: "Theodore Ts'o" <tytso@mit.edu>
>
>> But /sbin/mkfs.xxx is generally run by system administrators, and IMHO
>> it's better to tell people to run the command "/sbin/mkfs.xxx" instead
>> of "/sbin/mkfs -t xxx".
>
> This makes sense to me.
>
> More exactly, mkfs is generally run "manually".
>
> And while having fsck "do what I mean" is largely safe, creating a
> file system is not the time that you want the user to be unclear on
> the exact implications of each option he has specified.

Would it make sense to add banner 'you probably should not run this
utility, consider using file system specific mkfs' to mkfs?

-- 
Sami Kerola
http://www.iki.fi/kerolasa/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typo in mkfs man-page
  2014-02-11  9:05       ` Sami Kerola
@ 2014-02-11  9:22         ` Karel Zak
  2014-02-12 20:13         ` Dale R. Worley
  1 sibling, 0 replies; 8+ messages in thread
From: Karel Zak @ 2014-02-11  9:22 UTC (permalink / raw)
  To: kerolasa; +Cc: Dale R. Worley, Theodore Ts'o, util-linux

On Tue, Feb 11, 2014 at 09:05:32AM +0000, Sami Kerola wrote:
> On 10 February 2014 20:55, Dale R. Worley <worley@alum.mit.edu> wrote:
> >> From: "Theodore Ts'o" <tytso@mit.edu>
> >
> >> But /sbin/mkfs.xxx is generally run by system administrators, and IMHO
> >> it's better to tell people to run the command "/sbin/mkfs.xxx" instead
> >> of "/sbin/mkfs -t xxx".
> >
> > This makes sense to me.
> >
> > More exactly, mkfs is generally run "manually".
> >
> > And while having fsck "do what I mean" is largely safe, creating a
> > file system is not the time that you want the user to be unclear on
> > the exact implications of each option he has specified.
> 
> Would it make sense to add banner 'you probably should not run this
> utility, consider using file system specific mkfs' to mkfs?

And mark it deprecated and one day kill it at all.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typo in mkfs man-page
  2014-02-11  9:05       ` Sami Kerola
  2014-02-11  9:22         ` Karel Zak
@ 2014-02-12 20:13         ` Dale R. Worley
  1 sibling, 0 replies; 8+ messages in thread
From: Dale R. Worley @ 2014-02-12 20:13 UTC (permalink / raw)
  To: util-linux

> From: Sami Kerola <kerolasa@iki.fi>

> Would it make sense to add banner 'you probably should not run this
> utility, consider using file system specific mkfs' to mkfs?

That makes sense to me.

Dale

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Typo in mkfs man-page
  2014-02-10 18:57   ` Theodore Ts'o
  2014-02-10 20:55     ` Dale R. Worley
@ 2014-02-21 11:07     ` Karel Zak
  1 sibling, 0 replies; 8+ messages in thread
From: Karel Zak @ 2014-02-21 11:07 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: Kenny Rachuonyo, util-linux

On Mon, Feb 10, 2014 at 01:57:41PM -0500, Theodore Ts'o wrote:
> On Mon, Feb 10, 2014 at 06:35:45PM +0100, Karel Zak wrote:
> > On Wed, Jan 22, 2014 at 10:38:31AM +0300, Kenny Rachuonyo wrote:
> > > The short form of the --verbose option should probably be -v instead of -V
> > > 
> > > This occurs both on the online man-page:
> > > 
> > > http://man7.org/linux/man-pages/man8/mkfs.8.html
> > > 
> > > and my local system (Ubuntu 12.04) man-page.
> > 
> >  I think this historical mess is well explained in the man page. 
> 
> I'll add that I've never been convinced that the mkfs front end is all
> that useful.  It's probably better for people to explicitly run

Good point, I have marked the wrapper as deprecated.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-02-21 11:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-22  7:38 Typo in mkfs man-page Kenny Rachuonyo
2014-02-10 17:35 ` Karel Zak
2014-02-10 18:57   ` Theodore Ts'o
2014-02-10 20:55     ` Dale R. Worley
2014-02-11  9:05       ` Sami Kerola
2014-02-11  9:22         ` Karel Zak
2014-02-12 20:13         ` Dale R. Worley
2014-02-21 11:07     ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox