cvs commit: src/usr.bin/locate/locate updatedb.sh

Dag-Erling Smørgrav des at des.no
Wed Oct 17 05:33:39 PDT 2007


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.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list