Re: [PATCH v2] btrfs-progs: add dry-run option to restore command

2014-02-14 Thread Justin Maggard
On Fri, Feb 14, 2014 at 10:59 AM, David Sterba wrote: > On Fri, Feb 14, 2014 at 10:40:47AM -0800, Justin Maggard wrote: >> Sometimes it is useful to see what btrfs restore is going to do >> before provisioning enough external storage to restore onto. >> Add a dry-run option so we can see what file

Re: [PATCH v2] btrfs-progs: add dry-run option to restore command

2014-02-14 Thread David Sterba
On Fri, Feb 14, 2014 at 10:40:47AM -0800, Justin Maggard wrote: > Sometimes it is useful to see what btrfs restore is going to do > before provisioning enough external storage to restore onto. > Add a dry-run option so we can see what files and paths are found > by restore, without actually restori

[PATCH v2] btrfs-progs: add dry-run option to restore command

2014-02-14 Thread Justin Maggard
Sometimes it is useful to see what btrfs restore is going to do before provisioning enough external storage to restore onto. Add a dry-run option so we can see what files and paths are found by restore, without actually restoring any data. Signed-off-by: Justin Maggard --- cmds-restore.c | 17