Re: [PATCH v2] btrfs-progs: dump-tree: add degraded option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





diff --git a/cmds-inspect-dump-tree.c b/cmds-inspect-dump-tree.c
index df44bb635c9c..d2676ce55af7 100644
--- a/cmds-inspect-dump-tree.c
+++ b/cmds-inspect-dump-tree.c
@@ -198,6 +198,7 @@ const char * const cmd_inspect_dump_tree_usage[] = {
  	"-u|--uuid              print only the uuid tree",
  	"-b|--block <block_num> print info from the specified block only",
  	"-t|--tree <tree_id>    print only tree with the given id (string or number)",
+	"-x|--noscan            use the disk in the arg, do not scan for the disks (for raid1)",

Still it looks a little too restrict.

What about some equivalent just like kernel "device=" mount option?

 You mean something like..

"-o  use the disk(s) in the arg, do not scan for additional disks",

   btrfs in dump-tree [options] -o [device=<dev1>,device=<dev2>] <dev3>
   btrfs in dump-tree [options] -o <dev>
   btrfs in dump-tree [options] -o <dev1> -o <dev2> <dev3>

 I am ok.

Thanks, Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux