mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
call mount with full path
This commit is contained in:
parent
543abf67f7
commit
7a783276b2
1 changed files with 2 additions and 6 deletions
|
@ -334,16 +334,12 @@ _cleanup_cache() {
|
||||||
# needed for programs which check disk space
|
# needed for programs which check disk space
|
||||||
_home_root_mount() {
|
_home_root_mount() {
|
||||||
if ! mountpoint /home >/dev/null 2>&1; then
|
if ! mountpoint /home >/dev/null 2>&1; then
|
||||||
echo "Waiting for mount being available ..."
|
|
||||||
while ! mount >/dev/null 2>&1; do
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
echo "Mount tmpfs on /home ..."
|
echo "Mount tmpfs on /home ..."
|
||||||
mount -t tmpfs tmpfs /home
|
/usr/bin/mount -t tmpfs tmpfs /home
|
||||||
fi
|
fi
|
||||||
if ! mountpoint /root >/dev/null 2>&1; then
|
if ! mountpoint /root >/dev/null 2>&1; then
|
||||||
echo "Mount tmpfs on /root ..."
|
echo "Mount tmpfs on /root ..."
|
||||||
mount -t tmpfs tmpfs /root
|
/usr/bin/mount -t tmpfs tmpfs /root
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue