* [PATCH v2 0/1] btrfs-progs: optionally restore metadata
@ 2015-04-21 5:48 Dan Merillat
2015-04-22 17:01 ` David Sterba
0 siblings, 1 reply; 2+ messages in thread
From: Dan Merillat @ 2015-04-21 5:48 UTC (permalink / raw)
To: BTRFS
Changes since v1:
* Documented in the manpage
* Added to usage() for btrfs restore
* Made it an optional flag (-m/--restore-metadata)
* Use endian-safe macros to access the on-disk data.
* Restore the proper mtime instead of atime twice.
* Restore owner and mode
* Restore metadata for directories as well as plain files.
* Since it's now explicitly requested, errors are fatal
unless ignore_errors is requested.
I tested this on the array I'm restoring, it looks sane to me.
Thanks to Noah Massey for the patch review, and Duncan for the
prompt to add owner/permissions to the patch.
Symlinks and hardlinks are beyond the scope of these changes, I'll look
into them if this looks good to everyone.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-22 17:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-21 5:48 [PATCH v2 0/1] btrfs-progs: optionally restore metadata Dan Merillat
2015-04-22 17:01 ` David Sterba
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.