mounting NFS filesystems directly under the root

Felix Lee flee at shire.cs.psu.edu
Sun Jun 11 03:13:09 AEST 1989


Avoiding NFS-mounts in the root directory is fine.  Except that
SunOS4.0 uses the /tmp/.getwd efficiency hack.

Whenever /etc/mtab is updated, getwd() will try to stat() all the
filesystems mounted to try to update /tmp/.getwd.  If any NFS server
is hosed, all getwd() calls will hang.

This should happen rarely--/etc/mtab doesn't change too often.  Except
when you're using the automounter.

Serendipity.  Sigh.
--
Felix Lee	flee at shire.cs.psu.edu	*!psuvax1!shire!flee



More information about the Comp.unix.wizards mailing list