Whamcloud - gitweb
mke2fs: allow the default creator os to be specified in /etc/mke2fs.conf
[tools/e2fsprogs.git] / misc / mke2fs.c
index effe963..04b2fbc 100644 (file)
@@ -2048,6 +2048,9 @@ profile_error:
        if (!usage_types)
                profile_get_string(profile, "devices", device_name,
                                   "usage_types", 0, &usage_types);
+       if (!creator_os)
+               profile_get_string(profile, "defaults", "creator_os", 0,
+                                  0, &creator_os);
 
        /*
         * We have the file system (or device) size, so we can now