Skip site navigation (1)Skip section navigation (2)
Date:      19 Jul 2003 08:48:40 -0700
From:      LLeweLLyn Reese <llewelly@lifesupport.shutdown.com>
To:        netch@lucky.net
Cc:        hackers@freebsd.org
Subject:   Re: complicated downgrade
Message-ID:  <x33ch2o6uf.fsf@lifesupport.shutdown.com>
In-Reply-To: <20030718091248.GO76126@lucky.net>
References:  <20030718091248.GO76126@lucky.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Valentin Nechayev <netch@lucky.net> writes:
[snip]
> 8. Disable all processes except sshd and run the following (saying generally):
> 
>    for D in /bin /sbin /etc /boot /usr/bin /usr/sbin /usr/lib /usr/libexec \
>             /usr/libdata /usr/share /usr/local /var/db
>    do
>        mv ${D} ${D}5
>        mv ${D}4 {D}
>    done
[snip]

Once you mv /usr/lib /usr/lib5, dynamicly linked executables will be
    broken, until you mv /usr/lib4 /usr/lib (I think). I think it
    would be a good idea check every tool you think you might need,
    and build a staticly linked executable if the existing executable
    isn't. Most of what you need will be staticly linked by default,
    but e.g. sshd, ftp, find, vim, are not. (If all goes as planned,
    you won't need any of those while /usr/lib is being moved, but
    ... ) (Caveat: this isn't based on experience with freebsd, it's
    based experience with linux boxen, where *everything* is typically
    staticly linked, unless someone rebuilt tools.)



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