How to make sendmail re-read the configuration file (and cron)

Chris Torek chris at mimsy.UUCP
Tue Jan 20 22:44:22 AEST 1987


In article <2409 at mcc-pp.UUCP> ables at mcc-pp.UUCP (King Ables) writes:
<... I've got a bunch of diskless suns and rather than have a
<different crontab for all the suns on a server, I have all clients
<crontabs point to the real crontab file.  However, when I make a
<change, it doesn't seem to take unless I kill the cron daemon.
<I never even thought of stat()!  Of course, it's stat()ing the
<symbolic link (which hasn't changed!) and not the real file.

That is rather strange if it is.

<Now, the question I have is why would you ever NOT want stat()
<to resolve the link and stat the actual disk file rather than the
<link???

Why?  Suppose you want to find out about the link.  In this case,
use lstat(), which does not follow the link.  The stat() call does
indeed follow symbolic links `and stat the actual disk file'.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
UUCP:	seismo!mimsy!chris	ARPA/CSNet:	chris at mimsy.umd.edu



More information about the Comp.unix.questions mailing list