imapd and synchronous writes

Marc J. Fraioli (fraioli@dg-rtp.dg.com)
Wed, 6 Mar 1996 22:23:03 -0500 (EST)


Hey-

I'm looking at the docs for CMU's cygnus IMAP server, and came
across the following warning in a README:

8. LINUX SYSTEMS ONLY: Set the configuration, user, quota, and
partition directories to update synchronously. Failure to do this
may lead to data corruption and/or loss of mail after a system
crash.

cd /var/imap
/sbin/chattr +S . user quota
/sbin/chattr +S /var/spool/imap

Also set the queue directory of the mail daemon to update
synchronously. The following example is for sendmail:

/sbin/chattr +S /var/spool/mqueue

What is the reason for this? Won't this hurt performance on a
well loaded system? Also, the notes mention that they only used
Linux 1.2.13-- is this something that is no longer necessary with
that later 1.3.x kernels? (I have 1.3.70) Basically, what is this
all about, and what's wrong with Linux that it's necessary?

Thanks,

Marc Fraioli
fraioli@dg-rtp.dg.com