freebsd-dev/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 Similar to cap_mkdb(1), add endianness support to services_mkdb(1) 2014-01-22 16:50:18 +00:00
Makefile Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
services_mkdb.8 Similar to cap_mkdb(1), add endianness support to services_mkdb(1) 2014-01-22 16:50:18 +00:00
services_mkdb.c Remove O_SYNC from the options passed to dbmopen(). 2016-02-10 09:40:45 +00:00
uniq.c