cvs commit: src/usr.bin/locate/locate updatedb.sh
Alfred Perlstein
alfred at freebsd.org
Wed Oct 17 08:26:32 PDT 2007
* Dag-Erling Sm??rgrav <des at des.no> [071017 05:33] wrote:
> Alfred Perlstein <alfred at freebsd.org> writes:
> > Ceri Davies <ceri at submonkey.net> 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
More information about the cvs-src
mailing list