From 2854681c5e78e67e5ddb012beaedb2bc6070a791 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 27 Jul 2025 13:38:22 +0200 Subject: [PATCH] btrfs --- sh/alias/btrfs.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sh/alias/btrfs.sh b/sh/alias/btrfs.sh index b70f8aa..43c5971 100644 --- a/sh/alias/btrfs.sh +++ b/sh/alias/btrfs.sh @@ -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 \