Date: Sun, 14 Aug 2011 12:27:21 +0200 From: Eduardo Morras <nec556@retena.com> To: freebsd-current@freebsd.org Subject: Re: [rfc] replacing /boot/kernel.old with a unique directory name Message-ID: <4D6348DC0228459C@> (added by postmaster@resmaa13.ono.com) In-Reply-To: <CC816BA30D11428593A03EF5FF449295@multiplay.co.uk> References: <20110813195127.GA34295@freebsd.org> <CC816BA30D11428593A03EF5FF449295@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
At 22:06 13/08/2011, Steven Hartland wrote: >----- Original Message ----- From: "Alexander Best" <arundel@freebsd.org> > >>i just had the following idea: how about instead of copying the >>current kernel >>to /boot/kernel.old and then installing the new one under /boot/kernel as the >>results of target installkernel, we create a unique directory name >>for the old >>kernel? > >The default size of / is likely your biggest problem. Don't know how much compresable is /boot/kernel.old but tar with -z or -j may be a workaround. We can extract on demand and swap current /boot/kernel with new /boot/kernel. Other way of do it is link /boot/kernel to current kernel and update it, but i don't know (again) if it would work in single user mode. > Regards > Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D6348DC0228459C>