# 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 }