OSDN Git Service

mke2fs: Use a fs_type of 'journal' when creating an external journal
authorTheodore Ts'o <tytso@mit.edu>
Mon, 7 Jul 2008 00:24:29 +0000 (20:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Jul 2008 00:24:29 +0000 (20:24 -0400)
commitb4d5105b2527a5279cf5b885b957e1e07a53e725
tree786d35ce950fd3373d1e4bc3250a0d4a0a38183e
parent69d813520cf14f5700c38c82b5c147aa3756bbd9
mke2fs: Use a fs_type of 'journal' when creating an external journal

If creating a an external journal via "mke2fs -O journal_dev",
override the fs_type list (i.e., "ext2", "small"), and replace it with
an fs_type list of "journal".  This will prevent external journals
smaller than 512MB from being created with a block size of 1k, which
is not very useful and leads to much confusion.

Addresses-Debian-Bug: #488663

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