summaryrefslogtreecommitdiff
path: root/old-school
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-04-29 13:12:12 -0400
committerAndrew Cady <d@jerkface.net>2016-04-29 13:12:12 -0400
commit79e308c2250ce6a21308e9e0fbb20e56d6784952 (patch)
tree499fe63e0aca8306e1aa47bc60aa7c639e5b0584 /old-school
parentd1836ad0ad5ff506522a63b715af3eaef46034e1 (diff)
don't hard-code btrfs default subvolume name
Diffstat (limited to 'old-school')
-rw-r--r--old-school/lvm-create.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/old-school/lvm-create.sh b/old-school/lvm-create.sh
index 0238682..d4a8bdf 100644
--- a/old-school/lvm-create.sh
+++ b/old-school/lvm-create.sh
@@ -48,7 +48,7 @@ init_samizdat()
48 uuid=$(choose_uuid) || return 48 uuid=$(choose_uuid) || return
49 [ "$uuid" ] || return 49 [ "$uuid" ] || return
50 50
51 mount -t btrfs -o subvol=ROOT UUID="$uuid" /root || return 51 mount -t btrfs UUID="$uuid" /root || return
52 52
53 btrfs device add "$blockdev" /root || return 53 btrfs device add "$blockdev" /root || return
54 mount -o rw,remount /root || return 54 mount -o rw,remount /root || return
@@ -158,7 +158,7 @@ open_samizdat()
158 fi 158 fi
159 modprobe btrfs || return 159 modprobe btrfs || return
160 btrfs device scan || return 160 btrfs device scan || return
161 mount -t btrfs -o subvol=ROOT "$blockdev" /root || return 161 mount -t btrfs "$blockdev" /root || return
162 samizdat_movemounts "$imgfile" 162 samizdat_movemounts "$imgfile"
163 LoSetup -D 163 LoSetup -D
164 bootdone root-mounted 164 bootdone root-mounted