Re: True ACID under linux (no fsync)? - Mailing list pgsql-general

From markw
Subject Re: True ACID under linux (no fsync)?
Date
Msg-id 39FF2F5A.B014A180@mohawksoft.com
Whole thread Raw
In response to Re: True ACID under linux (no fsync)?  (shawn everett <everett@pgweb.com>)
List pgsql-general
shawn everett wrote:

> I may be horriblly out of my element here but, I'm going to jump in anyway
> :)
>
> If you mount a floppy and copy a large file to it, you will get a prompt
> back fairly quickly.
>
> If you type: sync right after
>
> The sync command writes everything to the floppy as expected.

Yes, but does cp call fsync()? That is the question. I would suspect that it does not. A non-functional fsync call is a
serious error, and one should think more people would mention it. This is the first I have heard.

>
>
> Shawn
>
> On Tue, 31 Oct 2000, markw wrote:
>
> > "Gary Howland (During daytime)" wrote:
> >
> > > Hi,
> > >
> > > Just a quickie - I heard that linux does not have a working fsync() call
> > > (it has no concept of raw devices).  In other words, fsync cannot be used
> > > to ensure that data is on disk (try it with a floppy - it returns IMMEDIATELY!!! - long before the write
finishes)
> >
> > Are you sure? Where is this information?
> >
> >
> > > This is for ALL linuxes.
> > >
> > > Does this mean that postgres is unrealiable (or non ACID-conforming) under linux?
> > >
> > > Gary
> > >
> > > --
> > > Friends help you move.
> > > Real friends help you move bodies.
> > >
> > > _______________________________________________________________________
> > >
> > > Free Unlimited Internet Access! Try it now!
> > > http://www.zdnet.com/downloads/altavista/index.html
> > >
> > > _______________________________________________________________________
> >
> >
> >


pgsql-general by date:

Previous
From: "Steve Wolfe"
Date:
Subject: Re: how good is PostgreSQL
Next
From: "Kevin O'Gorman"
Date:
Subject: Re: how good is PostgreSQL