From owner-freebsd-questions Sat Jul 6 5:19: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CD9537B400 for ; Sat, 6 Jul 2002 05:19:02 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id E225843E3B for ; Sat, 6 Jul 2002 05:19:00 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g66CIrYn016235; Sat, 6 Jul 2002 13:18:53 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g66CIlmw016234; Sat, 6 Jul 2002 13:18:47 +0100 (BST) Date: Sat, 6 Jul 2002 13:18:47 +0100 From: Matthew Seaman To: Lee Cc: freebsd-questions@FreeBSD.ORG Subject: Re: File System Monitoring Message-ID: <20020706121847.GD7912@happy-idiot-talk.infracaninophi> References: <002701c2245b$bc1f7fc0$6400a8c0@Administrator> <20020706104547.GB7912@happy-idiot-talk.infracaninophi> <001901c224dc$6726db40$6400a8c0@Administrator> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001901c224dc$6726db40$6400a8c0@Administrator> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jul 06, 2002 at 12:00:53PM +0100, Lee wrote: > > What I have though about doing is something like this. > > ---------------------- > find /etc /usr /sbin /bin > $HOME/before_install.txt > ./configure > make > make test > make install > find /etc /usr /sbin /bin > $HOME/after_install.txt > diff $HOME/before_install.txt $HOME/after_install.txt | less > ---------------------- > > Is anyone aware of any problems with doing it this way. > That will only tell you about the file names that have been added or deleted. If you want to pick up some more detail, you can use find(1)'s `-ls' flag: find /etc /usr /sbin /bin -ls > $HOME/before_install.txt which will show files that have changed in size, ownership, permissions, link count, last modification time or inode (ie that have been deleted and recreated) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message