Ben Ruset wrote:
Tar isn't really cloning. :)
For Linux it sure is, you don't have any nasty things like a registry to
get in your way. Fresh format file system is always cleaner than a
partition or sector image.
Using Mcat (multicast cat)
(Master)
#!/bin/sh
mount /dev/hda3 /mnt
cd /mnt
tar clp --numeric-owner --totals . | udp-sender --full-duplex
--max-bitrate 30m
(Clients)
#! /bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/bin:/usr/local/sbin
echo "Reformating..."
umount /dev/hda3
mkfs.ext2 /dev/hda3
mkswap /dev/hda2
echo "Mounting..."
mount /dev/hda3 /mnt
cd /mnt
echo "Joining multicast..."
udp-receiver --rcvbuf 50m --nokbd | tar xlp --numeric-owner --totals
echo "Enabling journal"
tune2fs -j /dev/hda3
sync
echo "Fixup grub"
echo -e "root (hd0,2)\nsetup (hd0)" | grub --batch --no-floppy
echo "Done."
/sbin/reboot
Ghost4UNIX is. And it's free.
I might look at that...
Harry