Re: idea: SIGDIRCH, ftpd, efs

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 7 May 1997 21:08:53 +0100 (BST)


> > Now let's say you expand the proposal to include presenting a list of
> > directories to watch, you still have problems with NFS and ftp. And
> > then you'll ned some mechanism to tell which directory changed, or
> > you'll just have to scan them all.
>
>select() on directories instead of a signal?

This was proposed at Usenix (and various other times too). I think its the
right answer and at Usenix Linus said if someone did it he'd consider the
code..

He did object went I suggested you could then select on /proc and wait
for processes to die/create ;)