home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / 4BSD / Distributions / 4.3BSD-Quasijarus0 / miniroot.Z / miniroot / xtr < prev   
Encoding:
Text File  |  1998-12-25  |  569 b   |  24 lines

  1. : ${disk?'Usage: disk=xx0 tape=yy xtr'}
  2. : ${tape?'Usage: disk=xx0 tape=yy xtr'}
  3. echo 'Build root file system'
  4. newfs ${disk}a
  5. sync
  6. echo 'Check the file system'
  7. fsck /dev/r${disk}a
  8. mount /dev/${disk}a /a
  9. cd /a
  10. echo 'Rewind tape'
  11. mt -f /dev/${tape}0 rew
  12. echo 'Restore the dump image of the root'
  13. restore rsf 3 /dev/${tape}0
  14. cd /
  15. sync
  16. umount /dev/${disk}a
  17. sync
  18. fsck /dev/r${disk}a
  19. echo 'Root filesystem extracted'
  20. echo
  21. echo 'If this is an 8650 or 8600, update the console rl02'
  22. echo 'If this is a 780 or 785, update the floppy'
  23. echo 'If this is a 730, update the cassette'
  24.