Displaying 1 result from an estimated 1 matches for "list_all_fs_features".
2013 May 16
0
[PATCH] btrfs-progs: mkfs: add -O option to specify fs features
...BTRFS_FEATURE_INCOMPAT_RAID56,
+ "raid56 extended format" },
+ { "skinny-metadata", BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA,
+ "reduced-size metadata extent refs" },
+ /* Keep this one last */
+ { "list-all", BTRFS_FEATURE_LIST_ALL, NULL }
+};
+
+static void list_all_fs_features(void)
+{
+ int i;
+
+ fprintf(stderr, "Filesystem features available at mkfs time:\n");
+ for (i = 0; i < ARRAY_SIZE(mkfs_features) - 1; i++) {
+ fprintf(stderr, "%-20s- %s (0x%llx)\n",
+ mkfs_features[i].name,
+ mkfs_features[i].desc,
+ mkfs_features[i].flag);
+ }...