Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help with udev rules [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Fri Jan 14, 2011 11:10 pm    Post subject: help with udev rules [solved] Reply with quote

I am trying to write a udev rule. The reason is that my cdrom drive is only accessible for root:
Quote:
# ll /dev/sr0
brw------- 1 root root 11, 0 Jan 14 23:35 /dev/sr0


This are the udev infos I got for /dev/sr0:
Quote:
# udevadm info -a -p /sys/block/sr0

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

looking at device '/block/sr0':
KERNEL=="sr0"
SUBSYSTEM=="block"
DRIVER==""
ATTR{range}=="1"
ATTR{ext_range}=="1"
ATTR{removable}=="1"
ATTR{ro}=="0"
ATTR{size}=="2097151"
ATTR{alignment_offset}=="0"
ATTR{discard_alignment}=="0"
ATTR{capability}=="19"
ATTR{stat}==" 0 0 0 0 0 0 0 0 0 0 0"
ATTR{inflight}==" 0 0"


I changed /etc/udev/rules.d/70-persistent-cd.rules too:
Quote:
# cat /etc/udev/rules.d/70-persistent-cd.rules
# This file was automatically generated by the /lib64/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.

# CD_DVDW_SN-S082D (pci-0000:00:1f.2-scsi-1:0:1:0)
#SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:1:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
#SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:1:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
#SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:1:0", SYMLINK+="dvd", ENV{GENERATED}="1"
#SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:1:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
SUBSYSTEM=="block", KERNEL=="sr0", SYMLINK+="dvd", GROUP="cdrom", MODE="660"


But unfortunately my rule is not obeyed. I am using udev-151-r4.

Can anyone tell me what is wrong?
_________________
Please notice the back of this message.


Last edited by menschmeier on Tue Jan 18, 2011 10:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Sat Jan 15, 2011 2:59 am    Post subject: Reply with quote

Did you run
Code:
udevadm control --reload-rules
*after* applying the changes?

HTH
swimmer
Back to top
View user's profile Send private message
myceliv
Apprentice
Apprentice


Joined: 29 Nov 2007
Posts: 178

PostPosted: Sat Jan 15, 2011 3:06 am    Post subject: Reply with quote

Only thing that jumps out is mode looks like it's missing a digit:

SUBSYSTEM=="block", KERNEL=="sr0", SYMLINK+="dvd", GROUP="cdrom", MODE="0660"

But I'm just a beginner with udev rules. Took me three hours to get my sata disks to all have custom links independent of physical plug location. :(

Hope that's all it was.
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Sat Jan 15, 2011 11:01 am    Post subject: Reply with quote

Thank you, unfortunately both hints didn't solve my problem.
Reloading the rules should be necessary because my kernel is configured with inotify support. But doing it didn't help neither.
The MODE settings in the rule seems to be incomplete. I corrected it to MODE="0660". But in the end I had no success.
_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Sat Jan 15, 2011 12:21 pm    Post subject: Reply with quote

Hmm - no idea then ... just a few wild thoughts ;-)

* perhaps it's something to do with being in persistent-cd-rules? What happens if you try that rule in 89-local.rules?

* and something completely different: do you still use CONFIG_SYSFS_DEPRECATED* in your kernel? The README says that udev will not work with it enabled ... together with some other requirements regarding the kernel. Seems some good read to me ;-)

HTH
swimmer
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54331
Location: 56N 3W

PostPosted: Sat Jan 15, 2011 12:28 pm    Post subject: Reply with quote

menschmeier,

Remove 70-persistent-cd.rules and reboot.
The file will be regenerated.

Is udev actually running ?
Look in /dev ... do you have lots of files for devices you don't actually have?
Lots of /dev/fd... files are a dead giveaway that udev did not start.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Sun Jan 16, 2011 7:29 pm    Post subject: Reply with quote

Hi NeddySeagoon,

thank you for your reply.

I think udev is actually running. I can see plenty of device files but no unexpected like a floppy. All the device files have the time stamp of the system start up, so they are somehow generated - I am assuming udev.

I will remove the file you mentioned and will see what is happening.

Below you can this all entries of my /dev directory.

