Add ZFS to locate.updatedb

Scot Hetzel swhetzel at gmail.com
Tue Apr 24 14:00:17 UTC 2007


On 4/24/07, Craig Rodrigues <rodrigc at crodrigues.org> wrote:
> On Tue, Apr 24, 2007 at 05:18:48PM +0900, Alexander Nedotsukov wrote:
> > -: ${FILESYSTEMS:="ufs ext2fs"}                        # allowed filesystems
> > +: ${FILESYSTEMS:="ufs ext2fs zfs"}            # allowed filesystems
> >  : ${find:=find}
>
> Why restrict it to just those three file systems?
> How about allowing more file systems, for example:
>
> lsvfs | egrep -v 'loopback|network|synthetic|read-only|^\-|^File'
>
There is no need to specify all the supported filesystems in
locate.updatedb, as you can specify them in /etc/locate.rc.

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-current mailing list