freebsd-dev/usr.sbin/newsyslog
Mark Johnston 3cc26586e6 Some filesystems (NFS in particular) do not fill out the d_type field when
returning directory entries through readdir(3). In this case we need to
obtain the file type ourselves; otherwise newsyslog -t will not be able to
find archived log files and will fail to both delete old log files and to
do interval-based rotations properly.

Reported by:	jilles
Reviewed by:	jilles
MFC after:	2 weeks
2013-05-12 01:58:04 +00:00
..
extern.h
Makefile
newsyslog.8 Have -n imply -r, since dry-run mode obviously doesn't require root 2013-01-03 16:12:48 +00:00
newsyslog.c Some filesystems (NFS in particular) do not fill out the d_type field when 2013-05-12 01:58:04 +00:00
newsyslog.conf.5 mdoc: fix mandoc "Oc breaks Op" warning. 2012-06-09 09:54:07 +00:00
pathnames.h Add xz(1) support to newsyslog. 2011-01-31 10:57:54 +00:00
ptimes.c