Skip to contentSkip to conversation

hdc-why it doesn't work?

DISCUSSION tasos 3 participants 6 messages Aug 26, 2006 – Aug 30, 2006

lore
Share & tools
lore

tasos

author
#0 lore raw

hello ppl and nice to meet you.
I have added
KERNEL="hdc" NAME="%k" SYMLINK+="tobenq"
and it doesn't work.Can you please tell me WHY?it
drives me crazy.Using slackware 10.2 kernel
2.6.17.11.udev 097.
Thank you in advance!

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw

Am Samstag, 26. August 2006 08:50 schrieb tasos:

Quoted 13 lines

hello ppl and nice to meet you.
I have added
KERNEL=="hdc" NAME="%k" SYMLINK+="tobenq"
and it doesn't work.Can you please tell me WHY?it
drives me crazy.Using slackware 10.2 kernel
2.6.17.11.udev 097.
Thank you in advance!

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Quoted 10 lines

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

Hi just add some ',' and it will work.
KERNEL=="hdc", NAME="%k", SYMLINK+="tobenq"
greetings
tpowa

Signature · 4 lines
Tobias Powalowski
Archlinux Developer & Package Maintainer (tpowa)
http://www.archlinux.org
[email protected]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

author
#2 lore raw
In reply to tasos

Thanks for replying tobias.
I have added it but it doesn't work.
I try to use hda(hard disk) instead of hdc(dvd-rw) and it worked.I tried to mount my dvd and it didn't create it...Any more ideas please?

Quoted 9 lines · --- Tobias Powalowski

Am Samstag, 26. August 2006 08:50 schrieb tasos:

Quoted 8 lines

hello ppl and nice to meet you.
I have added
KERNEL="hdc" NAME="%k" SYMLINK+="tobenq"
and it doesn't work.Can you please tell me WHY?it
drives me crazy.Using slackware 10.2 kernel
2.6.17.11.udev 097.
Thank you in advance!

Quoted 8 lines
Quoted 3 lines

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam

protection around

Quoted 3 lines

http://mail.yahoo.com

-------------------------------------------------------------------------

Quoted 9 lines
Quoted 1 line

Using Tomcat but need to do more? Need to support

web services, security?

Quoted 1 line

Get stuff done quickly with pre-integrated

technology to make your job

Quoted 1 line

easier Download IBM WebSphere Application Server

v.1.0.1 based on Apache

Quoted 2 lines

Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642

Quoted 6 lines
Quoted 2 lines

_______________________________________________
Linux-hotplug-devel mailing list

http://linux-hotplug.sourceforge.net

Quoted 2 lines

[email protected]

https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

Quoted 10 lines

Hi just add some ',' and it will work. KERNEL="hdc", NAME="%k", SYMLINK+="tobenq" greetings
tpowa

Signature · 4 lines
Tobias Powalowski
Archlinux Developer & Package Maintainer (tpowa)
http://www.archlinux.org
[email protected]
Quoted 1 line

-------------------------------------------------------------------------

Quoted 7 lines

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642>
_______________________________________________

Quoted 4 lines

Linux-hotplug-devel mailing list
http://linux-hotplug.sourceforge.net
[email protected]

https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

Quoted 1 line

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to tasos
Quoted 5 lines · tasos

Thanks for replying tobias.
I have added it but it doesn't work.
I try to use hda(hard disk) instead of hdc(dvd-rw) and it worked.I tried to mount my dvd and it didn't create it...Any more ideas please?

What does:
udevtest /block/hdc
print?

Kay

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

author
#4 lore raw
In reply to tasos
Quoted 3 lines · tasos

Thanks for replying tobias.
I have added it but it doesn't work.
I try to use hda(hard disk) instead of hdc(dvd-rw)

and

Quoted 1 line

it worked.I tried to mount my dvd and it didn't

create

Quoted 1 line

it...Any more ideas please?

What does:
udevtest /block/hdc
print?

Kay

This message never came to me via e-mail.I show it in the mailing list that's why the delay.Well