Quote:
$ ll /dev/
total 0
crw------- 1 root video 10, 175 Jan 16 20:18 agpgart
crw-rw---- 1 root root 10, 235 Jan 16 20:18 autofs
drwxr-xr-x 2 root root 100 Jan 16 20:18 bsg
crw-rw---- 1 root root 10, 234 Jan 16 20:18 btrfs-control
drwxr-xr-x 3 root root 60 Jan 16 20:18 bus
drwxr-xr-x 2 root root 14K Jan 16 20:18 char
crw------- 1 root root 5, 1 Jan 16 20:18 console
lrwxrwxrwx 1 root root 11 Jan 16 20:18 core -> /proc/kcore
drwxr-xr-x 4 root root 80 Jan 16 20:18 cpu
crw-rw---- 1 root root 10, 58 Jan 16 20:18 cpu_dma_latency
crw-rw---- 1 root root 10, 61 Jan 16 20:18 dlm-control
crw-rw---- 1 root root 10, 60 Jan 16 20:18 dlm-monitor
crw-rw---- 1 root root 10, 59 Jan 16 20:18 dlm_plock
drwxr-xr-x 2 root root 80 Jan 16 20:18 dri
crw-rw---- 1 root video 29, 0 Jan 16 20:18 fb0
lrwxrwxrwx 1 root root 13 Jan 16 20:18 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Jan 16 20:18 full
crw-rw-rw- 1 root root 10, 229 Jan 16 20:18 fuse
crw-rw---- 1 root root 10, 228 Jan 16 20:18 hpet
crw-rw---- 1 root root 89, 0 Jan 16 20:18 i2c-0
crw-rw---- 1 root root 89, 1 Jan 16 20:18 i2c-1
crw-rw---- 1 root root 89, 10 Jan 16 20:18 i2c-10
crw-rw---- 1 root root 89, 11 Jan 16 20:18 i2c-11
crw-rw---- 1 root root 89, 12 Jan 16 20:18 i2c-12
crw-rw---- 1 root root 89, 13 Jan 16 20:18 i2c-13
crw-rw---- 1 root root 89, 14 Jan 16 20:18 i2c-14
crw-rw---- 1 root root 89, 2 Jan 16 20:18 i2c-2
crw-rw---- 1 root root 89, 3 Jan 16 20:18 i2c-3
crw-rw---- 1 root root 89, 4 Jan 16 20:18 i2c-4
crw-rw---- 1 root root 89, 5 Jan 16 20:18 i2c-5
crw-rw---- 1 root root 89, 6 Jan 16 20:18 i2c-6
crw-rw---- 1 root root 89, 7 Jan 16 20:18 i2c-7
crw-rw---- 1 root root 89, 8 Jan 16 20:18 i2c-8
crw-rw---- 1 root root 89, 9 Jan 16 20:18 i2c-9
prw------- 1 root root 0 Jan 16 20:18 initctl
drwxr-xr-x 4 root root 340 Jan 16 20:18 input
crw-r----- 1 root kmem 1, 2 Jan 16 20:18 kmem
crw-rw---- 1 root root 1, 11 Jan 16 20:18 kmsg
srw-rw-rw- 1 root root 0 Jan 16 20:18 log
brw------- 1 root root 7, 0 Jan 16 20:18 loop0
brw------- 1 root root 7, 1 Jan 16 20:18 loop1
brw------- 1 root root 7, 2 Jan 16 20:18 loop2
brw------- 1 root root 7, 3 Jan 16 20:18 loop3
brw------- 1 root root 7, 4 Jan 16 20:18 loop4
brw------- 1 root root 7, 5 Jan 16 20:18 loop5
brw------- 1 root root 7, 6 Jan 16 20:18 loop6
brw------- 1 root root 7, 7 Jan 16 20:18 loop7
drwxr-xr-x 2 root root 60 Jan 16 20:18 mapper
crw-rw---- 1 root root 10, 227 Jan 16 20:18 mcelog
crw-r----- 1 root kmem 1, 1 Jan 16 20:18 mem
crw-rw---- 1 root root 10, 57 Jan 16 20:18 network_latency
crw-rw---- 1 root root 10, 56 Jan 16 20:18 network_throughput
crw-rw-rw- 1 root root 1, 3 Jan 16 20:18 null
crw-r----- 1 root kmem 1, 4 Jan 16 20:18 port
crw-rw---- 1 root root 10, 1 Jan 16 20:18 psaux
crw-rw-rw- 1 root tty 5, 2 Jan 16 20:23 ptmx
drwxr-xr-x 2 root root 0 Jan 16 20:18 pts
crw-rw---- 1 root tty 2, 176 Jan 16 20:18 ptya0
crw-rw---- 1 root tty 2, 177 Jan 16 20:18 ptya1
crw-rw---- 1 root tty 2, 178 Jan 16 20:18 ptya2
crw-rw---- 1 root tty 2, 179 Jan 16 20:18 ptya3
crw-rw---- 1 root tty 2, 180 Jan 16 20:18 ptya4
crw-rw---- 1 root tty 2, 181 Jan 16 20:18 ptya5
crw-rw---- 1 root tty 2, 182 Jan 16 20:18 ptya6
crw-rw---- 1 root tty 2, 183 Jan 16 20:18 ptya7
crw-rw---- 1 root tty 2, 184 Jan 16 20:18 ptya8
crw-rw---- 1 root tty 2, 185 Jan 16 20:18 ptya9
crw-rw---- 1 root tty 2, 186 Jan 16 20:18 ptyaa
crw-rw---- 1 root tty 2, 187 Jan 16 20:18 ptyab
crw-rw---- 1 root tty 2, 188 Jan 16 20:18 ptyac
crw-rw---- 1 root tty 2, 189 Jan 16 20:18 ptyad
crw-rw---- 1 root tty 2, 190 Jan 16 20:18 ptyae
crw-rw---- 1 root tty 2, 191 Jan 16 20:18 ptyaf
crw-rw---- 1 root tty 2, 192 Jan 16 20:18 ptyb0
crw-rw---- 1 root tty 2, 193 Jan 16 20:18 ptyb1
crw-rw---- 1 root tty 2, 194 Jan 16 20:18 ptyb2
crw-rw---- 1 root tty 2, 195 Jan 16 20:18 ptyb3
crw-rw---- 1 root tty 2, 196 Jan 16 20:18 ptyb4
crw-rw---- 1 root tty 2, 197 Jan 16 20:18 ptyb5
crw-rw---- 1 root tty 2, 198 Jan 16 20:18 ptyb6
crw-rw---- 1 root tty 2, 199 Jan 16 20:18 ptyb7
crw-rw---- 1 root tty 2, 200 Jan 16 20:18 ptyb8
crw-rw---- 1 root tty 2, 201 Jan 16 20:18 ptyb9
crw-rw---- 1 root tty 2, 202 Jan 16 20:18 ptyba
crw-rw---- 1 root tty 2, 203 Jan 16 20:18 ptybb
crw-rw---- 1 root tty 2, 204 Jan 16 20:18 ptybc
crw-rw---- 1 root tty 2, 205 Jan 16 20:18 ptybd
crw-rw---- 1 root tty 2, 206 Jan 16 20:18 ptybe
crw-rw---- 1 root tty 2, 207 Jan 16 20:18 ptybf
crw-rw---- 1 root tty 2, 208 Jan 16 20:18 ptyc0
crw-rw---- 1 root tty 2, 209 Jan 16 20:18 ptyc1
crw-rw---- 1 root tty 2, 210 Jan 16 20:18 ptyc2
crw-rw---- 1 root tty 2, 211 Jan 16 20:18 ptyc3
crw-rw---- 1 root tty 2, 212 Jan 16 20:18 ptyc4
crw-rw---- 1 root tty 2, 213 Jan 16 20:18 ptyc5
crw-rw---- 1 root tty 2, 214 Jan 16 20:18 ptyc6
crw-rw---- 1 root tty 2, 215 Jan 16 20:18 ptyc7
crw-rw---- 1 root tty 2, 216 Jan 16 20:18 ptyc8
crw-rw---- 1 root tty 2, 217 Jan 16 20:18 ptyc9
crw-rw---- 1 root tty 2, 218 Jan 16 20:18 ptyca
crw-rw---- 1 root tty 2, 219 Jan 16 20:18 ptycb
crw-rw---- 1 root tty 2, 220 Jan 16 20:18 ptycc
crw-rw---- 1 root tty 2, 221 Jan 16 20:18 ptycd
crw-rw---- 1 root tty 2, 222 Jan 16 20:18 ptyce
crw-rw---- 1 root tty 2, 223 Jan 16 20:18 ptycf
crw-rw---- 1 root tty 2, 224 Jan 16 20:18 ptyd0
crw-rw---- 1 root tty 2, 225 Jan 16 20:18 ptyd1
crw-rw---- 1 root tty 2, 226 Jan 16 20:18 ptyd2
crw-rw---- 1 root tty 2, 227 Jan 16 20:18 ptyd3
crw-rw---- 1 root tty 2, 228 Jan 16 20:18 ptyd4
crw-rw---- 1 root tty 2, 229 Jan 16 20:18 ptyd5
crw-rw---- 1 root tty 2, 230 Jan 16 20:18 ptyd6
crw-rw---- 1 root tty 2, 231 Jan 16 20:18 ptyd7
crw-rw---- 1 root tty 2, 232 Jan 16 20:18 ptyd8
crw-rw---- 1 root tty 2, 233 Jan 16 20:18 ptyd9
crw-rw---- 1 root tty 2, 234 Jan 16 20:18 ptyda
crw-rw---- 1 root tty 2, 235 Jan 16 20:18 ptydb
crw-rw---- 1 root tty 2, 236 Jan 16 20:18 ptydc
crw-rw---- 1 root tty 2, 237 Jan 16 20:18 ptydd
crw-rw---- 1 root tty 2, 238 Jan 16 20:18 ptyde
crw-rw---- 1 root tty 2, 239 Jan 16 20:18 ptydf
crw-rw---- 1 root tty 2, 240 Jan 16 20:18 ptye0
crw-rw---- 1 root tty 2, 241 Jan 16 20:18 ptye1
crw-rw---- 1 root tty 2, 242 Jan 16 20:18 ptye2
crw-rw---- 1 root tty 2, 243 Jan 16 20:18 ptye3
crw-rw---- 1 root tty 2, 244 Jan 16 20:18 ptye4
crw-rw---- 1 root tty 2, 245 Jan 16 20:18 ptye5
crw-rw---- 1 root tty 2, 246 Jan 16 20:18 ptye6
crw-rw---- 1 root tty 2, 247 Jan 16 20:18 ptye7
crw-rw---- 1 root tty 2, 248 Jan 16 20:18 ptye8
crw-rw---- 1 root tty 2, 249 Jan 16 20:18 ptye9
crw-rw---- 1 root tty 2, 250 Jan 16 20:18 ptyea
crw-rw---- 1 root tty 2, 251 Jan 16 20:18 ptyeb
crw-rw---- 1 root tty 2, 252 Jan 16 20:18 ptyec
crw-rw---- 1 root tty 2, 253 Jan 16 20:18 ptyed
crw-rw---- 1 root tty 2, 254 Jan 16 20:18 ptyee
crw-rw---- 1 root tty 2, 255 Jan 16 20:18 ptyef
crw-rw---- 1 root tty 2, 0 Jan 16 20:18 ptyp0
crw-rw---- 1 root tty 2, 1 Jan 16 20:18 ptyp1
crw-rw---- 1 root tty 2, 2 Jan 16 20:18 ptyp2
crw-rw---- 1 root tty 2, 3 Jan 16 20:18 ptyp3
crw-rw---- 1 root tty 2, 4 Jan 16 20:18 ptyp4
crw-rw---- 1 root tty 2, 5 Jan 16 20:18 ptyp5
crw-rw---- 1 root tty 2, 6 Jan 16 20:18 ptyp6
crw-rw---- 1 root tty 2, 7 Jan 16 20:18 ptyp7
crw-rw---- 1 root tty 2, 8 Jan 16 20:18 ptyp8
crw-rw---- 1 root tty 2, 9 Jan 16 20:18 ptyp9
crw-rw---- 1 root tty 2, 10 Jan 16 20:18 ptypa
crw-rw---- 1 root tty 2, 11 Jan 16 20:18 ptypb
crw-rw---- 1 root tty 2, 12 Jan 16 20:18 ptypc
crw-rw---- 1 root tty 2, 13 Jan 16 20:18 ptypd
crw-rw---- 1 root tty 2, 14 Jan 16 20:18 ptype
crw-rw---- 1 root tty 2, 15 Jan 16 20:18 ptypf
crw-rw---- 1 root tty 2, 16 Jan 16 20:18 ptyq0
crw-rw---- 1 root tty 2, 17 Jan 16 20:18 ptyq1
crw-rw---- 1 root tty 2, 18 Jan 16 20:18 ptyq2
crw-rw---- 1 root tty 2, 19 Jan 16 20:18 ptyq3
crw-rw---- 1 root tty 2, 20 Jan 16 20:18 ptyq4
crw-rw---- 1 root tty 2, 21 Jan 16 20:18 ptyq5
crw-rw---- 1 root tty 2, 22 Jan 16 20:18 ptyq6
crw-rw---- 1 root tty 2, 23 Jan 16 20:18 ptyq7
crw-rw---- 1 root tty 2, 24 Jan 16 20:18 ptyq8
crw-rw---- 1 root tty 2, 25 Jan 16 20:18 ptyq9
crw-rw---- 1 root tty 2, 26 Jan 16 20:18 ptyqa
crw-rw---- 1 root tty 2, 27 Jan 16 20:18 ptyqb
crw-rw---- 1 root tty 2, 28 Jan 16 20:18 ptyqc
crw-rw---- 1 root tty 2, 29 Jan 16 20:18 ptyqd
crw-rw---- 1 root tty 2, 30 Jan 16 20:18 ptyqe
crw-rw---- 1 root tty 2, 31 Jan 16 20:18 ptyqf
crw-rw---- 1 root tty 2, 32 Jan 16 20:18 ptyr0
crw-rw---- 1 root tty 2, 33 Jan 16 20:18 ptyr1
crw-rw---- 1 root tty 2, 34 Jan 16 20:18 ptyr2
crw-rw---- 1 root tty 2, 35 Jan 16 20:18 ptyr3
crw-rw---- 1 root tty 2, 36 Jan 16 20:18 ptyr4
crw-rw---- 1 root tty 2, 37 Jan 16 20:18 ptyr5
crw-rw---- 1 root tty 2, 38 Jan 16 20:18 ptyr6
crw-rw---- 1 root tty 2, 39 Jan 16 20:18 ptyr7
crw-rw---- 1 root tty 2, 40 Jan 16 20:18 ptyr8
crw-rw---- 1 root tty 2, 41 Jan 16 20:18 ptyr9
crw-rw---- 1 root tty 2, 42 Jan 16 20:18 ptyra
crw-rw---- 1 root tty 2, 43 Jan 16 20:18 ptyrb
crw-rw---- 1 root tty 2, 44 Jan 16 20:18 ptyrc
crw-rw---- 1 root tty 2, 45 Jan 16 20:18 ptyrd
crw-rw---- 1 root tty 2, 46 Jan 16 20:18 ptyre
crw-rw---- 1 root tty 2, 47 Jan 16 20:18 ptyrf
crw-rw---- 1 root tty 2, 48 Jan 16 20:18 ptys0
crw-rw---- 1 root tty 2, 49 Jan 16 20:18 ptys1
crw-rw---- 1 root tty 2, 50 Jan 16 20:18 ptys2
crw-rw---- 1 root tty 2, 51 Jan 16 20:18 ptys3
crw-rw---- 1 root tty 2, 52 Jan 16 20:18 ptys4
crw-rw---- 1 root tty 2, 53 Jan 16 20:18 ptys5
crw-rw---- 1 root tty 2, 54 Jan 16 20:18 ptys6
crw-rw---- 1 root tty 2, 55 Jan 16 20:18 ptys7
crw-rw---- 1 root tty 2, 56 Jan 16 20:18 ptys8
crw-rw---- 1 root tty 2, 57 Jan 16 20:18 ptys9
crw-rw---- 1 root tty 2, 58 Jan 16 20:18 ptysa
crw-rw---- 1 root tty 2, 59 Jan 16 20:18 ptysb
crw-rw---- 1 root tty 2, 60 Jan 16 20:18 ptysc
crw-rw---- 1 root tty 2, 61 Jan 16 20:18 ptysd
crw-rw---- 1 root tty 2, 62 Jan 16 20:18 ptyse
crw-rw---- 1 root tty 2, 63 Jan 16 20:18 ptysf
crw-rw---- 1 root tty 2, 64 Jan 16 20:18 ptyt0
crw-rw---- 1 root tty 2, 65 Jan 16 20:18 ptyt1
crw-rw---- 1 root tty 2, 66 Jan 16 20:18 ptyt2
crw-rw---- 1 root tty 2, 67 Jan 16 20:18 ptyt3
crw-rw---- 1 root tty 2, 68 Jan 16 20:18 ptyt4
crw-rw---- 1 root tty 2, 69 Jan 16 20:18 ptyt5
crw-rw---- 1 root tty 2, 70 Jan 16 20:18 ptyt6
crw-rw---- 1 root tty 2, 71 Jan 16 20:18 ptyt7
crw-rw---- 1 root tty 2, 72 Jan 16 20:18 ptyt8
crw-rw---- 1 root tty 2, 73 Jan 16 20:18 ptyt9
crw-rw---- 1 root tty 2, 74 Jan 16 20:18 ptyta
crw-rw---- 1 root tty 2, 75 Jan 16 20:18 ptytb
crw-rw---- 1 root tty 2, 76 Jan 16 20:18 ptytc
crw-rw---- 1 root tty 2, 77 Jan 16 20:18 ptytd
crw-rw---- 1 root tty 2, 78 Jan 16 20:18 ptyte
crw-rw---- 1 root tty 2, 79 Jan 16 20:18 ptytf
crw-rw---- 1 root tty 2, 80 Jan 16 20:18 ptyu0
crw-rw---- 1 root tty 2, 81 Jan 16 20:18 ptyu1
crw-rw---- 1 root tty 2, 82 Jan 16 20:18 ptyu2
crw-rw---- 1 root tty 2, 83 Jan 16 20:18 ptyu3
crw-rw---- 1 root tty 2, 84 Jan 16 20:18 ptyu4
crw-rw---- 1 root tty 2, 85 Jan 16 20:18 ptyu5
crw-rw---- 1 root tty 2, 86 Jan 16 20:18 ptyu6
crw-rw---- 1 root tty 2, 87 Jan 16 20:18 ptyu7
crw-rw---- 1 root tty 2, 88 Jan 16 20:18 ptyu8
crw-rw---- 1 root tty 2, 89 Jan 16 20:18 ptyu9
crw-rw---- 1 root tty 2, 90 Jan 16 20:18 ptyua
crw-rw---- 1 root tty 2, 91 Jan 16 20:18 ptyub
crw-rw---- 1 root tty 2, 92 Jan 16 20:18 ptyuc
crw-rw---- 1 root tty 2, 93 Jan 16 20:18 ptyud
crw-rw---- 1 root tty 2, 94 Jan 16 20:18 ptyue
crw-rw---- 1 root tty 2, 95 Jan 16 20:18 ptyuf
crw-rw---- 1 root tty 2, 96 Jan 16 20:18 ptyv0
crw-rw---- 1 root tty 2, 97 Jan 16 20:18 ptyv1
crw-rw---- 1 root tty 2, 98 Jan 16 20:18 ptyv2
crw-rw---- 1 root tty 2, 99 Jan 16 20:18 ptyv3
crw-rw---- 1 root tty 2, 100 Jan 16 20:18 ptyv4
crw-rw---- 1 root tty 2, 101 Jan 16 20:18 ptyv5
crw-rw---- 1 root tty 2, 102 Jan 16 20:18 ptyv6
crw-rw---- 1 root tty 2, 103 Jan 16 20:18 ptyv7
crw-rw---- 1 root tty 2, 104 Jan 16 20:18 ptyv8
crw-rw---- 1 root tty 2, 105 Jan 16 20:18 ptyv9
crw-rw---- 1 root tty 2, 106 Jan 16 20:18 ptyva
crw-rw---- 1 root tty 2, 107 Jan 16 20:18 ptyvb
crw-rw---- 1 root tty 2, 108 Jan 16 20:18 ptyvc
crw-rw---- 1 root tty 2, 109 Jan 16 20:18 ptyvd
crw-rw---- 1 root tty 2, 110 Jan 16 20:18 ptyve
crw-rw---- 1 root tty 2, 111 Jan 16 20:18 ptyvf
crw-rw---- 1 root tty 2, 112 Jan 16 20:18 ptyw0
crw-rw---- 1 root tty 2, 113 Jan 16 20:18 ptyw1
crw-rw---- 1 root tty 2, 114 Jan 16 20:18 ptyw2
crw-rw---- 1 root tty 2, 115 Jan 16 20:18 ptyw3
crw-rw---- 1 root tty 2, 116 Jan 16 20:18 ptyw4
crw-rw---- 1 root tty 2, 117 Jan 16 20:18 ptyw5
crw-rw---- 1 root tty 2, 118 Jan 16 20:18 ptyw6
crw-rw---- 1 root tty 2, 119 Jan 16 20:18 ptyw7
crw-rw---- 1 root tty 2, 120 Jan 16 20:18 ptyw8
crw-rw---- 1 root tty 2, 121 Jan 16 20:18 ptyw9
crw-rw---- 1 root tty 2, 122 Jan 16 20:18 ptywa
crw-rw---- 1 root tty 2, 123 Jan 16 20:18 ptywb
crw-rw---- 1 root tty 2, 124 Jan 16 20:18 ptywc
crw-rw---- 1 root tty 2, 125 Jan 16 20:18 ptywd
crw-rw---- 1 root tty 2, 126 Jan 16 20:18 ptywe
crw-rw---- 1 root tty 2, 127 Jan 16 20:18 ptywf
crw-rw---- 1 root tty 2, 128 Jan 16 20:18 ptyx0
crw-rw---- 1 root tty 2, 129 Jan 16 20:18 ptyx1
crw-rw---- 1 root tty 2, 130 Jan 16 20:18 ptyx2
crw-rw---- 1 root tty 2, 131 Jan 16 20:18 ptyx3
crw-rw---- 1 root tty 2, 132 Jan 16 20:18 ptyx4
crw-rw---- 1 root tty 2, 133 Jan 16 20:18 ptyx5
crw-rw---- 1 root tty 2, 134 Jan 16 20:18 ptyx6
crw-rw---- 1 root tty 2, 135 Jan 16 20:18 ptyx7
crw-rw---- 1 root tty 2, 136 Jan 16 20:18 ptyx8
crw-rw---- 1 root tty 2, 137 Jan 16 20:18 ptyx9
crw-rw---- 1 root tty 2, 138 Jan 16 20:18 ptyxa
crw-rw---- 1 root tty 2, 139 Jan 16 20:18 ptyxb
crw-rw---- 1 root tty 2, 140 Jan 16 20:18 ptyxc
crw-rw---- 1 root tty 2, 141 Jan 16 20:18 ptyxd
crw-rw---- 1 root tty 2, 142 Jan 16 20:18 ptyxe
crw-rw---- 1 root tty 2, 143 Jan 16 20:18 ptyxf
crw-rw---- 1 root tty 2, 144 Jan 16 20:18 ptyy0
crw-rw---- 1 root tty 2, 145 Jan 16 20:18 ptyy1
crw-rw---- 1 root tty 2, 146 Jan 16 20:18 ptyy2
crw-rw---- 1 root tty 2, 147 Jan 16 20:18 ptyy3
crw-rw---- 1 root tty 2, 148 Jan 16 20:18 ptyy4
crw-rw---- 1 root tty 2, 149 Jan 16 20:18 ptyy5
crw-rw---- 1 root tty 2, 150 Jan 16 20:18 ptyy6
crw-rw---- 1 root tty 2, 151 Jan 16 20:18 ptyy7
crw-rw---- 1 root tty 2, 152 Jan 16 20:18 ptyy8
crw-rw---- 1 root tty 2, 153 Jan 16 20:18 ptyy9
crw-rw---- 1 root tty 2, 154 Jan 16 20:18 ptyya
crw-rw---- 1 root tty 2, 155 Jan 16 20:18 ptyyb
crw-rw---- 1 root tty 2, 156 Jan 16 20:18 ptyyc
crw-rw---- 1 root tty 2, 157 Jan 16 20:18 ptyyd
crw-rw---- 1 root tty 2, 158 Jan 16 20:18 ptyye
crw-rw---- 1 root tty 2, 159 Jan 16 20:18 ptyyf
crw-rw---- 1 root tty 2, 160 Jan 16 20:18 ptyz0
crw-rw---- 1 root tty 2, 161 Jan 16 20:18 ptyz1
crw-rw---- 1 root tty 2, 162 Jan 16 20:18 ptyz2
crw-rw---- 1 root tty 2, 163 Jan 16 20:18 ptyz3
crw-rw---- 1 root tty 2, 164 Jan 16 20:18 ptyz4
crw-rw---- 1 root tty 2, 165 Jan 16 20:18 ptyz5
crw-rw---- 1 root tty 2, 166 Jan 16 20:18 ptyz6
crw-rw---- 1 root tty 2, 167 Jan 16 20:18 ptyz7
crw-rw---- 1 root tty 2, 168 Jan 16 20:18 ptyz8
crw-rw---- 1 root tty 2, 169 Jan 16 20:18 ptyz9
crw-rw---- 1 root tty 2, 170 Jan 16 20:18 ptyza
crw-rw---- 1 root tty 2, 171 Jan 16 20:18 ptyzb
crw-rw---- 1 root tty 2, 172 Jan 16 20:18 ptyzc
crw-rw---- 1 root tty 2, 173 Jan 16 20:18 ptyzd
crw-rw---- 1 root tty 2, 174 Jan 16 20:18 ptyze
crw-rw---- 1 root tty 2, 175 Jan 16 20:18 ptyzf
crw-rw-rw- 1 root root 1, 8 Jan 16 20:18 random
drwxr-xr-x 2 root root 60 Jan 16 20:18 raw
crw-r--r-- 1 root root 10, 62 Jan 16 20:18 rfkill
crw-rw---- 1 root root 10, 135 Jan 16 20:18 rtc
brw------- 1 root root 8, 0 Jan 16 20:18 sda
brw------- 1 root root 8, 1 Jan 16 20:18 sda1
brw------- 1 root root 8, 2 Jan 16 20:18 sda2
brw------- 1 root root 8, 3 Jan 16 20:18 sda3
brw------- 1 root root 8, 5 Jan 16 20:18 sda5
brw------- 1 root root 8, 6 Jan 16 20:18 sda6
brw------- 1 root root 8, 7 Jan 16 20:18 sda7
brw------- 1 root root 8, 8 Jan 16 20:18 sda8
brw------- 1 root root 8, 9 Jan 16 20:18 sda9
brw------- 1 root root 8, 16 Jan 16 20:18 sdb
brw------- 1 root root 8, 17 Jan 16 20:18 sdb1
drwxr-xr-x 2 root root 40 Jan 16 20:18 shm
crw-rw---- 1 root root 10, 231 Jan 16 20:18 snapshot
drwxr-xr-x 3 root root 260 Jan 16 20:18 snd
brw------- 1 root root 11, 0 Jan 16 20:18 sr0
lrwxrwxrwx 1 root root 4 Jan 16 20:18 stderr -> fd/2
lrwxrwxrwx 1 root root 4 Jan 16 20:18 stdin -> fd/0
lrwxrwxrwx 1 root root 4 Jan 16 20:18 stdout -> fd/1
crw-rw-rw- 1 root tty 5, 0 Jan 16 20:18 tty
crw--w---- 1 root root 4, 0 Jan 16 20:18 tty0
crw------- 1 root root 4, 1 Jan 16 20:18 tty1
crw--w---- 1 root tty 4, 10 Jan 16 20:18 tty10
crw--w---- 1 root tty 4, 11 Jan 16 20:18 tty11
crw------- 1 root root 4, 12 Jan 16 20:22 tty12
crw--w---- 1 root tty 4, 13 Jan 16 20:18 tty13
crw--w---- 1 root tty 4, 14 Jan 16 20:18 tty14
crw--w---- 1 root tty 4, 15 Jan 16 20:18 tty15
crw--w---- 1 root tty 4, 16 Jan 16 20:18 tty16
crw--w---- 1 root tty 4, 17 Jan 16 20:18 tty17
crw--w---- 1 root tty 4, 18 Jan 16 20:18 tty18
crw--w---- 1 root tty 4, 19 Jan 16 20:18 tty19
crw------- 1 root root 4, 2 Jan 16 20:18 tty2
crw--w---- 1 root tty 4, 20 Jan 16 20:18 tty20
crw--w---- 1 root tty 4, 21 Jan 16 20:18 tty21
crw--w---- 1 root tty 4, 22 Jan 16 20:18 tty22
crw--w---- 1 root tty 4, 23 Jan 16 20:18 tty23
crw--w---- 1 root tty 4, 24 Jan 16 20:18 tty24
crw--w---- 1 root tty 4, 25 Jan 16 20:18 tty25
crw--w---- 1 root tty 4, 26 Jan 16 20:18 tty26
crw--w---- 1 root tty 4, 27 Jan 16 20:18 tty27
crw--w---- 1 root tty 4, 28 Jan 16 20:18 tty28
crw--w---- 1 root tty 4, 29 Jan 16 20:18 tty29
crw------- 1 root root 4, 3 Jan 16 20:18 tty3
crw--w---- 1 root tty 4, 30 Jan 16 20:18 tty30
crw--w---- 1 root tty 4, 31 Jan 16 20:18 tty31
crw--w---- 1 root tty 4, 32 Jan 16 20:18 tty32
crw--w---- 1 root tty 4, 33 Jan 16 20:18 tty33
crw--w---- 1 root tty 4, 34 Jan 16 20:18 tty34
crw--w---- 1 root tty 4, 35 Jan 16 20:18 tty35
crw--w---- 1 root tty 4, 36 Jan 16 20:18 tty36
crw--w---- 1 root tty 4, 37 Jan 16 20:18 tty37
crw--w---- 1 root tty 4, 38 Jan 16 20:18 tty38
crw--w---- 1 root tty 4, 39 Jan 16 20:18 tty39
crw------- 1 root root 4, 4 Jan 16 20:18 tty4
crw--w---- 1 root tty 4, 40 Jan 16 20:18 tty40
crw--w---- 1 root tty 4, 41 Jan 16 20:18 tty41
crw--w---- 1 root tty 4, 42 Jan 16 20:18 tty42
crw--w---- 1 root tty 4, 43 Jan 16 20:18 tty43
crw--w---- 1 root tty 4, 44 Jan 16 20:18 tty44
crw--w---- 1 root tty 4, 45 Jan 16 20:18 tty45
crw--w---- 1 root tty 4, 46 Jan 16 20:18 tty46
crw--w---- 1 root tty 4, 47 Jan 16 20:18 tty47
crw--w---- 1 root tty 4, 48 Jan 16 20:18 tty48
crw--w---- 1 root tty 4, 49 Jan 16 20:18 tty49
crw------- 1 root root 4, 5 Jan 16 20:18 tty5
crw--w---- 1 root tty 4, 50 Jan 16 20:18 tty50
crw--w---- 1 root tty 4, 51 Jan 16 20:18 tty51
crw--w---- 1 root tty 4, 52 Jan 16 20:18 tty52
crw--w---- 1 root tty 4, 53 Jan 16 20:18 tty53
crw--w---- 1 root tty 4, 54 Jan 16 20:18 tty54
crw--w---- 1 root tty 4, 55 Jan 16 20:18 tty55
crw--w---- 1 root tty 4, 56 Jan 16 20:18 tty56
crw--w---- 1 root tty 4, 57 Jan 16 20:18 tty57
crw--w---- 1 root tty 4, 58 Jan 16 20:18 tty58
crw--w---- 1 root tty 4, 59 Jan 16 20:18 tty59
crw------- 1 root root 4, 6 Jan 16 20:18 tty6
crw--w---- 1 root tty 4, 60 Jan 16 20:18 tty60
crw--w---- 1 root tty 4, 61 Jan 16 20:18 tty61
crw--w---- 1 root tty 4, 62 Jan 16 20:18 tty62
crw--w---- 1 root tty 4, 63 Jan 16 20:18 tty63
crw--w---- 1 root root 4, 7 Jan 16 20:18 tty7
crw--w---- 1 root tty 4, 8 Jan 16 20:18 tty8
crw--w---- 1 root tty 4, 9 Jan 16 20:18 tty9
crw-rw---- 1 root uucp 4, 64 Jan 16 20:18 ttyS0
crw-rw---- 1 root uucp 4, 65 Jan 16 20:18 ttyS1
crw-rw---- 1 root uucp 4, 66 Jan 16 20:18 ttyS2
crw-rw---- 1 root uucp 4, 67 Jan 16 20:18 ttyS3
crw-rw---- 1 root tty 3, 176 Jan 16 20:18 ttya0
crw-rw---- 1 root tty 3, 177 Jan 16 20:18 ttya1
crw-rw---- 1 root tty 3, 178 Jan 16 20:18 ttya2
crw-rw---- 1 root tty 3, 179 Jan 16 20:18 ttya3
crw-rw---- 1 root tty 3, 180 Jan 16 20:18 ttya4
crw-rw---- 1 root tty 3, 181 Jan 16 20:18 ttya5
crw-rw---- 1 root tty 3, 182 Jan 16 20:18 ttya6
crw-rw---- 1 root tty 3, 183 Jan 16 20:18 ttya7
crw-rw---- 1 root tty 3, 184 Jan 16 20:18 ttya8
crw-rw---- 1 root tty 3, 185 Jan 16 20:18 ttya9
crw-rw---- 1 root tty 3, 186 Jan 16 20:18 ttyaa
crw-rw---- 1 root tty 3, 187 Jan 16 20:18 ttyab
crw-rw---- 1 root tty 3, 188 Jan 16 20:18 ttyac
crw-rw---- 1 root tty 3, 189 Jan 16 20:18 ttyad
crw-rw---- 1 root tty 3, 190 Jan 16 20:18 ttyae
crw-rw---- 1 root tty 3, 191 Jan 16 20:18 ttyaf
crw-rw---- 1 root tty 3, 192 Jan 16 20:18 ttyb0
crw-rw---- 1 root tty 3, 193 Jan 16 20:18 ttyb1
crw-rw---- 1 root tty 3, 194 Jan 16 20:18 ttyb2
crw-rw---- 1 root tty 3, 195 Jan 16 20:18 ttyb3
crw-rw---- 1 root tty 3, 196 Jan 16 20:18 ttyb4
crw-rw---- 1 root tty 3, 197 Jan 16 20:18 ttyb5
crw-rw---- 1 root tty 3, 198 Jan 16 20:18 ttyb6
crw-rw---- 1 root tty 3, 199 Jan 16 20:18 ttyb7
crw-rw---- 1 root tty 3, 200 Jan 16 20:18 ttyb8
crw-rw---- 1 root tty 3, 201 Jan 16 20:18 ttyb9
crw-rw---- 1 root tty 3, 202 Jan 16 20:18 ttyba
crw-rw---- 1 root tty 3, 203 Jan 16 20:18 ttybb
crw-rw---- 1 root tty 3, 204 Jan 16 20:18 ttybc
crw-rw---- 1 root tty 3, 205 Jan 16 20:18 ttybd
crw-rw---- 1 root tty 3, 206 Jan 16 20:18 ttybe
crw-rw---- 1 root tty 3, 207 Jan 16 20:18 ttybf
crw-rw---- 1 root tty 3, 208 Jan 16 20:18 ttyc0
crw-rw---- 1 root tty 3, 209 Jan 16 20:18 ttyc1
crw-rw---- 1 root tty 3, 210 Jan 16 20:18 ttyc2
crw-rw---- 1 root tty 3, 211 Jan 16 20:18 ttyc3
crw-rw---- 1 root tty 3, 212 Jan 16 20:18 ttyc4
crw-rw---- 1 root tty 3, 213 Jan 16 20:18 ttyc5
crw-rw---- 1 root tty 3, 214 Jan 16 20:18 ttyc6
crw-rw---- 1 root tty 3, 215 Jan 16 20:18 ttyc7
crw-rw---- 1 root tty 3, 216 Jan 16 20:18 ttyc8
crw-rw---- 1 root tty 3, 217 Jan 16 20:18 ttyc9
crw-rw---- 1 root tty 3, 218 Jan 16 20:18 ttyca
crw-rw---- 1 root tty 3, 219 Jan 16 20:18 ttycb
crw-rw---- 1 root tty 3, 220 Jan 16 20:18 ttycc
crw-rw---- 1 root tty 3, 221 Jan 16 20:18 ttycd
crw-rw---- 1 root tty 3, 222 Jan 16 20:18 ttyce
crw-rw---- 1 root tty 3, 223 Jan 16 20:18 ttycf
crw-rw---- 1 root tty 3, 224 Jan 16 20:18 ttyd0
crw-rw---- 1 root tty 3, 225 Jan 16 20:18 ttyd1
crw-rw---- 1 root tty 3, 226 Jan 16 20:18 ttyd2
crw-rw---- 1 root tty 3, 227 Jan 16 20:18 ttyd3
crw-rw---- 1 root tty 3, 228 Jan 16 20:18 ttyd4
crw-rw---- 1 root tty 3, 229 Jan 16 20:18 ttyd5
crw-rw---- 1 root tty 3, 230 Jan 16 20:18 ttyd6
crw-rw---- 1 root tty 3, 231 Jan 16 20:18 ttyd7
crw-rw---- 1 root tty 3, 232 Jan 16 20:18 ttyd8
crw-rw---- 1 root tty 3, 233 Jan 16 20:18 ttyd9
crw-rw---- 1 root tty 3, 234 Jan 16 20:18 ttyda
crw-rw---- 1 root tty 3, 235 Jan 16 20:18 ttydb
crw-rw---- 1 root tty 3, 236 Jan 16 20:18 ttydc
crw-rw---- 1 root tty 3, 237 Jan 16 20:18 ttydd
crw-rw---- 1 root tty 3, 238 Jan 16 20:18 ttyde
crw-rw---- 1 root tty 3, 239 Jan 16 20:18 ttydf
crw-rw---- 1 root tty 3, 240 Jan 16 20:18 ttye0
crw-rw---- 1 root tty 3, 241 Jan 16 20:18 ttye1
crw-rw---- 1 root tty 3, 242 Jan 16 20:18 ttye2
crw-rw---- 1 root tty 3, 243 Jan 16 20:18 ttye3
crw-rw---- 1 root tty 3, 244 Jan 16 20:18 ttye4
crw-rw---- 1 root tty 3, 245 Jan 16 20:18 ttye5
crw-rw---- 1 root tty 3, 246 Jan 16 20:18 ttye6
crw-rw---- 1 root tty 3, 247 Jan 16 20:18 ttye7
crw-rw---- 1 root tty 3, 248 Jan 16 20:18 ttye8
crw-rw---- 1 root tty 3, 249 Jan 16 20:18 ttye9
crw-rw---- 1 root tty 3, 250 Jan 16 20:18 ttyea
crw-rw---- 1 root tty 3, 251 Jan 16 20:18 ttyeb
crw-rw---- 1 root tty 3, 252 Jan 16 20:18 ttyec
crw-rw---- 1 root tty 3, 253 Jan 16 20:18 ttyed
crw-rw---- 1 root tty 3, 254 Jan 16 20:18 ttyee
crw-rw---- 1 root tty 3, 255 Jan 16 20:18 ttyef
crw-rw---- 1 root tty 3, 0 Jan 16 20:18 ttyp0
crw-rw---- 1 root tty 3, 1 Jan 16 20:18 ttyp1
crw-rw---- 1 root tty 3, 2 Jan 16 20:18 ttyp2
crw-rw---- 1 root tty 3, 3 Jan 16 20:18 ttyp3
crw-rw---- 1 root tty 3, 4 Jan 16 20:18 ttyp4
crw-rw---- 1 root tty 3, 5 Jan 16 20:18 ttyp5
crw-rw---- 1 root tty 3, 6 Jan 16 20:18 ttyp6
crw-rw---- 1 root tty 3, 7 Jan 16 20:18 ttyp7
crw-rw---- 1 root tty 3, 8 Jan 16 20:18 ttyp8
crw-rw---- 1 root tty 3, 9 Jan 16 20:18 ttyp9
crw-rw---- 1 root tty 3, 10 Jan 16 20:18 ttypa
crw-rw---- 1 root tty 3, 11 Jan 16 20:18 ttypb
crw-rw---- 1 root tty 3, 12 Jan 16 20:18 ttypc
crw-rw---- 1 root tty 3, 13 Jan 16 20:18 ttypd
crw-rw---- 1 root tty 3, 14 Jan 16 20:18 ttype
crw-rw---- 1 root tty 3, 15 Jan 16 20:18 ttypf
crw-rw---- 1 root tty 3, 16 Jan 16 20:18 ttyq0
crw-rw---- 1 root tty 3, 17 Jan 16 20:18 ttyq1
crw-rw---- 1 root tty 3, 18 Jan 16 20:18 ttyq2
crw-rw---- 1 root tty 3, 19 Jan 16 20:18 ttyq3
crw-rw---- 1 root tty 3, 20 Jan 16 20:18 ttyq4
crw-rw---- 1 root tty 3, 21 Jan 16 20:18 ttyq5
crw-rw---- 1 root tty 3, 22 Jan 16 20:18 ttyq6
crw-rw---- 1 root tty 3, 23 Jan 16 20:18 ttyq7
crw-rw---- 1 root tty 3, 24 Jan 16 20:18 ttyq8
crw-rw---- 1 root tty 3, 25 Jan 16 20:18 ttyq9
crw-rw---- 1 root tty 3, 26 Jan 16 20:18 ttyqa
crw-rw---- 1 root tty 3, 27 Jan 16 20:18 ttyqb
crw-rw---- 1 root tty 3, 28 Jan 16 20:18 ttyqc
crw-rw---- 1 root tty 3, 29 Jan 16 20:18 ttyqd
crw-rw---- 1 root tty 3, 30 Jan 16 20:18 ttyqe
crw-rw---- 1 root tty 3, 31 Jan 16 20:18 ttyqf
crw-rw---- 1 root tty 3, 32 Jan 16 20:18 ttyr0
crw-rw---- 1 root tty 3, 33 Jan 16 20:18 ttyr1
crw-rw---- 1 root tty 3, 34 Jan 16 20:18 ttyr2
crw-rw---- 1 root tty 3, 35 Jan 16 20:18 ttyr3
crw-rw---- 1 root tty 3, 36 Jan 16 20:18 ttyr4
crw-rw---- 1 root tty 3, 37 Jan 16 20:18 ttyr5
crw-rw---- 1 root tty 3, 38 Jan 16 20:18 ttyr6
crw-rw---- 1 root tty 3, 39 Jan 16 20:18 ttyr7
crw-rw---- 1 root tty 3, 40 Jan 16 20:18 ttyr8
crw-rw---- 1 root tty 3, 41 Jan 16 20:18 ttyr9
crw-rw---- 1 root tty 3, 42 Jan 16 20:18 ttyra
crw-rw---- 1 root tty 3, 43 Jan 16 20:18 ttyrb
crw-rw---- 1 root tty 3, 44 Jan 16 20:18 ttyrc
crw-rw---- 1 root tty 3, 45 Jan 16 20:18 ttyrd
crw-rw---- 1 root tty 3, 46 Jan 16 20:18 ttyre
crw-rw---- 1 root tty 3, 47 Jan 16 20:18 ttyrf
crw-rw---- 1 root tty 3, 48 Jan 16 20:18 ttys0
crw-rw---- 1 root tty 3, 49 Jan 16 20:18 ttys1
crw-rw---- 1 root tty 3, 50 Jan 16 20:18 ttys2
crw-rw---- 1 root tty 3, 51 Jan 16 20:18 ttys3
crw-rw---- 1 root tty 3, 52 Jan 16 20:18 ttys4
crw-rw---- 1 root tty 3, 53 Jan 16 20:18 ttys5
crw-rw---- 1 root tty 3, 54 Jan 16 20:18 ttys6
crw-rw---- 1 root tty 3, 55 Jan 16 20:18 ttys7
crw-rw---- 1 root tty 3, 56 Jan 16 20:18 ttys8
crw-rw---- 1 root tty 3, 57 Jan 16 20:18 ttys9
crw-rw---- 1 root tty 3, 58 Jan 16 20:18 ttysa
crw-rw---- 1 root tty 3, 59 Jan 16 20:18 ttysb
crw-rw---- 1 root tty 3, 60 Jan 16 20:18 ttysc
crw-rw---- 1 root tty 3, 61 Jan 16 20:18 ttysd
crw-rw---- 1 root tty 3, 62 Jan 16 20:18 ttyse
crw-rw---- 1 root tty 3, 63 Jan 16 20:18 ttysf
crw-rw---- 1 root tty 3, 64 Jan 16 20:18 ttyt0
crw-rw---- 1 root tty 3, 65 Jan 16 20:18 ttyt1
crw-rw---- 1 root tty 3, 66 Jan 16 20:18 ttyt2
crw-rw---- 1 root tty 3, 67 Jan 16 20:18 ttyt3
crw-rw---- 1 root tty 3, 68 Jan 16 20:18 ttyt4
crw-rw---- 1 root tty 3, 69 Jan 16 20:18 ttyt5
crw-rw---- 1 root tty 3, 70 Jan 16 20:18 ttyt6
crw-rw---- 1 root tty 3, 71 Jan 16 20:18 ttyt7
crw-rw---- 1 root tty 3, 72 Jan 16 20:18 ttyt8
crw-rw---- 1 root tty 3, 73 Jan 16 20:18 ttyt9
crw-rw---- 1 root tty 3, 74 Jan 16 20:18 ttyta
crw-rw---- 1 root tty 3, 75 Jan 16 20:18 ttytb
crw-rw---- 1 root tty 3, 76 Jan 16 20:18 ttytc
crw-rw---- 1 root tty 3, 77 Jan 16 20:18 ttytd
crw-rw---- 1 root tty 3, 78 Jan 16 20:18 ttyte
crw-rw---- 1 root tty 3, 79 Jan 16 20:18 ttytf
crw-rw---- 1 root tty 3, 80 Jan 16 20:18 ttyu0
crw-rw---- 1 root tty 3, 81 Jan 16 20:18 ttyu1
crw-rw---- 1 root tty 3, 82 Jan 16 20:18 ttyu2
crw-rw---- 1 root tty 3, 83 Jan 16 20:18 ttyu3
crw-rw---- 1 root tty 3, 84 Jan 16 20:18 ttyu4
crw-rw---- 1 root tty 3, 85 Jan 16 20:18 ttyu5
crw-rw---- 1 root tty 3, 86 Jan 16 20:18 ttyu6
crw-rw---- 1 root tty 3, 87 Jan 16 20:18 ttyu7
crw-rw---- 1 root tty 3, 88 Jan 16 20:18 ttyu8
crw-rw---- 1 root tty 3, 89 Jan 16 20:18 ttyu9
crw-rw---- 1 root tty 3, 90 Jan 16 20:18 ttyua
crw-rw---- 1 root tty 3, 91 Jan 16 20:18 ttyub
crw-rw---- 1 root tty 3, 92 Jan 16 20:18 ttyuc
crw-rw---- 1 root tty 3, 93 Jan 16 20:18 ttyud
crw-rw---- 1 root tty 3, 94 Jan 16 20:18 ttyue
crw-rw---- 1 root tty 3, 95 Jan 16 20:18 ttyuf
crw-rw---- 1 root tty 3, 96 Jan 16 20:18 ttyv0
crw-rw---- 1 root tty 3, 97 Jan 16 20:18 ttyv1
crw-rw---- 1 root tty 3, 98 Jan 16 20:18 ttyv2
crw-rw---- 1 root tty 3, 99 Jan 16 20:18 ttyv3
crw-rw---- 1 root tty 3, 100 Jan 16 20:18 ttyv4
crw-rw---- 1 root tty 3, 101 Jan 16 20:18 ttyv5
crw-rw---- 1 root tty 3, 102 Jan 16 20:18 ttyv6
crw-rw---- 1 root tty 3, 103 Jan 16 20:18 ttyv7
crw-rw---- 1 root tty 3, 104 Jan 16 20:18 ttyv8
crw-rw---- 1 root tty 3, 105 Jan 16 20:18 ttyv9
crw-rw---- 1 root tty 3, 106 Jan 16 20:18 ttyva
crw-rw---- 1 root tty 3, 107 Jan 16 20:18 ttyvb
crw-rw---- 1 root tty 3, 108 Jan 16 20:18 ttyvc
crw-rw---- 1 root tty 3, 109 Jan 16 20:18 ttyvd
crw-rw---- 1 root tty 3, 110 Jan 16 20:18 ttyve
crw-rw---- 1 root tty 3, 111 Jan 16 20:18 ttyvf
crw-rw---- 1 root tty 3, 112 Jan 16 20:18 ttyw0
crw-rw---- 1 root tty 3, 113 Jan 16 20:18 ttyw1
crw-rw---- 1 root tty 3, 114 Jan 16 20:18 ttyw2
crw-rw---- 1 root tty 3, 115 Jan 16 20:18 ttyw3
crw-rw---- 1 root tty 3, 116 Jan 16 20:18 ttyw4
crw-rw---- 1 root tty 3, 117 Jan 16 20:18 ttyw5
crw-rw---- 1 root tty 3, 118 Jan 16 20:18 ttyw6
crw-rw---- 1 root tty 3, 119 Jan 16 20:18 ttyw7
crw-rw---- 1 root tty 3, 120 Jan 16 20:18 ttyw8
crw-rw---- 1 root tty 3, 121 Jan 16 20:18 ttyw9
crw-rw---- 1 root tty 3, 122 Jan 16 20:18 ttywa
crw-rw---- 1 root tty 3, 123 Jan 16 20:18 ttywb
crw-rw---- 1 root tty 3, 124 Jan 16 20:18 ttywc
crw-rw---- 1 root tty 3, 125 Jan 16 20:18 ttywd
crw-rw---- 1 root tty 3, 126 Jan 16 20:18 ttywe
crw-rw---- 1 root tty 3, 127 Jan 16 20:18 ttywf
crw-rw---- 1 root tty 3, 128 Jan 16 20:18 ttyx0
crw-rw---- 1 root tty 3, 129 Jan 16 20:18 ttyx1
crw-rw---- 1 root tty 3, 130 Jan 16 20:18 ttyx2
crw-rw---- 1 root tty 3, 131 Jan 16 20:18 ttyx3
crw-rw---- 1 root tty 3, 132 Jan 16 20:18 ttyx4
crw-rw---- 1 root tty 3, 133 Jan 16 20:18 ttyx5
crw-rw---- 1 root tty 3, 134 Jan 16 20:18 ttyx6
crw-rw---- 1 root tty 3, 135 Jan 16 20:18 ttyx7
crw-rw---- 1 root tty 3, 136 Jan 16 20:18 ttyx8
crw-rw---- 1 root tty 3, 137 Jan 16 20:18 ttyx9
crw-rw---- 1 root tty 3, 138 Jan 16 20:18 ttyxa
crw-rw---- 1 root tty 3, 139 Jan 16 20:18 ttyxb
crw-rw---- 1 root tty 3, 140 Jan 16 20:18 ttyxc
crw-rw---- 1 root tty 3, 141 Jan 16 20:18 ttyxd
crw-rw---- 1 root tty 3, 142 Jan 16 20:18 ttyxe
crw-rw---- 1 root tty 3, 143 Jan 16 20:18 ttyxf
crw-rw---- 1 root tty 3, 144 Jan 16 20:18 ttyy0
crw-rw---- 1 root tty 3, 145 Jan 16 20:18 ttyy1
crw-rw---- 1 root tty 3, 146 Jan 16 20:18 ttyy2
crw-rw---- 1 root tty 3, 147 Jan 16 20:18 ttyy3
crw-rw---- 1 root tty 3, 148 Jan 16 20:18 ttyy4
crw-rw---- 1 root tty 3, 149 Jan 16 20:18 ttyy5
crw-rw---- 1 root tty 3, 150 Jan 16 20:18 ttyy6
crw-rw---- 1 root tty 3, 151 Jan 16 20:18 ttyy7
crw-rw---- 1 root tty 3, 152 Jan 16 20:18 ttyy8
crw-rw---- 1 root tty 3, 153 Jan 16 20:18 ttyy9
crw-rw---- 1 root tty 3, 154 Jan 16 20:18 ttyya
crw-rw---- 1 root tty 3, 155 Jan 16 20:18 ttyyb
crw-rw---- 1 root tty 3, 156 Jan 16 20:18 ttyyc
crw-rw---- 1 root tty 3, 157 Jan 16 20:18 ttyyd
crw-rw---- 1 root tty 3, 158 Jan 16 20:18 ttyye
crw-rw---- 1 root tty 3, 159 Jan 16 20:18 ttyyf
crw-rw---- 1 root tty 3, 160 Jan 16 20:18 ttyz0
crw-rw---- 1 root tty 3, 161 Jan 16 20:18 ttyz1
crw-rw---- 1 root tty 3, 162 Jan 16 20:18 ttyz2
crw-rw---- 1 root tty 3, 163 Jan 16 20:18 ttyz3
crw-rw---- 1 root tty 3, 164 Jan 16 20:18 ttyz4
crw-rw---- 1 root tty 3, 165 Jan 16 20:18 ttyz5
crw-rw---- 1 root tty 3, 166 Jan 16 20:18 ttyz6
crw-rw---- 1 root tty 3, 167 Jan 16 20:18 ttyz7
crw-rw---- 1 root tty 3, 168 Jan 16 20:18 ttyz8
crw-rw---- 1 root tty 3, 169 Jan 16 20:18 ttyz9
crw-rw---- 1 root tty 3, 170 Jan 16 20:18 ttyza
crw-rw---- 1 root tty 3, 171 Jan 16 20:18 ttyzb
crw-rw---- 1 root tty 3, 172 Jan 16 20:18 ttyzc
crw-rw---- 1 root tty 3, 173 Jan 16 20:18 ttyzd
crw-rw---- 1 root tty 3, 174 Jan 16 20:18 ttyze
crw-rw---- 1 root tty 3, 175 Jan 16 20:18 ttyzf
crw-rw-rw- 1 root root 1, 9 Jan 16 20:18 urandom
crw-rw---- 1 root root 253, 0 Jan 16 20:18 usbmon0
crw-rw---- 1 root root 253, 1 Jan 16 20:18 usbmon1
crw-rw---- 1 root root 253, 2 Jan 16 20:18 usbmon2
crw-rw---- 1 root root 253, 3 Jan 16 20:18 usbmon3
crw-rw---- 1 root root 253, 4 Jan 16 20:18 usbmon4
crw-rw---- 1 root root 253, 5 Jan 16 20:18 usbmon5
crw-rw---- 1 root tty 7, 0 Jan 16 20:18 vcs
crw-rw---- 1 root tty 7, 1 Jan 16 20:18 vcs1
crw-rw---- 1 root tty 7, 10 Jan 16 20:18 vcs10
crw-rw---- 1 root tty 7, 11 Jan 16 20:18 vcs11
crw-rw---- 1 root tty 7, 12 Jan 16 20:18 vcs12
crw-rw---- 1 root tty 7, 2 Jan 16 20:18 vcs2
crw-rw---- 1 root tty 7, 3 Jan 16 20:18 vcs3
crw-rw---- 1 root tty 7, 4 Jan 16 20:18 vcs4
crw-rw---- 1 root tty 7, 5 Jan 16 20:18 vcs5
crw-rw---- 1 root tty 7, 6 Jan 16 20:18 vcs6
crw-rw---- 1 root tty 7, 7 Jan 16 20:18 vcs7
crw-rw---- 1 root tty 7, 8 Jan 16 20:18 vcs8
crw-rw---- 1 root tty 7, 9 Jan 16 20:18 vcs9
crw-rw---- 1 root tty 7, 128 Jan 16 20:18 vcsa
crw-rw---- 1 root tty 7, 129 Jan 16 20:18 vcsa1
crw-rw---- 1 root tty 7, 138 Jan 16 20:18 vcsa10
crw-rw---- 1 root tty 7, 139 Jan 16 20:18 vcsa11
crw-rw---- 1 root tty 7, 140 Jan 16 20:18 vcsa12
crw-rw---- 1 root tty 7, 130 Jan 16 20:18 vcsa2
crw-rw---- 1 root tty 7, 131 Jan 16 20:18 vcsa3
crw-rw---- 1 root tty 7, 132 Jan 16 20:18 vcsa4
crw-rw---- 1 root tty 7, 133 Jan 16 20:18 vcsa5
crw-rw---- 1 root tty 7, 134 Jan 16 20:18 vcsa6
crw-rw---- 1 root tty 7, 135 Jan 16 20:18 vcsa7
crw-rw---- 1 root tty 7, 136 Jan 16 20:18 vcsa8
crw-rw---- 1 root tty 7, 137 Jan 16 20:18 vcsa9
crw-rw---- 1 root root 10, 63 Jan 16 20:18 vga_arbiter
crw-rw-rw- 1 root root 1, 5 Jan 16 20:18 zero

