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

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

Alfred Perlstein <alfred at> writes:
> Ceri Davies <ceri at> 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.

Dag-Erling Smørgrav - des at

More information about the cvs-src mailing list