v86/tools/docker/debian/boot-9p
2020-12-31 19:14:34 -06:00

34 lines
573 B
Bash

# 9p filesystem mounting -*- shell-script -*-
mountroot()
{
wait_for_udev 10
if [ ${readonly} = y ]; then
roflag="-o ro"
else
roflag="-o rw"
fi
#echo "Running: mount -t 9p -o cache=mmap ${ROOT} ${rootmnt}"
#mount -t 9p -o cache=mmap ${ROOT} ${rootmnt}
echo "Running: mount -t 9p -o cache=fscache ${ROOT} ${rootmnt}"
mount -t 9p -o cache=fscache ${ROOT} ${rootmnt}
echo "mount finished with code $?"
}
mount_top()
{
echo top
}
mount_premount()
{
echo premount
}
mount_bottom()
{
echo bottom
}