Hi,

On Mon, Apr 10, 2000 at 01:47:29PM +0100, Alan Cox wrote:
> 
> One possible approach would be to fsync the file when the flush handler
> is called if the device has some flag set on it. That would cause the I/O
> to behave as normal but at the point you close a file to all get committed
> to disk.

You need to be more clever than that if it's ext2, or else you
will still get fs warnings about needing fsck if you remove the
active media.  Worse, you risk the filesystem stomping over the 
_next_ media you insert which gets the same block device number.

--Stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to