On Fri, Sep 15, 2000 at 11:39:28AM +0200, Petr Novotny wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 15 Sep 2000, at 11:32, Peter van Dijk wrote:
> 
> > AFAIK, mounting 'sync' means any and all update-operations will go to
> > disk immediately, and the system call won't return until a write is
> > done. 'nosync' takes this guarantee away.
> 
> That's what 'asyns' does (it's the default). I thought there was also 
> a 'nosync' option, which effectively turned sync()/fsync() calls to 
> noops. My manpage is silent though; I may have invented the 
> 'nosync' option subconsciously. :-)

Hmm. From man mount on FreeBSD 4:

             async   All I/O to the file system should be done asynchronously.
                     This is a dangerous flag to set, and should not be used
                     unless you are prepared to recreate the file system
                     should your system crash.

             noasync
                     Metadata I/O should be done synchronously, while data I/O
                     should be done asynchronously.  This is the default.

             sync    All I/O to the file system should be done synchronously.   

Greetz, Peter.
-- 
[ircoper]        [EMAIL PROTECTED] - Peter van Dijk / Hardbeat
[student]        Undernet:#groningen/wallops | IRCnet:/#alliance
[developer]                                _____________
[disbeliever - the world is backwards]    (__VuurWerk__(--*-

Reply via email to