Subject: Re: grep in rescue (was Re: on not shooting yourself in the foot duringupgrade..
To: None <current-users@NetBSD.org>
From: Izumi Tsutsui <firstname.lastname@example.org>
Date: 03/20/2007 22:10:13
> > I also notice grep isn't in /rescue. It was the only element of my
> > script which wasn't available there. I know this quickly descends into
> > a bikeshed, but I wondered if grep wasn't perhaps a /rescue-worthy tool?
> I changed the subject so this wouldn't be forgotten.
> Anyone have an answer for that?
IMO, /rescue should contain only tools which are required to recover
boot disk or base files in /, /lib, and /usr directories
(except tetris(6)?) and I rarely used grep(1) on such work.
Personally I prefer bc(1) to calculate disklabel partitions ;-)
We could have static grep in some dir if needed.