From owner-freebsd-current@FreeBSD.ORG Fri Nov 5 20:25:38 2010 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 367C11065672 for ; Fri, 5 Nov 2010 20:25:38 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2001:470:9a47::1]) by mx1.freebsd.org (Postfix) with ESMTP id A748F8FC1D for ; Fri, 5 Nov 2010 20:25:37 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [IPv6:::1]) by acme.spoerlein.net (8.14.4/8.14.4) with ESMTP id oA5KPaB9060889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 5 Nov 2010 21:25:36 +0100 (CET) (envelope-from uqs@spoerlein.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=spoerlein.net; s=dkim200908; t=1288988736; bh=WJfUS6nyxPYH5bH0kVUt7/6N44k0OmS/h2p7AIVujCs=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=VzNqcSzstcQtq6dVEFj+VkjmwOKZltG4cYFPIDGdZrtVe4sxAUR5NPW9gjbtwp1a6 Gwt2n4pIIgZxCKA8VQbfVhtgsBU2kEXxz80vdOoSubg52BGlAQ2OUoZLYHnvYipOg1 55a3/YbTOrZHWdHNdjGn41hd0/sI+KCGKcgGO+WI= Received: (from uqs@localhost) by acme.spoerlein.net (8.14.4/8.14.4/Submit) id oA5KPadK060888 for current@FreeBSD.org; Fri, 5 Nov 2010 21:25:36 +0100 (CET) (envelope-from uqs@spoerlein.net) Date: Fri, 5 Nov 2010 21:25:36 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: current@FreeBSD.org Message-ID: <20101105202536.GR85693@acme.spoerlein.net> Mail-Followup-To: current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Files under src/ not used for building world X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 20:25:38 -0000 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