main: looking at device '/block/hdc' from subsystem 'block'
run_program: '/lib/udev/ata_id --export /dev/.tmp-22-0'
run_program: '/lib/udev/ata_id' (stdout) 'ID_TYPEÍ'
run_program: '/lib/udev/ata_id' (stdout) 'ID_MODEL¾NQ_DVD_DD_DW1640'
run_program: '/lib/udev/ata_id' (stdout) 'ID_SERIAL=KWKA501359PC0'
run_program: '/lib/udev/ata_id' (stdout) 'ID_REVISION=BSLB'
run_program: '/lib/udev/ata_id' (stdout) 'ID_BUS=ata'
run_program: '/lib/udev/ata_id' returned with status 0
udev_rules_get_name: add symlink 'disk/by-id/ata-BENQ_DVD_DD_DW1640_KWKA501359PC0'
run_program: '/lib/udev/path_id /block/hdc'
run_program: '/lib/udev/path_id' (stdout) 'ID_PATH=pci-0000:00:1f.1-ide-1:0'
run_program: '/lib/udev/path_id' returned with status 0
udev_rules_get_name: add symlink 'disk/by-path/pci-0000:00:1f.1-ide-1:0'
udev_rules_get_name: add symlink 'tobenq'
udev_rules_get_name: rule applied, 'hdc' becomes 'hdc'
udev_device_event: device '/block/hdc' already in database, validate currently present symlinks
udev_node_add: creating device node '/dev/hdc', major = '22', minor = '0', mode = '0660', uid = '0', gid '6'
udev_node_add: creating symlink '/dev/disk/by-id/ata-BENQ_DVD_DD_DW1640_KWKA501359PC0' to '../../hdc'
udev_node_add: creating symlink '/dev/disk/by-path/pci-0000:00:1f.1-ide-1:0' to '../../hdc'
udev_node_add: creating symlink '/dev/tobenq' to 'hdc'
main: run: 'socket:/org/kernel/udev/monitor'

The funny thing is that it says it creates a symlink...

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

author
#5 lore raw
In reply to tasos

Well i have added SYSFS{vendor}="0x8086",KERNEL="hdc",SUBSYSTEM="block", SYMLINK+="tobenq"
and it worked.my question is why it didn't work with the last rule?how many details do i have to add?do i have to add until i find that it works?
for example right now i have added to the rule:
KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n", GROUP="tty", MODE="0660"
KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n", SYMLINK+="lcd/mylcd%n",GROUP="tty", MODE="0660"

and it doesn't work.can somebody please help me with this one cause i need it for my job.
thank you in advance!

Quoted 50 lines · --- tasos
Quoted 3 lines · tasos

Thanks for replying tobias.
I have added it but it doesn't work.
I try to use hda(hard disk) instead of

hdc(dvd-rw)
and

Quoted 1 line

it worked.I tried to mount my dvd and it didn't

create

Quoted 1 line

it...Any more ideas please?

What does:
udevtest /block/hdc
print?

Kay

This message never came to me via e-mail.I show it in
the mailing list that's why the delay.Well

main: looking at device '/block/hdc' from subsystem 'block'
run_program: '/lib/udev/ata_id --export /dev/.tmp-22-0'
run_program: '/lib/udev/ata_id' (stdout) 'ID_TYPEÍ'
run_program: '/lib/udev/ata_id' (stdout) 'ID_MODEL¾NQ_DVD_DD_DW1640'
run_program: '/lib/udev/ata_id' (stdout) 'ID_SERIAL=KWKA501359PC0'
run_program: '/lib/udev/ata_id' (stdout) 'ID_REVISION=BSLB'
run_program: '/lib/udev/ata_id' (stdout) 'ID_BUS=ata'
run_program: '/lib/udev/ata_id' returned with status 0
udev_rules_get_name: add symlink 'disk/by-id/ata-BENQ_DVD_DD_DW1640_KWKA501359PC0'
run_program: '/lib/udev/path_id /block/hdc'
run_program: '/lib/udev/path_id' (stdout) 'ID_PATH=pci-0000:00:1f.1-ide-1:0'
run_program: '/lib/udev/path_id' returned with status
0
udev_rules_get_name: add symlink 'disk/by-path/pci-0000:00:1f.1-ide-1:0'
udev_rules_get_name: add symlink 'tobenq'

Quoted 9 lines

udev_rules_get_name: rule applied, 'hdc' becomes 'hdc'
udev_device_event: device '/block/hdc' already in database, validate currently present symlinks
udev_node_add: creating device node '/dev/hdc', major
= '22', minor = '0', mode = '0660', uid = '0', gid > '6'
udev_node_add: creating symlink

'/dev/disk/by-id/ata-BENQ_DVD_DD_DW1640_KWKA501359PC0'

Quoted 8 lines

to '../../hdc'
udev_node_add: creating symlink '/dev/disk/by-path/pci-0000:00:1f.1-ide-1:0' to '../../hdc'
udev_node_add: creating symlink '/dev/tobenq' to 'hdc'
main: run: 'socket:/org/kernel/udev/monitor'

Quoted 9 lines

The funny thing is that it says it creates a symlink...

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel