Date: 31 Mar 2006 08:30:01 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org Subject: Re: Deleting Kernel conpile directory Message-ID: <44odzmd9nq.fsf@be-well.ilk.org> In-Reply-To: <ef10de9a0603300703j4f107c0bh31aaf287042de16d@mail.gmail.com> References: <009b01c65404$f61f8120$6401a8c0@GRANT> <44odzoxags.fsf@be-well.ilk.org> <ef10de9a0603300703j4f107c0bh31aaf287042de16d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Nikolas Britton" <nikolas.britton@gmail.com> writes: > On 30 Mar 2006 09:40:03 -0500, Lowell Gilbert > <freebsd-questions-local@be-well.ilk.org> wrote: > > "Grant Peel" <gpeel@thenetnow.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44odzmd9nq.fsf>