make cleandisk

Kent Stewart kstewart at owt.com
Sat Apr 12 17:06:06 PDT 2003


On Saturday 12 April 2003 02:22 pm, E. J. Cerejo wrote:
> Shouldn't he clean up /usr/obj?  I always do, rm -Rp * inside that
> directory, /usr/src should be left alone.

If you watch bhe buildworld, make basically does that for you. I haven't 
cleaned up /usr/obj for a long time.

Kent

>
> Kent Stewart wrote:
> > On Saturday 12 April 2003 11:41 am, Dick Hoogendijk wrote:
> >>Bit confused. The handbook states "run make cleandisk twice" after
> >>things went wrong making world. Fine.. But.. if all went well, do I
> >>run this command also or can I just cvsup new sources and do a
> >>makeworld next week or so again?
> >
> > One time is to clean /usr/src and the other is to clean /usr/obj.
> > If everything goes well, you don't need to do anything but cvsup.
> >
> > If something goes wrong, it depends on whether you have left over
> > stuff from an older release. The presence of left over stuff is
> > when cleandir is used. Once you are running a new release, a simple
> > build error can usually be fixed by waiting until your mirror has
> > the updated code and recvsup. Most of the mirrors are updated on an
> > hourly basis. You just don't usually know when that is :).
> >
> > Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



More information about the freebsd-questions mailing list