freebsd-nq/usr.sbin/services_mkdb
Stefan Eßer fde0af719b Remove O_SYNC from the options passed to dbmopen().
The services db is created as a temporary file that is moved over the
existing file after completion. Thus there is no need to immediately
flush all created db records to the temporary file.

This speeds up creation of the services db by a factor of 500 on my
ZFS based /var/db filesytem (from 110 seconds to 0.235 seconds).

MFC after:	1 week
2016-02-10 09:40:45 +00:00
..
extern.h
Makefile
Makefile.depend
services_mkdb.8
services_mkdb.c Remove O_SYNC from the options passed to dbmopen(). 2016-02-10 09:40:45 +00:00
uniq.c