cvs commit: src/usr.bin/locate/locate locate.rc

Simon L. Nielsen simon at
Wed Oct 17 03:48:59 PDT 2007

On 2007.10.17 07:27:51 +0000, Stefan Esser wrote:
> se          2007-10-17 07:27:51 UTC
>   FreeBSD src repository
>   Modified files:
>     usr.bin/locate/locate locate.rc 
>   Log:
>   The previous version included too many file system types in the scan,
>   since "local" includes also synthetic file systems (e.g. /dev, /proc)
>   and loopback mounts.
>   This version uses lsvfs to identify file system types that are local
>   and additionally not synthetik, loopback mounts, or read-only. This
>   has been suggested by Craig Rodrigues half a year ago. The patch that
>   has been committed is based on his suggestion, but slightly modified.

Are you sure all read-only file systems should be excluded?  I quite
often have systems with some filesystem mounted read-only (often /),
though granted most of those are "embedded" which doesn't run

Which kind of file systems were you thinking should be excluded by the
RO part which isn't already removed by loopback|network|synthetic ?

I'm not certain read-only shouldn't be excluded, but I just want to
point out there are cases where read-only still might be a local and
interesting file system.

Simon L. Nielsen

More information about the cvs-src mailing list