tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Splitting /rescue out of base.tgz



On Tue, Oct 01, 2019 at 07:12:25PM -0000, Christos Zoulas wrote:
> In article <20191001181555.GA25687%homeworld.netbsd.org@localhost>,
>  <maya%NetBSD.org@localhost> wrote:
> >On Fri, Sep 06, 2019 at 01:53:50PM +0200, Edgar Fu�wrote:
> >> [Would this better belong to tech-install?]
> >> 
> >> I think it may make sense to split /rescue out of base.tgz into a
> >separate set.
> >> I just rendered a machine unusable during an update because, after having 
> >> booted into the new kernel, extracting base.tgz failed (/ full), corrupting 
> >> both bin/sbin and rescue. Tho only thing I had was a shell with whatever is 
> >> built-in.
> >> My colleague joked it was time to write a tar parser in shell (to extract 
> >> /rescue from the base set to somewhere else), but unfortunately, base.tgz 
> >> is compressed.
> >> Note that it wouldn't suffice to duplicate /rescue into a separate tgz, 
> >> it would need to be removed from base.tgz.
> >> Of course, I could mimic this with args to tar xpzfC base.tgz /.
> >
> >I have a diff for this (as well as some minor cleanup) at:
> >
> >http://coypu.sdf.org/rescue-set
> 
> some of the lists are alphabetized, why did you put rescue last?

Uhh.... I thought I was doing it in alphabetical order. I usually look
it up before.


Home | Main Index | Thread Index | Old Index