OSDN Git Service

mke2fs: clarify inline data inode size error message
authorEric Whitney <enwlinux@gmail.com>
Wed, 1 Oct 2014 12:36:36 +0000 (08:36 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Oct 2014 12:36:36 +0000 (08:36 -0400)
The existing error message can be made more helpful by more clearly
implying the attempt to make a file system with undersized inodes is
failing and suggesting a corrective action.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mke2fs.c

index bf4118e..a7bd35a 100644 (file)
@@ -2360,7 +2360,8 @@ profile_error:
             EXT4_FEATURE_INCOMPAT_INLINE_DATA) &&
            fs_param.s_inode_size == EXT2_GOOD_OLD_INODE_SIZE) {
                com_err(program_name, 0,
-                       _("inode size is %d, inline data is useless"),
+                       _("%d byte inodes are too small for inline data; "
+                         "specify larger size"),
                        fs_param.s_inode_size);
                exit(1);
        }