Whamcloud - gitweb
Compile the default mke2fs.conf into mke2fs program
authorTheodore Ts'o <tytso@mit.edu>
Wed, 4 Jul 2007 18:10:46 +0000 (14:10 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Jul 2007 18:27:30 +0000 (14:27 -0400)
commitd48bc60459f3552d2f229d8ec041b7eb36787541
tree0a22a163a88f993fad6b245de80b78e38a13e3dc
parent6f890e516d1eddb52a566d1f77888c9edf5772f2
Compile the default mke2fs.conf into mke2fs program

People are getting surprised by mke2fs creating filesystems with
different defaults than earlier versions of mke2fs if mke2fs.conf is
not present.  Having gotten two complaints about ramdisks getting
created by with 4k blocksizes which then blow up when the ramdisk is
mounted with a "Magic mismatch, very weird" error message from the
kernel, let's fix this by making sure mke2fs has a built-in version of
mke2fs.conf file.  People can still override the built-in version of
mke2fs.conf by editing /etc/mke2fs.conf, but this maintains the
previous behavior.

Addresses-Sourceforge-Bug: #1745818

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/Makefile.in
misc/mke2fs.c
misc/profile-to-c.awk [new file with mode: 0644]