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 
>   Log:
>   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).

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

Attachment: pgpaJPZrisOBk.pgp
Description: PGP signature

Reply via email to