* bug in parameter parsing mkfs
@ 2013-01-25 13:42 Marcel Meyer
0 siblings, 0 replies; only message in thread
From: Marcel Meyer @ 2013-01-25 13:42 UTC (permalink / raw)
To: util-linux
Hello,
we encountered a bug in the parameter parsing of mkfs after c&p of a wrongly
written wiki article.
So
$ mkfs.ext4 -Llabel /dev/device
and
$ mkfs.ext4 -L label /dev/device
work as expected.
$ mkfs ext4 -Llabel /dev/device # note the missing "."
reports correctly "invalid blocks '/dev/device' on device 'ext4'" after
invoking mkfs.ext2 as the default mkfs.
But when you enter the same wrong command line with an additional space in the
label like
$ mkfs ext4 -L label /dev/device
it formats /dev/device with an ext2 filesystem and the label "label".
Yours
Marcel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-25 13:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25 13:42 bug in parameter parsing mkfs Marcel Meyer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.