On Wed Sep 27, 2000 at 11:55:34AM -0500, Richard A. Smith wrote:
> On Wed, 27 Sep 2000 05:02:03 -0700, peter johnson wrote:
> 
> >Puh-leez!
> >Use flush(2) after each write of critical data and the imagined disaster
> >will not occur.  I wonder where "decision makers" get their
> >disinformation???
> 
> I'm sure that all those people working on riserfs and ext3 will be happy to know 
>that you 
> have solved all thier problems with one system call.  *grin*
> 

I've found this is about as safe as such things can get...

    mount / -o remount,rw,nodiratime,noatime,sync
    <write stuff>
    <move the stuff you wrote to its final position (on top of existing files)>
    mount / -o remount,ro

 -Erik

--
Erik B. Andersen   email:  [EMAIL PROTECTED]
--This message was written using 73% post-consumer electrons--

--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to