cvs commit: src/usr.bin/locate/locate updatedb.sh
ceri at submonkey.net
Tue Oct 16 03:37:31 PDT 2007
On Mon, Oct 15, 2007 at 10:09:19PM +0000, Stefan Esser wrote:
> se 2007-10-15 22:09:19 UTC
> FreeBSD src repository
> Modified files:
> usr.bin/locate/locate updatedb.sh
> Make the updatedb script installed as /usr/libexec/locate.updatedb
> inspect all local file systems, not only ufs and ext2fs. A number
> of local file systems has been added over time, and at least zfs
> has the potential to become a popular choice. Without this change
> a ZFS root file system causes the script to ignore all file-systems
> and leads to an empty locate db. (An alternative is to add all the
> relevant file systems individually, which means that at least zfs,
> xfs, ntfs, ntfs-3g, msdosfs should be added, probably more).
This now includes /dev, /dev/fd, /proc, /compat/linux/proc, CD-ROMs and DVDs
as well as duplicating everything in nullfs mounts, all of which are probably
undesirable -- well, they are undesirable to me; whether they are to
others is the question ;-).
Also, the example in /etc/locate.rc should be updated to avoid
misleading users into thinking that ufs is the only filesystem searched
(granted, this was wrong before).
That must be wonderful! I don't understand it at all.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20071016/e35f27aa/attachment.pgp
More information about the cvs-src