[17403] in Athena Bugs
Re: Solaris clients with filesystem corruption
daemon@ATHENA.MIT.EDU (John Hawkinson)
Thu Dec 2 08:55:33 1999
Date: Thu, 2 Dec 1999 08:55:29 -0500 (EST)
Message-Id: <199912021355.IAA20822@x15-cruise-basselope.mit.edu>
To: Greg Hudson <ghudson@mit.edu>
CC: bugs@mit.edu
In-reply-to: "[17401] in Athena Bugs"
From: John Hawkinson <jhawk@MIT.EDU>
| I can make the problem significantly better by making syncconf create
| new versions of the files and only move them into place if they differ
| from the old versions. I'm not sure if I can fix the problem entirely
| without writing C code, since I don't know how to get a shell script
| to fsync() a file.
The jfc solution to this problem was a helper utility ala
/mit/jfc/src/misc/fsync.c.
Perhaps in this case, though, /usr/bin/sync would be appropriate.
--jhawk
p.s.: Wow, when was filesync(1) implemented? It's a synctree-type thing,
not an fsync-type thing...