> In message <[EMAIL PROTECTED]>, John Polstra writes:
>
> >> ugh, why aren't you extending poll to work on files and directories to
> >> get this info?? it would make MUCH more sense to extend poll to do this..
> >>
> >> any specific reason why it wasn't done this way?
> >
> >Yes. Last time I checked, our CVS repository contained 50,000 files
> >in 13,000 directories. Somehow the thought of a 63,000-element pollfd
> >array leaves me cold.
>
> Sounds like something Bruce would do :-)
He can try it on the repository here:
$ find . -type d | wc -l
8764
$ find . -type f | wc -l
586382
$
It would be one expensive call with that many elements to scan...
>
> - --
> Poul-Henning Kamp FreeBSD coreteam member
> [EMAIL PROTECTED] "Real hackers run -current on their laptop."
> FreeBSD -- It will take a long time before progress goes too far!
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
>
> ------------------------------
>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message