From owner-cvs-src@FreeBSD.ORG Wed Oct 17 15:26:32 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFE4616A419; Wed, 17 Oct 2007 15:26:32 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 62A0D13C468; Wed, 17 Oct 2007 15:26:32 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 4AD771A4D80; Wed, 17 Oct 2007 08:26:32 -0700 (PDT) Date: Wed, 17 Oct 2007 08:26:32 -0700 From: Alfred Perlstein To: Dag-Erling Sm??rgrav Message-ID: <20071017152632.GN31826@elvis.mu.org> References: <200710152209.l9FM9Jv3017150@repoman.freebsd.org> <20071016102013.GE23043@submonkey.net> <4714F06B.7070702@FreeBSD.org> <20071016225906.GK23043@submonkey.net> <20071017122837.GM31826@elvis.mu.org> <86y7e1ex9i.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86y7e1ex9i.fsf@ds4.des.no> User-Agent: Mutt/1.4.2.3i Cc: Stefan Esser , cvs-src@FreeBSD.org, Ceri Davies , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/locate/locate updatedb.sh X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 15:26:32 -0000 * Dag-Erling Sm??rgrav [071017 05:33] wrote: > Alfred Perlstein writes: > > Ceri Davies writes: > > > While userland can tell if a filesystem is pseudo or not, (see > > > lsvfs), I'm not sure that we can reliably tell whether a device is > > > removable or not (cf. my camera, USB key, iPod, etc.). > > fstab(5) gives some hints, "noauto" would be a giveaway as well as > > value of 0 for 'fs_passno' is also a hint. > > No, fs_passno is pretty much always zero except for UFS / UFS2. That is because we do not have checkers for the filesystems which we should. -- - Alfred Perlstein