kdave / btrfs-progs

Development of userspace BTRFS tools
GNU General Public License v2.0
530 stars 240 forks source link

Move btrfstune functionality to `btrfs tune` subcommand group, and the new interface. #674

Open adam900710 opened 10 months ago

adam900710 commented 10 months ago

Currently I have already sent out a patchset to start moving functionality to btrfs tune group.

The eventual planned interface would looks like this:

For clear it's pretty much the same:

For uuid related (both fsid and metadata_uuid), it would go something like this:

Finally for csum change, it would go its own subgroup command, but mostly follows the same for fsid:

For resuming the interrupted csum change, just use the same command line as the initial one. btrfs tune csum would do extra checks just as btrfstune used to do.