upgrade questions 4.10 -> 5-stable

Brooks Davis brooks at one-eyed-alien.net
Thu Sep 23 11:37:58 PDT 2004


On Thu, Sep 23, 2004 at 10:30:59AM -0700, Dariusz Kulinski wrote:
> Hello Bruce,
> 
> Thursday, September 23, 2004, 8:54:19 AM, you wrote:
> 
> >> What about directories that I definitively shouldn't restore, for
> >> example:
> >> /usr/include /usr/lib most likely /bin /sbin /usr/bin /usr/sbin /stand
> >> and so on, maybe that could help me better.
> 
> > Here's the deal.  For any of the systems I maintain, I wouldn't
> > restore any of these from backups after a source upgrade because in
> > general, those directories contain *only* files installed from the
> > base system.  But how can I tell how *you* have *your* system set up?
> 
> Well, I'm avoiding to change anything in system files, and all
> additional stuff I'm actually putting in /usr/local.
> 
> I'm interested about directories that are changed by system/system
> programs - I belive most confusing is /var in theory there shouldn't
> be anything important there (well except logs), but I already noticed
> there is mail, crontab jobs, informations what ports were installed
> even mysql port install database there. 

By design /var contains things that change frequently during system
operation, not things that are unimportant.  Thing in /var/run and
/var/tmp are required to be things you can lose, but many of the rest of
the directories are of crucial importance.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040923/c531b83d/attachment.bin


More information about the freebsd-stable mailing list