update 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. .TH UPDATE 8
  2. .SH NAME
  3. bootfloppy, bootplan9, bootwin9x, bootwinnt, personalize, setup.9fat, setup.disk,
  4. setup.kfs, update \- administration for local file systems
  5. .SH SYNOPSIS
  6. .B pc/bootfloppy
  7. .I floppydisk
  8. .I plan9.ini
  9. .br
  10. .B pc/bootplan9
  11. .I /dev/sdXX
  12. .br
  13. .B pc/bootwin9x
  14. .br
  15. .B pc/bootwinnt
  16. .br
  17. .B pc/personalize
  18. .br
  19. .B pc/setup.9fat
  20. .I /dev/sdXX/9fat
  21. .I plan9.ini
  22. .br
  23. .B pc/setup.disk
  24. .I /dev/sdXX
  25. .I plan9.ini
  26. .br
  27. .B pc/update
  28. .PD
  29. .SH DESCRIPTION
  30. These programs help maintain a file system on a local disk for a private machine.
  31. .PP
  32. .I Setup.disk
  33. partitions a disk
  34. and makes a new file system on the disk.
  35. It then calls
  36. .IR setup.9fat ,
  37. .IR update ,
  38. and
  39. .I personalize
  40. to initialize the file system.
  41. .PP
  42. .I Setup.9fat
  43. formats the named
  44. .I 9fat
  45. partition,
  46. installing
  47. .BR /386/9load ,
  48. .BR /386/9pcdisk ,
  49. and the named
  50. .I plan9.ini
  51. file.
  52. .PP
  53. .I Update
  54. copies the current kernel to the disk and updates
  55. files on the local file system by copying them from the main file server
  56. (named by the environment variable
  57. .BR $fileserver ).
  58. The files it updates are specified by the
  59. .IR mkfs (8)
  60. prototype file
  61. .BR /sys/lib/sysconfig/proto/386proto .
  62. .PP
  63. .I Personalize
  64. removes the contents of the
  65. .B /usr
  66. directory on the local disk and copies a minimal set of files for
  67. the user who runs the command.
  68. .PP
  69. The boot scripts prepare various ways to bootstrap Plan 9.
  70. .I Bootfloppy
  71. creates a boot floppy containing
  72. .BR 9load ,
  73. a zeroed 512-byte
  74. .BR plan9.nvr ,
  75. and the named file as
  76. .BR plan9.ini .
  77. .I Bootplan9
  78. sets the
  79. .B 9fat
  80. partition to be the active partition, the one
  81. used at boot time.
  82. .I Bootwin9x
  83. edits the files
  84. .BR config.sys ,
  85. .BR msdos.sys ,
  86. and
  87. .B autoexec.bat
  88. on the drive mounted by
  89. .B c:
  90. to provide Plan 9
  91. as a boot menu option.
  92. These system files are first backed up
  93. as
  94. .BR config.p9 ,
  95. .BR msdos.p9 ,
  96. and
  97. .BR autoexec.p9 .
  98. .I Bootwinnt
  99. edits the Windows NT
  100. boot loader menu contained in
  101. the first FAT partition's
  102. .I boot.ini
  103. to provide Plan 9
  104. as an option.
  105. It is first backed up as
  106. .IR boot.p9 .
  107. If backup files already exist,
  108. .I bootwin9x
  109. and
  110. .I bootwinnt
  111. do nothing.
  112. .SH FILES
  113. .TF /sys/lib/sysconfig/proto/
  114. .TP
  115. .B /sys/lib/sysconfig/proto/
  116. .IR Mkfs (8)
  117. prototype files.
  118. .SH SOURCE
  119. .B /rc/bin/pc/*
  120. .SH "SEE ALSO"
  121. .IR kfs (4),
  122. .IR 9boot (8),
  123. .IR mkfs (8),
  124. .IR prep (8),
  125. .IR sd (3)
  126. .br
  127. ``Installing the Plan 9 Distribution''.