Whamcloud - gitweb
mke2fs: recognize mke4fs program name
authorEric Sandeen <sandeen@redhat.com>
Wed, 15 Feb 2012 20:11:35 +0000 (15:11 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 15 Feb 2012 21:18:50 +0000 (16:18 -0500)
commit237b7b23fe69a83a9bb1d98d014d26f146ac26a3
tree95b9a29ba7d3fddc69457ca1a51a979ea98f47c1
parent8a1da3c5ae5d042c272fbcf5ea222ca561f566a5
mke2fs: recognize mke4fs program name

We shipped "mke4fs" alongside mke2fs in RHEL5, so that ext4-capable
utilities could be installed without disturbing the venerable e2fsprogs-1.39
shipped in RHEL5 from the beginning.  But it surprised some users that
"mke4fs" created ext2 filesystems by default rather than ext4.
While it was my intent to have the renamed binaries behave exactly
like the stock ones, it seems that there is some precedence for
handling "mkeNfs" in the code, so seems reasonable to add
mke4fs -> ext4 as well.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mke2fs.c