tech-toolchain archive

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

Re: Splitting /rescue out of base.tgz



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?

>I am waiting because I promised to wait a few days for my highly
>controversial proposal of removing ldconfig from /rescue.

I would go ahead. nobody is going to cry about ldconfig.

christos



Home | Main Index | Thread Index | Old Index