dev null

Howard Coles Jr. dhcolesj at gmail.com
Wed Mar 15 01:40:28 UTC 2006


On Monday 13 March 2006 15:25, Thilo Six wrote:
> Thilo Six schrieb am 13.03.2006 21:31:
> > Thilo Six schrieb am 13.03.2006 19:22:
> >>>I have greped through /etc/udev and could find "null"
> >>>grep -r ull is what i used for it.
> >
> > Uups. There is a "Not" missing.
> > The full sentence is as follows:
> >
> > I have greped through /etc/udev and could NOT find "null"...
> >
> > sorry
>
> shame on me I did an other mistake.
>
> /etc/udev$ grep -Hirn ull .
> ./scripts/cdsymlinks.sh:7:# Second parameter, if present, must be "-d"
> => output the full mapping.
> ./scripts/cdsymlinks.sh:152:  local DEVLS="`ls -dl \"/dev/$2\"
> \"/dev/$2\"[0-9]* 2>/dev/null`"
> ./rules.d/020_permissions.rules:49:KERNEL=="full",              MODE="0666"
> ./rules.d/020_permissions.rules:50:KERNEL=="null",              MODE="0666"
> ./permissions.rules:49:KERNEL=="full",          MODE="0666"
> ./permissions.rules:50:KERNEL=="null",          MODE="0666"
> ./permissions.d/udev.permissions:11:null:root:root:0666
> ./permissions.d/udev.permissions:13:full:root:root:0666
>
> But anyhow this was a good exercise in using grep the right way. ;)
>
Here's the output of that same command on my system:

./40-permissions.rules:83:KERNEL=="null", 	MODE="0666"
./40-permissions.rules:85:KERNEL=="full",       MODE="0666"

The other files you seem to have found "udev.permissions" and 
"permissions.rules" I don't have.
I also don't have a /etc/udev/scripts directory.

However, I found a /lib/udev/devices directory that has (had now) null with 
0600 permissions.  Interesting.  I wonder does udev "copy" this null to dev 
when it creates the device?

-- 

See Ya'
Howard Coles Jr.
John 3:16!

Christian Books On-Line http://risenbooks.com
http://home.comcast.net/~dhcolesj




More information about the kubuntu-users mailing list