On Fri, Feb 14, 2014 at 10:59 AM, David Sterba <dsterba@xxxxxxx> 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 files and paths are found
>> by restore, without actually restoring any data.
>>
>> Signed-off-by: Justin Maggard <jmaggard10@xxxxxxxxx>
>
> Thanks, I've added a
>
> + if (dry_run)
> + printf("This is a dry-run, no files are going to be restored\n");
> +
>
> before the actual restoring starts so user knows.
Sounds good to me. Thanks!
--
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