On 12/5/06, Joe Advisor <[EMAIL PROTECTED]> wrote:
If this is the case, does this mean that I am in an either / or situation... as 
in, it is not possible to have rapid rewrites and rapid reboot simultaneously.  
Or is sync in cron a reasonable approach?

The best option would be to redesign the code so it doesn't require
rapid recreation of a file on disk.  For example, modification
in-place (perhaps hold the file open and use seek() and fsync()?),
named pipes, or even shared memory might be a better approach.

If changing the code is not an option, but the file to be rewritten is
small and does not need to survive a reboot, you can put it on it's
own RAMdisk partition using mount_mfs.

If it's large or does need to survive a reboot, you can still put it
on a separate partition, and not set softdep on that one partition.

Kevin

Reply via email to