loadfossil 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .TH LOADFOSSIL 8
  2. .SH NAME
  3. loadfossil - populate a fossil filesystem
  4. .SH SYNOPSIS
  5. .B loadfossil
  6. .I fossil
  7. .I root
  8. .I proto
  9. .I fossil.conf
  10. .SH DESCRIPTION
  11. .I Loadfossil
  12. formats the partition (or file)
  13. .IR fossil
  14. as a
  15. .IR fossil (4)
  16. file system,
  17. populates it with files from
  18. .I root
  19. using the
  20. .IR mkfs (8)
  21. prototype file
  22. .I proto
  23. and installs the configuration in
  24. .IR fossil.conf .
  25. .PP
  26. Simply declaring
  27. .LR "fsys main config"
  28. in
  29. .I fossil.conf
  30. takes the device name from
  31. .L "fossil -f"
  32. and avoids wiring it into the configuration.
  33. .SH EXAMPLES
  34. Create a standalone
  35. .I fossil
  36. root filesystem for a laptop from the local Plan 9 installation.
  37. .IP
  38. .EX
  39. sc=/sys/lib/sysconfig
  40. loadfossil /dev/sdC0/fossil /n/boot $sc/proto/stand-usb \e
  41. $sc/usb/fossil.conf
  42. .EE
  43. .SH FILES
  44. .TF /srv/fscons.open
  45. .PD 0
  46. .TP
  47. .B /srv/fossil
  48. .TP
  49. .B /srv/fossil.open
  50. .TP
  51. .B /srv/fscons
  52. .TP
  53. .B /srv/fscons.open
  54. files created while executing
  55. .SH SOURCE
  56. .B /rc/bin/loadfossil
  57. .SH SEE ALSO
  58. .IR fossilcons (8),
  59. .IR mkusbboot (8),
  60. .IR prep (8)
  61. .SH BUGS
  62. Due to name clashes in
  63. .BR /srv ,
  64. should be run only on machines with no running
  65. .I fossil
  66. instance named
  67. .LR fossil .