mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-30 17:31:43 +00:00
btrfs-progs: mkfs: print incompat and runtime features on one line
We've deprecated the -R option and runtime feature distinction, there's only one option -O recommended so let it also print on the same line. Incompat/compat/runtime status of a feature shall be consulted with the documentation. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
e406abb157
commit
3d1a3c8c5a
@ -2026,13 +2026,7 @@ raid_groups:
|
||||
printf(" Zone size: %s\n",
|
||||
pretty_size(fs_info->zone_size));
|
||||
btrfs_parse_fs_features_to_string(features_buf, &features);
|
||||
#if EXPERIMENTAL
|
||||
printf("Features: %s\n", features_buf);
|
||||
#else
|
||||
printf("Incompat features: %s\n", features_buf);
|
||||
btrfs_parse_runtime_features_to_string(features_buf, &features);
|
||||
printf("Runtime features: %s\n", features_buf);
|
||||
#endif
|
||||
printf("Checksum: %s\n",
|
||||
btrfs_super_csum_name(mkfs_cfg.csum_type));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user