btrfs
This commit is contained in:
parent
1d2859e98b
commit
2854681c5e
1 changed files with 9 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
# functions to handle btrfs volumes
|
||||
|
||||
#= bfdf
|
||||
a__btrfs_filesystem_d_f() {
|
||||
rwx_btrfs_filesystem_d_f() {
|
||||
btrfs \
|
||||
filesystem \
|
||||
df \
|
||||
|
@ -9,7 +9,7 @@ a__btrfs_filesystem_d_f() {
|
|||
}
|
||||
|
||||
#= bfdu
|
||||
a__btrfs_filesystem_d_u() {
|
||||
rwx_btrfs_filesystem_d_u() {
|
||||
btrfs \
|
||||
filesystem \
|
||||
du \
|
||||
|
@ -18,7 +18,7 @@ a__btrfs_filesystem_d_u() {
|
|||
}
|
||||
|
||||
#= bfu
|
||||
a__btrfs_filesystem_usage() {
|
||||
rwx_btrfs_filesystem_usage() {
|
||||
btrfs \
|
||||
filesystem \
|
||||
usage \
|
||||
|
@ -26,7 +26,7 @@ a__btrfs_filesystem_usage() {
|
|||
}
|
||||
|
||||
#= bpg
|
||||
a__btrfs_property_get() {
|
||||
rwx_btrfs_property_get() {
|
||||
btrfs \
|
||||
property \
|
||||
get \
|
||||
|
@ -34,7 +34,7 @@ a__btrfs_property_get() {
|
|||
}
|
||||
|
||||
#= bsc
|
||||
a__btrfs_subvolume_create() {
|
||||
rwx_btrfs_subvolume_create() {
|
||||
btrfs \
|
||||
subvolume \
|
||||
create \
|
||||
|
@ -42,7 +42,7 @@ a__btrfs_subvolume_create() {
|
|||
}
|
||||
|
||||
#= bsd
|
||||
a__btrfs_subvolume_delete() {
|
||||
rwx_btrfs_subvolume_delete() {
|
||||
btrfs \
|
||||
subvolume \
|
||||
delete \
|
||||
|
@ -50,7 +50,7 @@ a__btrfs_subvolume_delete() {
|
|||
}
|
||||
|
||||
#= bsl
|
||||
a__btrfs_subvolume_list() {
|
||||
rwx_btrfs_subvolume_list() {
|
||||
if [ -n "${1}" ]; then
|
||||
btrfs subvolume list "${1}" |
|
||||
cut --delimiter " " --fields 9 |
|
||||
|
@ -59,7 +59,7 @@ a__btrfs_subvolume_list() {
|
|||
}
|
||||
|
||||
#= bss
|
||||
a__btrfs_subvolume_snapshot() {
|
||||
rwx_btrfs_subvolume_snapshot() {
|
||||
btrfs \
|
||||
subvolume \
|
||||
snapshot \
|
||||
|
@ -67,7 +67,7 @@ a__btrfs_subvolume_snapshot() {
|
|||
}
|
||||
|
||||
#= bssr
|
||||
a__btrfs_subvolume_snapshot_r() {
|
||||
rwx_btrfs_subvolume_snapshot_r() {
|
||||
btrfs \
|
||||
subvolume \
|
||||
snapshot -r \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue