diff options
author | se <se@FreeBSD.org> | 2007-10-17 07:27:51 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 2007-10-17 07:27:51 +0000 |
commit | 3cc917d96eca7bff317a4854042bab69c2fe3c11 (patch) | |
tree | f5bc0fe21579389777c41987b192a72716c8ee64 /usr.bin/last | |
parent | 6d62ad229ec8ad8e81d54a0dc41096a44c04c527 (diff) | |
download | FreeBSD-src-3cc917d96eca7bff317a4854042bab69c2fe3c11.zip FreeBSD-src-3cc917d96eca7bff317a4854042bab69c2fe3c11.tar.gz |
The previous version included too many file system types in the scan,
since "local" includes also synthetic file systems (e.g. /dev, /proc)
and loopback mounts.
This version uses lsvfs to identify file system types that are local
and additionally not synthetik, loopback mounts, or read-only. This
has been suggested by Craig Rodrigues half a year ago. The patch that
has been committed is based on his suggestion, but slightly modified.
The comments in locate.rc have been updated to reflect the change and
o include zfs and xfs in the example file system parameter that can
be used to override the default outlined above.
PR: 114101
Submitted by: rodrigc at crodrigues dot org (Craig Rodrigues)
MFC: 2 weeks
Diffstat (limited to 'usr.bin/last')
0 files changed, 0 insertions, 0 deletions