boot-9p 573 B

123456789101112131415161718192021222324252627282930313233
  1. # 9p filesystem mounting -*- shell-script -*-
  2. mountroot()
  3. {
  4. wait_for_udev 10
  5. if [ ${readonly} = y ]; then
  6. roflag="-o ro"
  7. else
  8. roflag="-o rw"
  9. fi
  10. #echo "Running: mount -t 9p -o cache=mmap ${ROOT} ${rootmnt}"
  11. #mount -t 9p -o cache=mmap ${ROOT} ${rootmnt}
  12. echo "Running: mount -t 9p -o cache=fscache ${ROOT} ${rootmnt}"
  13. mount -t 9p -o cache=fscache ${ROOT} ${rootmnt}
  14. echo "mount finished with code $?"
  15. }
  16. mount_top()
  17. {
  18. echo top
  19. }
  20. mount_premount()
  21. {
  22. echo premount
  23. }
  24. mount_bottom()
  25. {
  26. echo bottom
  27. }