home *** CD-ROM | disk | FTP | other *** search
/ Amiga GigaPD 3 / Amiga_GigaPD_v3_3of3.iso / netbsd / docs / mailinglist-archive / 1993-08 / text0009.txt < prev    next >
Encoding:
INI File  |  1993-06-25  |  601 b   |  25 lines

  1. [...]
  2. > For instance, when expanding or copying to a new rootfs, you should 
  3. > do that here:
  4. >  (cd /; tar clf - .) | ( cd /mnt; tar xvf -)
  5. > Whereas /mnt is a mounted entry to the new root-partition.
  6. > This trick is also the best and fastest way to copy large directory-
  7. > trees.
  8.  
  9. Try this out:
  10.  
  11. % dump 0f - /dev/<oldroot> | (cd /mnt; restore rf -)
  12.  
  13. (Having done this on a number of Suns recently :)
  14.  
  15. Use "restore rvf -" if you're feeling masochistic :)
  16.  
  17. I'm not sure about NetBSD, but with SunOS, you have to run an
  18. "installboot" program to fix up check summing in the boot block.
  19.  
  20. Darren
  21.  
  22.