home *** CD-ROM | disk | FTP | other *** search
INI File | 1993-06-25 | 601 b | 25 lines |
- [...]
- >
- > For instance, when expanding or copying to a new rootfs, you should
- > do that here:
- >
- > (cd /; tar clf - .) | ( cd /mnt; tar xvf -)
- >
- > Whereas /mnt is a mounted entry to the new root-partition.
- > This trick is also the best and fastest way to copy large directory-
- > trees.
-
- Try this out:
-
- % dump 0f - /dev/<oldroot> | (cd /mnt; restore rf -)
-
- (Having done this on a number of Suns recently :)
-
- Use "restore rvf -" if you're feeling masochistic :)
-
- I'm not sure about NetBSD, but with SunOS, you have to run an
- "installboot" program to fix up check summing in the boot block.
-
- Darren
-
-