quick question regarding /usr/obj

Migs jc.devilla at gmail.com
Mon Sep 18 02:40:47 PDT 2006

Erik Trulsson wrote:
> On Mon, Sep 18, 2006 at 05:06:09PM +0800, Migs wrote:
>> I just did a rebuild recently, and saw in the handbook that i can take
>> out /usr/obj with no problems... and seeing as its taking up >500mb, I
>> do want to trim it out...
>> However, in uname -a it shows
>> FreeBSD shadow.meridiantelekoms.com 6.2-PRERELEASE FreeBSD
>> 6.2-PRERELEASE #0: Mon Sep 18 15:35:23 PHT 2006    
>> root at shadow.meridiantelekoms.com:/usr/obj/usr/src/sys/ARMITAGE  i386
>> and no reference of my kernel in /boot, aside from /boot/kernel...
>> Now, my question is, is the custom kernel I built also /boot/kernel? or
>> does it reside in /usr/obj/usr/src/sys/ARMITAGE?
> Yes.  The kernel you built was built in /usr/obj/usr/src/sys/ARMITAGE/, but
> is installed into /boot/kernel/.
> Once you have installed the world+kernel that you built you can safely
> delete everything under /usr/obj/.
The handbook did say it was OK to nuke, but didn't really explain what
happened in that directory very clearly. Thanks!

Registered Linux user # 381619, but has shifted to FreeBSD
Random Musings (http://lifelin.blogspot.com/)

More information about the freebsd-questions mailing list