Re: Deleting Kernel conpile directory

2006-03-31 Thread Lowell Gilbert
"Nikolas Britton" <[EMAIL PROTECTED]> writes:

> On 30 Mar 2006 09:40:03 -0500, Lowell Gilbert
> <[EMAIL PROTECTED]> wrote:
> > "Grant Peel" <[EMAIL PROTECTED]> writes:
> >
> > > I am running a little low on disk space in /usr
> > >
> > > Can I delete the /usr/src/sys/i386/compile/mykernel directory?
> >
> > Sure.  And if you use the "buildkernel" method when you build kernels,
> > you won't even need that directory again.  If you use the "old
> > method," (calling config directly), though, you will need the space
> > again.
> >
> > > If so, which method is best:
> > >
> > > a:
> > > cd /usr/src/sys/i386/compile
> > > rm -rf mykernel
> > >
> > > or
> > >
> > > b:
> > > cd /usr/src/sys/i386/compile/mykernel
> > > make clean
> >
> > Either one is fine.  If you never want to use the directory again, go
> > ahead and use the first one.
> 
> What happens when you run 'make clean' from /usr/src/? I tried it once
> and it deleted a lot of tmp and .gz files, I thought all of that stuff
> was stored in /usr/obj/. always... to the OP you can also delete every
> thing in /usr/obj/

The only problem with that is that you *know* you will need that space
again next time you do a source update.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Deleting Kernel conpile directory

2006-03-30 Thread Nikolas Britton
On 30 Mar 2006 09:40:03 -0500, Lowell Gilbert
<[EMAIL PROTECTED]> wrote:
> "Grant Peel" <[EMAIL PROTECTED]> writes:
>
> > I am running a little low on disk space in /usr
> >
> > Can I delete the /usr/src/sys/i386/compile/mykernel directory?
>
> Sure.  And if you use the "buildkernel" method when you build kernels,
> you won't even need that directory again.  If you use the "old
> method," (calling config directly), though, you will need the space
> again.
>
> > If so, which method is best:
> >
> > a:
> > cd /usr/src/sys/i386/compile
> > rm -rf mykernel
> >
> > or
> >
> > b:
> > cd /usr/src/sys/i386/compile/mykernel
> > make clean
>
> Either one is fine.  If you never want to use the directory again, go
> ahead and use the first one.

What happens when you run 'make clean' from /usr/src/? I tried it once
and it deleted a lot of tmp and .gz files, I thought all of that stuff
was stored in /usr/obj/. always... to the OP you can also delete every
thing in /usr/obj/


--
BSD Podcasts @ http://bsdtalk.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Deleting Kernel conpile directory

2006-03-30 Thread Lowell Gilbert
"Grant Peel" <[EMAIL PROTECTED]> writes:

> I am running a little low on disk space in /usr
> 
> Can I delete the /usr/src/sys/i386/compile/mykernel directory?

Sure.  And if you use the "buildkernel" method when you build kernels,
you won't even need that directory again.  If you use the "old
method," (calling config directly), though, you will need the space
again.

> If so, which method is best:
> 
> a:
> cd /usr/src/sys/i386/compile
> rm -rf mykernel
> 
> or 
> 
> b:
> cd /usr/src/sys/i386/compile/mykernel
> make clean

Either one is fine.  If you never want to use the directory again, go
ahead and use the first one.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"