X-Git-Url: https://git.rapsys.eu/distgen/blobdiff_plain/6d2ea3b7342187b1d5209f1d1efef79427471c80..479af04737b21417d5e32e3b95ba45155ddcd86e:/lib/root.sh diff --git a/lib/root.sh b/lib/root.sh index 6f6af1e..8efdc47 100644 --- a/lib/root.sh +++ b/lib/root.sh @@ -4,7 +4,7 @@ mkdir -p ${MOUNTPOINT} # Mount slash filesystem -mount /dev/mapper/${SLASHNAME} ${MOUNTPOINT} +mount /dev/mapper/${DATANAME} ${MOUNTPOINT} # Make boot in mount point mkdir -p ${MOUNTPOINT}/boot @@ -12,3 +12,8 @@ mkdir -p ${MOUNTPOINT}/boot # Mount boot filesystem mount /dev/md/${MDBOOT} ${MOUNTPOINT}/boot +# Make home in mount point +mkdir -p ${MOUNTPOINT}/home + +# Mount home filesystem +mount -o subvol=/home /dev/mapper/${DATANAME} ${MOUNTPOINT}/home