[patch] mkuzip to compress without stat.st_size

2006-04-18 Thread Yoshihiro Ota
mkuzip and GEOM_UZIP has been quite useful to store files I change rarely myself such as /usr/src and /usr/ports. I now keep 6.1-RC1-src.uzip, 6.1-BETA4-src.zip and so on. If all of these were extracted, I would run out of i-nodes. One problem with mkuzip is it can only handle regular files but no

Re: Broadcom 440x on FreeBSD 6.0/6.1

2006-04-18 Thread Pyun YongHyeon
On Sun, Apr 16, 2006 at 09:57:34PM +0200, Andreas Bachmann wrote: > > The bfe driver is broken for RAM sizes above 1G, and you have 2G. > > > > For kicks, you could try booting with hw.physmem="1G" (in loader.conf > > or manually). If that doesn't work, you have discovered a new bug. > > >

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Robert Watson
On Tue, 18 Apr 2006, Coleman Kane wrote: I understand your concerns regarding the "pollution" of rc messages with excess baggage such as ANSI-color sequences and attributes. The patches have been set up in such a way as to provide the "fancy" capability only on demand, and the "fancy w/ color"

Re: Per CPU cpu-statistics under SMP

2006-04-18 Thread John Baldwin
On Tuesday 18 April 2006 18:15, Marco van Tol wrote: > On Mon, Apr 17, 2006 at 01:48:25PM +, Marco van Tol wrote: > > On Mon, Apr 17, 2006 at 09:04:58AM -0400, John Baldwin wrote: > > [...] > > > > I actually did it differently though to try and make it less confusing. > > > I've added a kern

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Coleman Kane
On 4/18/06, Doug Barton <[EMAIL PROTECTED]> wrote: > > While I personally am not necessarily opposed to this kind of patch, you > should be aware that this idea has been proposed in the past, and roundly > rejected. The consensus has been that we don't necessarily want FreeBSD to > look like other

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Coleman Kane
On 4/18/06, Darren Pilgrim <[EMAIL PROTECTED]> wrote: > > Eric Anderson wrote: > > > > If I could figure out how to make sh do colors, I'd do it. :) > > Please do not use colors in rc. Escape-sequenced colors make unacceptable > assumptions about the user and syslogd strips escape sequences anyway

Re: Per CPU cpu-statistics under SMP

