[comp.mail.mh] close/fclose error status and NFS file systems

mayer@uffa.uucp (Jim Mayer) (01/05/90)

Is there a "standard" fix to the following problem?  MH (including MH6.6)
while generally pretty good about checking error status returns does not
check the return status from "close" system calls.  This almost never causes
trouble when the file is on a locally mounted (4.2 in Sun parlance) file
system.  Unfortunately, it is a disaster when using remote (NFS) file systems.

What happens?  Well, NFS buffers up requests (write-behind) until it has
about 8K or so of data.  If an error occurs during the physical write
(e.g. no space on device) it will not be reported until the next write or
the close.

I would be very interested in locating any patches to this problem.

-- Jim Mayer
                                        Xerox Webster Research Center
Phone: (716) 422-9407  FAX: x2126       800 Phillips Road, 0128-29E
Internet: mayer.wbst128@xerox.com       Webster, New York 14580


--
-- Jim Mayer
                                        Xerox Webster Research Center
Phone: (716) 422-9407  FAX: x2126       800 Phillips Road, 0128-29E
Internet: mayer.wbst128@xerox.com       Webster, New York 14580