Re: behaviour changes in mdconfig? or something related?

2010-10-09 Thread Jeremie Le Hen
Hi, On Wed, Aug 04, 2010 at 02:18:58PM +0100, Bruce Cran wrote: > On Wed, 4 Aug 2010 14:40:27 +0200 > Samuel Martín Moro wrote: > > > Since 8.1 (8.0?), after calling bsdlabel, I still have /dev/${dev}a, > > but/dev/${dev}c doesn't show up anymore. > > The 'c' partition is no longer created on F

Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-09 Thread Garrett Cooper
On Thu, Oct 7, 2010 at 12:54 AM, Julian Elischer wrote: >  On 10/7/10 12:23 AM, jhell wrote: >> >> Alright thank you for your explanation. I do not normally see this usage >> and this just sort of stood out at me and I did not want to assume what >> you were trying to accomplish, without asking. >

Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-09 Thread Devin Teske
On Oct 9, 2010, at 10:03 AM, Garrett Cooper wrote: > On Thu, Oct 7, 2010 at 12:54 AM, Julian Elischer wrote: >> On 10/7/10 12:23 AM, jhell wrote: >>> >>> Alright thank you for your explanation. I do not normally see this usage >>> and this just sort of stood out at me and I did not want to ass

Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-09 Thread Garrett Cooper
On Sat, Oct 9, 2010 at 10:36 AM, Devin Teske wrote: > > On Oct 9, 2010, at 10:03 AM, Garrett Cooper wrote: > >> On Thu, Oct 7, 2010 at 12:54 AM, Julian Elischer wrote: >>>  On 10/7/10 12:23 AM, jhell wrote: Alright thank you for your explanation. I do not normally see this usage an

Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-09 Thread Garrett Cooper
On Wed, Oct 6, 2010 at 8:29 PM, Devin Teske wrote: > > On Oct 6, 2010, at 4:09 PM, Brandon Gooch wrote: > >> On Wed, Oct 6, 2010 at 3:45 PM, Devin Teske wrote: >>> Hello fellow freebsd-hackers, >>> >>> Long-time hacker, first-time poster. >>> >>> I'd like to share a shell script that I wrote for

Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-09 Thread Devin Teske
On Oct 9, 2010, at 1:25 PM, Garrett Cooper wrote: > On Wed, Oct 6, 2010 at 8:29 PM, Devin Teske wrote: >> >> On Oct 6, 2010, at 4:09 PM, Brandon Gooch wrote: >> >>> On Wed, Oct 6, 2010 at 3:45 PM, Devin Teske wrote: Hello fellow freebsd-hackers, Long-time hacker, first-time po

Scheduler Question

2010-10-09 Thread Eknath Venkataramani
D&I of the FreeBSD Operating System says it's gonna refer to the BSD default scheduler, the 'time share scheduler' does this mean sched_4BSD.c(In the introduction section of Chapter 4) handles only time-share process? If so, then how (or where) are the kernel processes/real time process scheduled?

Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-09 Thread Mario Lobo
Forgive me for this top posting but I don't want to risk ruining the perfect flow of Garret's analysis. I read through it as if I was in a classroom lecture. I have a special folder in kmail called "FreeBSD Tops" where I put mail that makes me discover something unknown to me about FBSD, and t

Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-09 Thread Garrett Cooper
Trimming out some context... On Sat, Oct 9, 2010 at 3:39 PM, Devin Teske wrote: > ... > Should this really be set to something other than 0 or 1 by the > end-user's environment? This would simplify a lot of return/exit > calls... > > A scenario that I envision that almost never arises, but... >

Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-09 Thread Julian Elischer
Ah grasshoppers... /me wonders if anyone will get the full significance of that.. On 10/9/10 3:39 PM, Devin Teske wrote: On Oct 9, 2010, at 1:25 PM, Garrett Cooper wrote: Why not just do... if [ "x$rc_conf_files" = x -o "x$varname" = x ] then return ${FAILURE-1} fi I think you'll fin

Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-09 Thread Julian Elischer
On 10/9/10 7:30 PM, Garrett Cooper wrote: [ "..." ] is the same thing as [ -n "..." ] or test -n "..." [ ! "..." ] is the same things as [ -z "..." ] or test -z "..." I'll never understand why people have to throw an extra letter in there and then compare it to that letter. I ran into issues