Useful tools missing from /rescue
Tim Kientzle
kientzle at freebsd.org
Sun Sep 2 11:34:38 PDT 2007
Yar Tikhiy wrote:
> Hi all,
>
> I've had to use /rescue recently and felt lack of a few basic tools
> in it, namely pgrep(1), head(1), tail(1), tee(1), and a text filter,
> e.g., sed(1). Well, in fact most functionality of pgrep(1), head(1),
> tail(1), and even tee(1) can be emulated if one has sed(1), but the
> tools are so tiny and convenient that it's a pity not to have them
> all handy during hard times.
>
> In addition, there are chflags and chmod in /rescue, but there's
> no chown in it, so the toolset is a bit incomplete.
Oh, my. chown was definitely an oversight. That
should have been in there.
My opinions:
* head, tail, and tee are no-brainers; just do it.
* sed would be a nice addition. (I atttempted to
fit 'vi' in there, but curses is rather finicky;
'sed' would be more useful.)
* I personally would not add pgrep/pkill because I
never use them.
Of course, it's hard to get worked up about 45k,
so feel free to ignore the above.
Cheers,
Tim Kientzle
More information about the freebsd-hackers
mailing list