Module Name: src Committed By: joerg Date: Sun Jun 3 21:42:47 UTC 2012
Modified Files: src/bin/ps: ps.1 src/distrib/amd64/cdroms: install.sh src/distrib/amd64/installimage: install.sh src/distrib/i386/cdroms: install.sh src/distrib/i386/installimage: install.sh src/distrib/sparc64/cdroms/installcd: install.sh src/distrib/sparc64/instfs: dot.profile src/etc/rc.d: sysdb src/include: paths.h stdlib.h src/lib/libc/gen: devname.3 devname.c ttyname.3 ttyname.c src/lib/libc/include: namespace.h src/share/man/man5: rc.conf.5 src/tests/include: t_paths.c src/usr.sbin/dev_mkdb: Makefile dev_mkdb.8 dev_mkdb.c Log Message: Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to depend on new devname_r(3) as heart. Add /dev/pts magic directly to devname(3). While it can lead to returning non-existing paths, the behavior is more consistent that way. Drop caching layer in devname(3), it doesn't buy anything for the common case of having access to the database. Teach devname(3) proper fallback behavior of scanning /dev. Create both old-style and new-style database for now in /etc/rc.d/sysdb. To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/bin/ps/ps.1 cvs rdiff -u -r1.2 -r1.3 src/distrib/amd64/cdroms/install.sh cvs rdiff -u -r1.1 -r1.2 src/distrib/amd64/installimage/install.sh cvs rdiff -u -r1.2 -r1.3 src/distrib/i386/cdroms/install.sh cvs rdiff -u -r1.1 -r1.2 src/distrib/i386/installimage/install.sh cvs rdiff -u -r1.2 -r1.3 src/distrib/sparc64/cdroms/installcd/install.sh cvs rdiff -u -r1.6 -r1.7 src/distrib/sparc64/instfs/dot.profile cvs rdiff -u -r1.23 -r1.24 src/etc/rc.d/sysdb cvs rdiff -u -r1.40 -r1.41 src/include/paths.h cvs rdiff -u -r1.98 -r1.99 src/include/stdlib.h cvs rdiff -u -r1.11 -r1.12 src/lib/libc/gen/devname.3 cvs rdiff -u -r1.21 -r1.22 src/lib/libc/gen/devname.c cvs rdiff -u -r1.23 -r1.24 src/lib/libc/gen/ttyname.3 cvs rdiff -u -r1.24 -r1.25 src/lib/libc/gen/ttyname.c cvs rdiff -u -r1.153 -r1.154 src/lib/libc/include/namespace.h cvs rdiff -u -r1.151 -r1.152 src/share/man/man5/rc.conf.5 cvs rdiff -u -r1.11 -r1.12 src/tests/include/t_paths.c cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/dev_mkdb/Makefile cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/dev_mkdb/dev_mkdb.8 cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/dev_mkdb/dev_mkdb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.