On Mon, Oct 09, 2006 at 09:54:36PM +0200, Mario Giammarco wrote:
> Thanks for quick reply. Unfortunately in this case logrotate is not an option.
> Is it possible to update the snapshot not each night but when cache is full?

The problem is, if you have a 1GB file on the hard disk (which would be a ro
branch for unionfs), whenever you append to it, Unionfs will copy the entire
file into the rw branch, and append the data there. So, with a 4GB flash
disk, all you have to do is append to 8, 512MB files stored on the disk, and
your flash is full.

> But I would like to recycle the idea in another computer. This time with 
> smaller files. Is it possible to force unionfs to put in flash disk not only 
> files written but also files read? Like  cache fs (unionfs is not vaporware)?

Long time ago, Unionfs used to copy up the files from read only branches
whenever you accessed them (pre 1.0.10, I think). I wouldn't really
recommend using such old versions unless you really have a good reason to.

Jeff.

-- 
*NOTE: This message is ROT-13 encrypted twice for extra protection*
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to