This commit is contained in:
Marc Beninca 2024-11-18 12:32:57 +01:00
parent aae50d9bef
commit 0cce49e919
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,11 +1,13 @@
bfdf() { bfdf() { sh_btrfs_filesystem_d_f "${@}"; }
sh_btrfs_filesystem_d_f() {
btrfs \ btrfs \
filesystem \ filesystem \
df \ df \
"${@}" "${@}"
} }
bfdu() { bfdu() { sh_btrfs_filesystem_d_u "${@}"; }
sh_btrfs_filesystem_d_u() {
btrfs \ btrfs \
filesystem \ filesystem \
du \ du \
@ -13,42 +15,48 @@ bfdu() {
"${@}" "${@}"
} }
bfu() { bfu() { sh_btrfs_filesystem_usage "${@}"; }
sh_btrfs_filesystem_usage() {
btrfs \ btrfs \
filesystem \ filesystem \
usage \ usage \
"${@}" "${@}"
} }
bpg() { bpg() { sh_btrfs_property_get "${@}"; }
sh_btrfs_property_get() {
btrfs \ btrfs \
property \ property \
get \ get \
"${@}" "${@}"
} }
bsc() { bsc() { sh_btrfs_subvolume_create "${@}"; }
sh_btrfs_subvolume_create() {
btrfs \ btrfs \
subvolume \ subvolume \
create \ create \
"${@}" "${@}"
} }
bsd() { bsd() { sh_btrfs_subvolume_delete "${@}"; }
sh_btrfs_subvolume_delete() {
btrfs \ btrfs \
subvolume \ subvolume \
delete \ delete \
"${@}" "${@}"
} }
bss() { bss() { sh_btrfs_subvolume_snapshot "${@}"; }
sh_btrfs_subvolume_snapshot() {
btrfs \ btrfs \
subvolume \ subvolume \
snapshot \ snapshot \
"${@}" "${@}"
} }
bssr() { bssr() { sh_btrfs_subvolume_snapshot_r "${@}"; }
sh_btrfs_subvolume_snapshot_r() {
btrfs \ btrfs \
subvolume \ subvolume \
snapshot -r \ snapshot -r \