summaryrefslogtreecommitdiff
path: root/btrfs-shrink
diff options
context:
space:
mode:
Diffstat (limited to 'btrfs-shrink')
-rwxr-xr-xbtrfs-shrink1
1 files changed, 1 insertions, 0 deletions
diff --git a/btrfs-shrink b/btrfs-shrink
index 12f0e8e..26c1365 100755
--- a/btrfs-shrink
+++ b/btrfs-shrink
@@ -61,6 +61,7 @@ main()
61 truncate= 61 truncate=
62 mountpoint="$1".mnt.tmp 62 mountpoint="$1".mnt.tmp
63 mkdir -p "$mountpoint" 63 mkdir -p "$mountpoint"
64 btrfs dev scan -u
64 mount -t btrfs "$1" "$mountpoint" 65 mount -t btrfs "$1" "$mountpoint"
65 result=$? 66 result=$?
66 67