This is useful for keeping the regression test results consistent
when run on non-Linux systems, especially on GNU Hurd.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
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
.I [defaults]
stanza.
.TP
+.I creator_os
+This relation specifies the "creator operating system" for the
+file system unless it is overriden on the command line.
+The default value is the OS for which the
+.B mke2fs
+executable was compiled.
+.TP
.I fs_type
This relation specifies the default filesystem type if the user does not
specify it via the
lazy_itable_init = false
no_discard = true
default_mntopts = ^acl
+ creator_os = Linux
[fs_types]
ext3 = {