48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
|
Index: btrfs-progs-v0.19-118-gfdb6c04/btrfs.c
|
||
|
===================================================================
|
||
|
--- btrfs-progs-v0.19-118-gfdb6c04.orig/btrfs.c
|
||
|
+++ btrfs-progs-v0.19-118-gfdb6c04/btrfs.c
|
||
|
@@ -231,17 +231,17 @@ static struct Command commands[] = {
|
||
|
"the name <name> in the <dest> directory.",
|
||
|
NULL
|
||
|
},
|
||
|
- { do_delete_subvolume, 1,
|
||
|
- "subvolume delete", "<subvolume>\n"
|
||
|
- "Delete the subvolume <subvolume>.",
|
||
|
- NULL
|
||
|
- },
|
||
|
{ do_create_subvol, 1,
|
||
|
"subvolume create", "[<dest>/]<name>\n"
|
||
|
"Create a subvolume in <dest> (or the current directory if\n"
|
||
|
"not passed).",
|
||
|
NULL
|
||
|
},
|
||
|
+ { do_delete_subvolume, 1,
|
||
|
+ "subvolume delete", "<subvolume>\n"
|
||
|
+ "Delete the subvolume <subvolume>.",
|
||
|
+ NULL
|
||
|
+ },
|
||
|
{ do_subvol_list, -1, "subvolume list", "[-p] <path>\n"
|
||
|
"List the snapshot/subvolume of a filesystem.",
|
||
|
"[-p] <path>\n"
|
||
|
@@ -254,6 +254,9 @@ static struct Command commands[] = {
|
||
|
"as default.",
|
||
|
NULL
|
||
|
},
|
||
|
+ { do_get_default_subvol, 1, "subvolume get-default", "<path>\n"
|
||
|
+ "Get the default subvolume of a filesystem."
|
||
|
+ },
|
||
|
{ do_find_newer, 2, "subvolume find-new", "<path> <last_gen>\n"
|
||
|
"List the recently modified files in a filesystem.",
|
||
|
NULL
|
||
|
@@ -270,9 +273,6 @@ static struct Command commands[] = {
|
||
|
"-l len defragment only up to len bytes\n"
|
||
|
"-t size minimal size of file to be considered for defragmenting\n"
|
||
|
},
|
||
|
- { do_get_default_subvol, 1, "subvolume get-default", "<path>\n"
|
||
|
- "Get the default subvolume of a filesystem."
|
||
|
- },
|
||
|
{ do_fssync, 1,
|
||
|
"filesystem sync", "<path>\n"
|
||
|
"Force a sync on the filesystem <path>.",
|