mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
fix btrfs rootflags
This commit is contained in:
committed by
Aiden McClelland
parent
2ad749354d
commit
c7472174e5
@@ -31,6 +31,8 @@ local_mount_root()
|
|||||||
modprobe ${FSTYPE}
|
modprobe ${FSTYPE}
|
||||||
checkfs ${ROOT} root "${FSTYPE}"
|
checkfs ${ROOT} root "${FSTYPE}"
|
||||||
|
|
||||||
|
ROOTFLAGS="$(echo "${ROOTFLAGS}" | sed 's/subvol=\(next\|current\)//')"
|
||||||
|
|
||||||
if [ "${FSTYPE}" != "unknown" ]; then
|
if [ "${FSTYPE}" != "unknown" ]; then
|
||||||
mount -t ${FSTYPE} ${ROOTFLAGS} ${ROOT} ${rootmnt}
|
mount -t ${FSTYPE} ${ROOTFLAGS} ${ROOT} ${rootmnt}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user