Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2005 19:39:28 -0800
From:      David Armour <dfarmour@myrealbox.com>
To:        freebsd-questions@freebsd.org
Cc:        Danny Pansters <danny@ricin.com>
Subject:   Re: FW: dmesg -a lines' explanation? NEWBIE
Message-ID:  <200503311939.28637.dfarmour@myrealbox.com>
In-Reply-To: <20050330005617.A908F16A59C@hub.freebsd.org>
References:  <20050330005617.A908F16A59C@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
hello Danny,

thanks for your help, and sorry for the delay getting back to you.

> > /etc/devfs.conf:perm    xpt0    0666    #permissions are set properly at
> > boot
> > ... i'll have to take another google around, later
> perm means permissions are being set, xpt0 is the device ('ls /dev') 0666
> are the permissions. 4=read-only, 5=readable-and-executable,
> 6=readable-writable, 7=readable-writable-executable. See 'man chmod'. The

pretty incredible that i didn't get a chance to actually do any googling 
before i had more info than i knew what to do with! for example:

> Devfs is a lot better than the static devices we had before (4.X and
> before) where all possible devices (when supported in the kernel or with
> modules) had to be hardcoded whether they were really present or not.

> FWIW, I have a great preference for using grep after a pipe, I get confused
> by its options also so I tend to avoid them (except -v), e.g
> cat file | awk { something } | sed s/something/something_else/g | grep
> keyword

i'm way far away from understanding awk & sed. so {something}, in this case 
would be {permissions are set properly at boot}? but what's the 
"sed /something/something_else/g"... etc.?

> Look into tools and learn the few that for some reason appeal to you. Learn
> some inside out and others briefly. There's many ways to Rome you know...

seven, as i recall. or was that hills? sono perplesso!

> For general tricks and tips search for general unix/shell/sh/bash/csh
> how-to's and console tips. The book Unix Power Tools is a great resource

i got that one out of the library a few months back, and yes, it was helpful.
i'll google for the how-to's & console tips. thanks for the recommendations!

> HTH,

big time. gracias.

dave



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503311939.28637.dfarmour>