Whamcloud - gitweb
mke2fs: Fail if the requested file system type is not defined in mke2fs.conf
authorTheodore Ts'o <tytso@mit.edu>
Wed, 1 Dec 2010 23:28:35 +0000 (18:28 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Dec 2010 23:28:35 +0000 (18:28 -0500)
commit2ee4544d07af35a6a667400cca35657e37d55c3b
tree0bf27ab4cc87cace6f11aadb3bf909182b5f8294
parent1df56561b6f3ed4cffc657538cfde48ebe986626
mke2fs: Fail if the requested file system type is not defined in mke2fs.conf

If the user passes a file system type which is not defined in
mke2fs.conf (i.e., mke2fs -t xfs ...) change mke2fs so that it prints
a warning and aborts the run.  (There is an exception for ext2, since
that file system does not need a special definition in the fs_types
section of the /etc/mke2fs.conf file.)

In addition, print a warning if there are usage types (specified using
the -T option) which are not defined in /etc/mke2fs.conf.

Addresses-Debian-Bug: #594609

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/mke2fs.c