On Sat, 26 Aug 2006 08:49:23 +0800 (CST), Stephen Liu wrote:

> I'm searching a tool/method whenever I save a file on /home/user a
> duplicate copy will be saved automatically on
> /mnt/point/of/usb_enclosure/home/user simultaneously, similar to
> replication/mirroring.   Thus the USB enclosure can be used as a mobile
> storage device and can be plugged in on any Linux PC.

You could set up a RAID-1 array on the two devices. Auto-detect RAID
information is saved at the end of the device, so it can still be used as
a standalone drive/partition when connected to something else. One
advantage of RAID is that if you run with the device disconnected and
then connect it, the RAID will be updated in the background.

I've not tried this, so don't blame me if you lose data or your cat
catches fire :(


-- 
Neil Bothwick

BUFFERS=20 FILES=15 2nd down, 4th quarter, 5 yards to go!

Attachment: signature.asc
Description: PGP signature

Reply via email to