btrfsprogs/btrfs-mkfs-update-disclaimer.patch
David Sterba 2c5c7c6753 - add btrfsck repair options for:
- rebuild extent records
  - fix block group accounting
  - reset csums for rescue nodatasum mount
  - prune corrupt extent allocation tree blocks
- device scanning fixes for dm and multipath
- initrd support: move btrfs device scan after block device setup
- documentation updates
- add csize for file commpressed size
- updated restore utility

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=118
2012-03-05 15:09:24 +00:00

29 lines
1002 B
Diff

Index: btrfs-progs-v0.19-118-gfdb6c04/mkfs.c
===================================================================
--- btrfs-progs-v0.19-118-gfdb6c04.orig/mkfs.c
+++ btrfs-progs-v0.19-118-gfdb6c04/mkfs.c
@@ -1297,8 +1297,13 @@ int main(int ac, char **av)
if (ac == 0)
print_usage();
- printf("\nWARNING! - %s IS EXPERIMENTAL\n", BTRFS_BUILD_VERSION);
- printf("WARNING! - see http://btrfs.wiki.kernel.org before using\n\n");
+ printf("\n%s\n", BTRFS_BUILD_VERSION);
+ printf("\n\
+ATTENTION:\n\
+\n\
+mkfs.btrfs is not intended to be used directly. Please use the\n\
+YaST partitioner to create and manage btrfs filesystems to be\n\
+in a supported state on SUSE Linux Enterprise systems.\n\n");
if (source_dir == 0) {
file = av[optind++];
@@ -1456,7 +1461,6 @@ raid_groups:
pretty_buf = pretty_sizes(btrfs_super_total_bytes(&root->fs_info->super_copy)));
free(pretty_buf);
- printf("%s\n", BTRFS_BUILD_VERSION);
btrfs_commit_transaction(trans, root);
if (source_dir_set) {