FW: dmesg -a lines' explanation? NEWBIE
David Armour
dfarmour at myrealbox.com
Thu Mar 31 19:38:53 PST 2005
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
More information about the freebsd-questions
mailing list