Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2002 13:18:47 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Lee <lee@unassemble.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: File System Monitoring
Message-ID:  <20020706121847.GD7912@happy-idiot-talk.infracaninophi>
In-Reply-To: <001901c224dc$6726db40$6400a8c0@Administrator>
References:  <002701c2245b$bc1f7fc0$6400a8c0@Administrator> <20020706104547.GB7912@happy-idiot-talk.infracaninophi> <001901c224dc$6726db40$6400a8c0@Administrator>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020706121847.GD7912>