Files under src/ not used for building world

From: Ulrich Spörlein <uqs_at_spoerlein.net>
Date: Fri, 5 Nov 2010 21:25:36 +0100
Hey folks, not sure why, but I had a stab at looking which files were
actually read during building world.

Method went something like this:

(turn on atime)
# find . -exec touch {} +
# sleep 2; touch timestamp
# make buildworld buildkernel installworld installkernel (this is on amd64)
# make universe
# make distribution DESTDIR=/foo
# mergemaster (I think this is redundant)
# find . -name .svn -prune -or -not -anewer timestamp

Please note that I skipped 'make release' as I don't know all the
parameters off-hand.

The list of files (tools/ removed) can be seen at
https://www.spoerlein.net/pub/untouched_files

Here are some curiosities (cddl/, gnu/, contrib/, and crypto/ skipped):

bin/sh/bltin/echo.1
etc/periodic/security/610.ipf6denied
include/hesiod.h
include/rpcsvc/pmap_prot.x
lib/libarchive/archive_crc32.h
lib/libarchive/libarchive_internals.3
lib/libautofs/Makefile
lib/libautofs/libautofs.3
lib/libautofs/libautofs.c
lib/libautofs/libautofs.h
lib/libc/sys/kse.2
lib/libc/xdr/xdr_sizeof.c
lib/libc_r/*   # we can remove that from head, right?
lib/libkse/*   # dito
lib/libmd/mddriver.c
lib/libmd/rmddriver.c
lib/libmd/shadriver.c
lib/msun/src/s_fabs.c
lib/msun/src/s_modf.c
sbin/bsdlabel/bsdlabel.5 # eh?
sbin/mount/getmntopts.3
sbin/mount_autofs/Makefile
sbin/mount_autofs/mount_autofs.8
sbin/mount_autofs/mount_autofs.c
sbin/mount_ext2fs/Makefile
sbin/mount_ext2fs/mount_ext2fs.8
sbin/mount_ext2fs/mount_ext2fs.c
sbin/mount_hpfs/Makefile
sbin/mount_hpfs/mount_hpfs.8
sbin/mount_hpfs/mount_hpfs.c
sbin/mount_reiserfs/Makefile
sbin/mount_reiserfs/mount_reiserfs.8
sbin/mount_reiserfs/mount_reiserfs.c
sbin/mount_std/Makefile
sbin/mount_std/mount_std.8
sbin/mount_std/mount_std.c
usr.bin/cpio/test/*     # move to tools/regression?
usr.bin/csup/fattr_posix.h
usr.bin/ftp/config.h
usr.bin/hesinfo/Makefile
usr.bin/hesinfo/hesinfo.1
usr.bin/hesinfo/hesinfo.c
usr.bin/objformat/Makefile
usr.bin/objformat/objformat.sh  # delete?
usr.bin/setchannel/Makefile
usr.bin/setchannel/setchannel.1
usr.bin/setchannel/setchannel.c
usr.sbin/cxgbtool/*
usr.sbin/gpioctl        # wtf? my system has MK_GPIO=no set?
usr.sbin/kernbb
usr.sbin/route6d/misc/chkrt
usr.sbin/route6d/misc/cksum.c
usr.sbin/usbdevs/*      # delete? does it work with new stack?


I haven't looked too closely (ie., not at all) at these cases. Please
discuss and happy browsing the list!

The Janitor
Received on Fri Nov 05 2010 - 19:25:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC