Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 1996 00:37:38 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org, davidg@freefall.freebsd.org
Subject:   Re: cvs commit:  src/usr.bin/locate/locate updatedb.csh updatedb.sh
Message-ID:  <199603051337.AAA06109@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Modified:    usr.bin/locate/locate  updatedb.csh updatedb.sh
>  Log:
>  Use '-fstype ufs' rather than '-fstype local' on the find command to avoid
>  special non-filesystems like procfs from being included.

This breaks non-special filesystems such as cd9660, msdosfs and ext2fs.
It will be easier to fix properly when the Lite2 find is imported (the
4.4Lite find only knows about a few fstypes, not including procfs).

I don't really want to re-create the database every week for the cdrom
that happens to be mounted, but I want cdrom filenames in the database.
gnu locate supports multiple databases (specified in the environment
variable LOCATE_PATH IIRC).  This allows the cdrom databases to be
kept separately and merged when locate is run.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603051337.AAA06109>