From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 27 09:33:40 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6C8016A4BF for ; Wed, 27 Aug 2003 09:33:40 -0700 (PDT) Received: from bilver.wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 669FC43FE9 for ; Wed, 27 Aug 2003 09:33:36 -0700 (PDT) (envelope-from bv@wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by bilver.wjv.com (8.12.9/8.12.9) with ESMTP id h7RGXVCE076796 for ; Wed, 27 Aug 2003 12:33:31 -0400 (EDT) (envelope-from bv@wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.9/8.12.9/Submit) id h7RGXUCq076795 for freebsd-hackers@freebsd.org; Wed, 27 Aug 2003 12:33:30 -0400 (EDT) Date: Wed, 27 Aug 2003 12:33:30 -0400 From: Bill Vermillion To: freebsd-hackers@freebsd.org Message-ID: <20030827163330.GA76627@wjv.com> References: <20030827160550.F093316A534@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030827160550.F093316A534@hub.freebsd.org> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-4.5 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: Minimalist FreeBSD 4.8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bv@wjv.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 16:33:41 -0000 While humming that old rock song Yackety Yacc - Dont Awk Back freebsd-hackers-request@freebsd.org sang or SED something like this: > ------------------------------ > Message: 10 > Date: Wed, 27 Aug 2003 10:53:38 +1000 > From: Greg Black > Subject: Re: Minimalist FreeBSD 4.8 > To: Diomidis Spinellis > Cc: freebsd-hackers@freebsd.org > Message-ID: > Content-Type: text/plain; charset=us-ascii > On 2003-08-26, Diomidis Spinellis wrote: > > > Tyler Kellen wrote: > > > > > The information I'm looking to aquire is the absolute > > > minimum files required to boot FreeBSD 4.8 into multi-user > > > mode. If this involves deleting a massive amount of > > > directories and files, or setting up a new drive and > > > copying only the needed files, I think I can make it work. > > You can use the system the way you intent to for two weeks, > > and then run > > find / -atime +2w -print0 | xargs -0 rm -f > > This command will delete all files that have not been > > accessed within the last two weeks. > And it would also remove things like find and xargs and all the > other system binaries -- their atime does not get changed when > they are executed. Check your facts before giving this kind of > advice. And if you had an entry like this in your /etc/fstab file it could cause some suprises too. # Device Mountpoint FStype Options Dump Pass# ...[deleted - only left significant line - wjv] /dev/da0s1f /usr ufs rw,noatime 2 2 This has among other things a new hierarchy and in this underpowered system I saw no need to write atimes to the inode which are probably going to be gone in two weeks anyway. atime is probably not needed in the vast majority of systems IMO. Bill -- Bill Vermillion - bv @ wjv . com