_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54331
Location: 56N 3W

PostPosted: Sun Jan 16, 2011 10:14 pm    Post subject: Reply with quote

menschmeier,

Udev is running - all the /dev/ entries are dated nowish, not years ago.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Mon Jan 17, 2011 10:19 pm    Post subject: Reply with quote

The file 70-persistant-cd.rules isn't regenerated automatically ...

I added it again to /etc/udev/rules.d/

In the file is written
Quote:

# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.


What is the reason for setting the $GENERATED variable?

Adding this variable to my rule didn't help.
_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Tue Jan 18, 2011 9:55 am    Post subject: Reply with quote

Have you checked, if some file in /lib/udev/rules.d overrides your settings?

My configuration does not have any explicit MODE settings, but the /dev/sr0 still has 0660 mode and the group is set to 'cdrom'. I've modified 70-persistent-cd.rules so that symbolic links are created, then executed
Code:

udevadm control --reload-rules
udevadm trigger --sysname-match=sr0


And the links were created. Just in case, my rules file contains this line

Code:

ENV{ID_CDROM}=="?*", ENV{ID_CDROM_CD_R}=="?*", SYMLINK+="cdrom", ENV{GENERATED}="1"


Befor triggering event I've also enabled monitoring using this command
Code:

udevadm monitor --udev --property


Maybe using these steps you'll figure out why your changes don't get applied.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Tue Jan 18, 2011 10:04 am    Post subject: Reply with quote

menschmeier wrote:
The file 70-persistant-cd.rules isn't regenerated automatically ...
Did you check if re creation is disabled?
/etc/conf.d/udev wrote:
# Disable adding new rules for persistent-cd
# Disabling this will stop new cdrom devices to appear
# as /dev/{cdrom,cdrw,dvd,dvdrw}
# persistent_cd_disable="no"
Back to top
View user's profile Send private message
menschmeier
l33t
l33t


Joined: 15 Dec 2004
Posts: 727

PostPosted: Tue Jan 18, 2011 10:28 pm    Post subject: Reply with quote

Found the reason ... it was my /etc/fstab

This line is not correct
Quote:
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0


I replaced it with this one
Quote:
/dev/sr0 /media/cdrom0 auto noauto,ro,user 0 0


After a reboot the udev rule is working.
_________________
Please notice the back of this message.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum