OSDN Git Service

Added information to message about ext2 incompatible features.
authorMark Neyhart <mark_n@lfd008.localdomain>
Mon, 29 Oct 2007 18:15:03 +0000 (10:15 -0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 29 Oct 2007 20:05:31 +0000 (18:05 -0200)
Modifed the message about incompatible ext2 features installed to include a
list of compatible features and to recommend the usage of tune2fs or
debugfs to remove features which are not compatible.

libparted/fs/ext2/ext2.c

index 618fca9..79fc6f6 100644 (file)
@@ -727,7 +727,10 @@ struct ext2_fs *ext2_open(struct ext2_dev_handle *handle, int state)
                            EXT2_FEATURE_RO_COMPAT_LARGE_FILE)))
        {
                ped_exception_throw (PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL,
-                    _("File system has an incompatible feature enabled."));
+                    _("File system has an incompatible feature enabled.  "
+                      "Compatible features are has_journal, dir_index, "
+                      "filetype, sparse_super and large_file.  "
+                      "Use tune2fs or debugfs to remove features."));
                goto error_free_fs;
        }