On the silliness of close() giving EDQUOT

Barry Shein bzs at world.std.com
Sun Oct 21 08:21:42 AEST 1990


From: brnstnd at kramden.acf.nyu.edu (Dan Bernstein)
>I sympathize with what you're trying to say, but have you noticed that
>fsync() isn't required to flush data over NFS, any more than write() is
>required to return EDQUOT correctly? If write()'s errors aren't
>accurate, I don't know how you expect fsync() to work.

I assume by NFS you mean the NFS from Sun. Writes are always
synchronous in NFS or must appear to be (or are non-compliant and
you're on your own.) So fsync() for writes is a no-op and irrelevant
in that case.
-- 
        -Barry Shein

Software Tool & Die    | {xylogics,uunet}!world!bzs | bzs at world.std.com
Purveyors to the Trade | Voice: 617-739-0202        | Login: 617-739-WRLD



More information about the Comp.unix.internals mailing list