Searched hist:"74 ef0018" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | super.c | 74ef0018 Thu Jun 04 02:18:06 CDT 2020 Qu Wenruo <wqu@suse.com> btrfs: introduce "rescue=" mount option
This patch introduces a new "rescue=" mount option group for all mount options for data recovery.
Different rescue sub options are seperated by ':'. E.g "ro,rescue=nologreplay:usebackuproot".
The original plan was to use ';', but ';' needs to be escaped/quoted, or it will be interpreted by bash, similar to '|'.
And obviously, user can specify rescue options one by one like: "ro,rescue=nologreplay,rescue=usebackuproot".
The following mount options are converted to "rescue=", old mount options are deprecated but still available for compatibility purpose:
- usebackuproot Now it's "rescue=usebackuproot"
- nologreplay Now it's "rescue=nologreplay"
Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
|