Date: Wed, 17 Oct 2007 07:27:51 +0000 (UTC) From: Stefan Esser <se@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/locate/locate locate.rc updatedb.sh Message-ID: <200710170727.l9H7Rpk3028513@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
se 2007-10-17 07:27:51 UTC
FreeBSD src repository
Modified files:
usr.bin/locate/locate locate.rc updatedb.sh
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.
The comments in locate.rc have been updated to reflect the change and
o include zfs and xfs in the example file system parameter that can
be used to override the default outlined above.
PR: 114101
Submitted by: rodrigc at crodrigues dot org (Craig Rodrigues)
MFC: 2 weeks
Revision Changes Path
1.11 +6 -2 src/usr.bin/locate/locate/locate.rc
1.22 +3 -1 src/usr.bin/locate/locate/updatedb.sh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710170727.l9H7Rpk3028513>