2006-04-18 Thread Marco van Tol
On Mon, Apr 17, 2006 at 01:48:25PM +, Marco van Tol wrote: > On Mon, Apr 17, 2006 at 09:04:58AM -0400, John Baldwin wrote: [...] > > I actually did it differently though to try and make it less confusing. > > I've added a kern.pcpu_time sysctl which is an array of 0..mp_maxid > > cp_time[] ar

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Darren Pilgrim
Eric Anderson wrote: > > If I could figure out how to make sh do colors, I'd do it. :) Please do not use colors in rc. Escape-sequenced colors make unacceptable assumptions about the user and syslogd strips escape sequences anyway, so it would be of no use to logged consoles. Serial consoles

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Doug Barton
While I personally am not necessarily opposed to this kind of patch, you should be aware that this idea has been proposed in the past, and roundly rejected. The consensus has been that we don't necessarily want FreeBSD to look like other OSes that do this. That said, when you have something that y

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Aren Olvalde Tyr
Hi > I've included your suggestions and put the latest changes here: > > http://www.googlebit.com/freebsd/patches/rc_fancy.patch-3 > > > Thanks for all the feedback! Keep it coming! :) Works great on my FreeBSD 6-STABLE system too. Excellent. Now, colour please! :^) Aren. pgpnNiwBjSZJJ.pg

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Stanislaw Halik
On Tue, Apr 18, 2006, Anish Mistry wrote: > printf '\033[%s;%s;%sm %02s;%02s ' $attr $fore $back however, as stated previously in this thread: `printf is /usr/bin/printf'. embedding raw ^[s in the rc script would do, is this acceptable? -- sh pgpeAfaSh4tlK.pgp Description: PGP signature

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Stefan Bethke
Am 18.04.2006 um 22:56 schrieb Eric Anderson: Anish Mistry wrote: If I could figure out how to make sh do colors, I'd do it. :) Is that all? :) #!/bin/sh # Nico Golde Homepage: http://www.ngolde.de # Last change: Mon Feb 16 16:24:4

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Eric Anderson
Anish Mistry wrote: On Tuesday 18 April 2006 16:35, Eric Anderson wrote: Gordon Bergling wrote: * Thus spake Eric Anderson ([EMAIL PROTECTED]): Peter Jeremy wrote: On Tue, 2006-Apr-18 14:02:07 -0400, Coleman Kane wrote: A few comments on the shellscript: + rcargsize=`e

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Anish Mistry
On Tuesday 18 April 2006 16:35, Eric Anderson wrote: > Gordon Bergling wrote: > > * Thus spake Eric Anderson ([EMAIL PROTECTED]): > >> Peter Jeremy wrote: > >>> On Tue, 2006-Apr-18 14:02:07 -0400, Coleman Kane wrote: > >>> > >>> A few comments on the shellscript: > +rca

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Eric Anderson
Gordon Bergling wrote: * Thus spake Eric Anderson ([EMAIL PROTECTED]): Peter Jeremy wrote: On Tue, 2006-Apr-18 14:02:07 -0400, Coleman Kane wrote: A few comments on the shellscript: + rcargsize=`echo $rc_arg` + rcargsize=${#rcargsize} Try

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Gordon Bergling
* Thus spake Eric Anderson ([EMAIL PROTECTED]): > Peter Jeremy wrote: > >On Tue, 2006-Apr-18 14:02:07 -0400, Coleman Kane wrote: > >A few comments on the shellscript: > > > >>+ rcargsize=`echo $rc_arg` > >>+ rcargsize=${#rcargsize} > > > >Try rca

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Eric Anderson
Peter Jeremy wrote: On Tue, 2006-Apr-18 14:02:07 -0400, Coleman Kane wrote: A few comments on the shellscript: + rcargsize=`echo $rc_arg` + rcargsize=${#rcargsize} Try rcargsize=$((${#rc_arg} + 1)) -

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Peter Jeremy
On Tue, 2006-Apr-18 14:02:07 -0400, Coleman Kane wrote: A few comments on the shellscript: >+ rcargsize=`echo $rc_arg` >+ rcargsize=${#rcargsize} Try rcargsize=$((${#rc_arg} + 1)) >- return 1 >+

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Gordon Bergling
* Thus spake Eric Anderson ([EMAIL PROTECTED]): > Coleman Kane wrote: > >On 4/18/06, *M. Warner Losh* <[EMAIL PROTECTED] > > >wrote: > > > >In message: <[EMAIL PROTECTED] > >> > >Eric Anderson <[EMAIL PROTECTED] > >

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Eric Anderson
Coleman Kane wrote: On 4/18/06, *M. Warner Losh* <[EMAIL PROTECTED] > wrote: In message: <[EMAIL PROTECTED] > Eric Anderson <[EMAIL PROTECTED] > writes: : Gordon Bergling wrote: : >

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Coleman Kane
On 4/18/06, Coleman Kane <[EMAIL PROTECTED]> wrote: > > On 4/18/06, M. Warner Losh <[EMAIL PROTECTED]> wrote: > > > In message: <[EMAIL PROTECTED]> > > Eric Anderson <[EMAIL PROTECTED]> writes: > > : Gordon Bergling wrote: > > : > Hi, > > : > > > : > * Thus spake Eric Anderson ([EMAIL P

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Coleman Kane
On 4/18/06, Coleman Kane <[EMAIL PROTECTED]> wrote: > > On 4/18/06, M. Warner Losh <[EMAIL PROTECTED]> wrote: > > > In message: <[EMAIL PROTECTED]> > > Eric Anderson <[EMAIL PROTECTED]> writes: > > : > > : Thanks for the feedback! Looks like I made an erroneous assumption > > that > >

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Coleman Kane
On 4/18/06, M. Warner Losh <[EMAIL PROTECTED]> wrote: > > In message: <[EMAIL PROTECTED]> > Eric Anderson <[EMAIL PROTECTED]> writes: > : Gordon Bergling wrote: > : > Hi, > : > > : > * Thus spake Eric Anderson ([EMAIL PROTECTED]): > : >> I've made a patch to /etc/rc.subr that makes the

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Eric Anderson <[EMAIL PROTECTED]> writes: : Gordon Bergling wrote: : > Hi, : > : > * Thus spake Eric Anderson ([EMAIL PROTECTED]): : >> I've made a patch to /etc/rc.subr that makes the startup/shutdown rc : >> scripting look similar to other OS's (many

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Eric Anderson
Gordon Bergling wrote: Hi, * Thus spake Eric Anderson ([EMAIL PROTECTED]): I've made a patch to /etc/rc.subr that makes the startup/shutdown rc scripting look similar to other OS's (many different linux distros, HP-UX, etc), but without color. The patch shouldn't break anything, and is only

Re: [PATCH] Fancy rc startup style RFC

2006-04-18 Thread Gordon Bergling
Hi, * Thus spake Eric Anderson ([EMAIL PROTECTED]): > I've made a patch to /etc/rc.subr that makes the startup/shutdown rc > scripting look similar to other OS's (many different linux distros, > HP-UX, etc), but without color. > > The patch shouldn't break anything, and is only enabled if you h

[PATCH] Fancy rc startup style RFC

2006-04-18 Thread Eric Anderson
Hi everyone! I've made a patch to /etc/rc.subr that makes the startup/shutdown rc scripting look similar to other OS's (many different linux distros, HP-UX, etc), but without color. The patch shouldn't break anything, and is only enabled if you have this in your /etc/rc.conf: rc_fancy="YES