Re: Useful tools missing from /rescue

2007-11-02 Thread Yar Tikhiy
On Thu, Nov 01, 2007 at 08:53:39AM -0700, David O'Brien wrote: > On Thu, Oct 18, 2007 at 02:04:21AM +0400, Yar Tikhiy wrote: > > On Mon, Oct 15, 2007 at 10:38:26AM -0700, David O'Brien wrote: > > > I guess I'm not creative enough in the ways I've screwed up my systems > > > and needed tools from /r

Re: Useful tools missing from /rescue

2007-11-01 Thread David O'Brien
On Thu, Oct 18, 2007 at 02:04:21AM +0400, Yar Tikhiy wrote: > On Mon, Oct 15, 2007 at 10:38:26AM -0700, David O'Brien wrote: > > I guess I'm not creative enough in the ways I've screwed up my systems > > and needed tools from /rescue. 8-) > > Just try to installworld FreeBSD/amd64 over a running Fr

Re: Useful tools missing from /rescue

2007-10-17 Thread Yar Tikhiy
On Mon, Oct 15, 2007 at 10:38:26AM -0700, David O'Brien wrote: > On Sat, Oct 13, 2007 at 10:01:39AM +0400, Yar Tikhiy wrote: > > On Wed, Oct 03, 2007 at 07:23:44PM -0700, David O'Brien wrote: > > > I also don't see the need for pgrep - I think needing that says your > > > system is running multiuse

Re: Useful tools missing from /rescue

2007-10-15 Thread David O'Brien
On Sat, Oct 13, 2007 at 10:01:39AM +0400, Yar Tikhiy wrote: > On Wed, Oct 03, 2007 at 07:23:44PM -0700, David O'Brien wrote: > > I also don't see the need for pgrep - I think needing that says your > > system is running multiuser pretty well. > > First of all, I'd like to point out that /rescue do

Re: Useful tools missing from /rescue

2007-10-12 Thread Yar Tikhiy
On Wed, Oct 03, 2007 at 07:23:44PM -0700, David O'Brien wrote: > > > > Yar Tikhiy wrote: > > > > >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 functionalit

Re: Useful tools missing from /rescue

2007-10-03 Thread David O'Brien
> > > Yar Tikhiy wrote: > > > >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

Re: Useful tools missing from /rescue

2007-09-26 Thread John Baldwin
On Monday 03 September 2007 08:03:53 am Yar Tikhiy wrote: > On Sun, Sep 02, 2007 at 11:18:04AM -0700, Tim Kientzle wrote: > > 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 te

Re: Useful tools missing from /rescue

2007-09-03 Thread Tim Kientzle
Giorgos Keramidas wrote: ... [chown] is still almost 4x the size of chmod: > $ ls -ld chown > -rwxrwxr-x1 keramida users - 550624 Sep 3 03:06 chown $ ls -ld chmod -rwxrwxr-x 1 keramida users - 165884 Sep 3 03:08 chmod getpwuid() pulls in DNS, NIS, and a bunch of other network rou

Re: Useful tools missing from /rescue

2007-09-03 Thread Dmitry Morozovsky
On Sat, 1 Sep 2007, Julian Stacey wrote: JS> > I've had to use /rescue recently and felt lack of a few basic tools JS> > in it, namely pgrep(1), head(1), tail(1), tee(1), and a text filter, JS> > e.g., sed(1). Well, in fact most functionality of pgrep(1), head(1), JS> > tail(1), and even tee(1) c

Re: Useful tools missing from /rescue

2007-09-03 Thread Giorgos Keramidas
On 2007-09-03 17:20, Yar Tikhiy <[EMAIL PROTECTED]> wrote: >On Mon, Sep 03, 2007 at 03:18:03AM +0300, Giorgos Keramidas wrote: >> Running nm(1) on the binaries, I see that they have the same symbols >> though: >> >> $ nm -S chmod | awk '{print $2,$3,$4}' | sort > /tmp/symbols.chmod >> $ nm -S chown

Re: Useful tools missing from /rescue

2007-09-03 Thread Yar Tikhiy
On Mon, Sep 03, 2007 at 03:18:03AM +0300, Giorgos Keramidas wrote: > On 2007-09-02 11:18, Tim Kientzle <[EMAIL PROTECTED]> wrote: > > Yar Tikhiy wrote: > >> 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. cho

Re: Useful tools missing from /rescue

2007-09-03 Thread Yar Tikhiy
On Mon, Sep 03, 2007 at 08:36:58AM -0400, Daniel Eischen wrote: > On Mon, 3 Sep 2007, Yar Tikhiy wrote: > > >On Sun, Sep 02, 2007 at 11:18:04AM -0700, Tim Kientzle wrote: > >>Yar Tikhiy wrote: > >>>Hi all, > >>> > >>>I've had to use /rescue recently and felt lack of a few basic tools > >>>in it, n

Re: Useful tools missing from /rescue

2007-09-03 Thread Daniel Eischen
On Mon, 3 Sep 2007, Yar Tikhiy wrote: On Sun, Sep 02, 2007 at 11:18:04AM -0700, Tim Kientzle wrote: 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 m

Re: Useful tools missing from /rescue

2007-09-03 Thread Yar Tikhiy
On Sun, Sep 02, 2007 at 11:18:04AM -0700, Tim Kientzle wrote: > 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

Re: Useful tools missing from /rescue

2007-09-03 Thread Yar Tikhiy
On Sun, Sep 02, 2007 at 09:00:04PM +0200, Simon 'corecode' Schubert wrote: > Tim Kientzle wrote: > >I atttempted to > >fit 'vi' in there, but curses is rather finicky; > >'sed' would be more useful. > > Mined is a nice editor for this, running without curses. A statically > linked, stripped bina

Re: Useful tools missing from /rescue

2007-09-02 Thread Giorgos Keramidas
On 2007-09-02 11:18, Tim Kientzle <[EMAIL PROTECTED]> wrote: > Yar Tikhiy wrote: >> 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. Probably be

Re: Useful tools missing from /rescue

2007-09-02 Thread Simon 'corecode' Schubert
Tim Kientzle wrote: I atttempted to fit 'vi' in there, but curses is rather finicky; 'sed' would be more useful. Mined is a nice editor for this, running without curses. A statically linked, stripped binary is about 100k in size, so if crunched it would have a very small impact. cheers s

Re: Useful tools missing from /rescue

2007-09-02 Thread Tim Kientzle
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

Re: Useful tools missing from /rescue

2007-09-01 Thread Yar Tikhiy
On Sat, Sep 01, 2007 at 02:40:29PM +0200, Julian Stacey wrote: > Reference: > > From: Yar Tikhiy <[EMAIL PROTECTED]> > > Date: Sat, 1 Sep 2007 11:34:40 +0400 > > Message-id: <[EMAIL PROTECTED]> > > Yar Tikhiy wrote: > > Hi all, > > > > I've had to use /rescue recent

Re: Useful tools missing from /rescue

2007-09-01 Thread Julian Stacey
Reference: > From: Yar Tikhiy <[EMAIL PROTECTED]> > Date: Sat, 1 Sep 2007 11:34:40 +0400 > Message-id: <[EMAIL PROTECTED]> 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), a

Useful tools missing from /rescue

2007-09-01 Thread Yar Tikhiy
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 ti