From: tasos Date: Wed, 30 Aug 2006 19:43:02 +0000 Subject: Re: hdc-why it doesn't work? Message-Id: <20060830194302.54739.qmail@web50901.mail.yahoo.com> List-Id: References: <20060826065014.4658.qmail@web50911.mail.yahoo.com> In-Reply-To: <20060826065014.4658.qmail@web50911.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Well i have added SYSFS{vendor}=3D"0x8086",KERNEL=3D"hdc",SUBSYSTEM=3D"block", SYMLINK+=3D"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=3D"ttyUSB[0-9]*", NAME=3D"tts/USB%n", GROUP=3D"tty", MODE=3D"0660" KERNEL=3D"ttyUSB[0-9]*", NAME=3D"tts/USB%n", SYMLINK+=3D"lcd/mylcd%n",GROUP=3D"tty", MODE=3D"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! --- tasos wrote: > On Sat, 2006-08-26 at 05:10 -0700, tasos wrote: > > 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? > =20 > What does: > udevtest /block/hdc > print? > =20 > Kay >=20 > =20 >=20 > This message never came to me via e-mail.I show it > in > the mailing list that's why the delay.Well >=20 >=20 > 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=CD' > run_program: '/lib/udev/ata_id' (stdout) > 'ID_MODEL=BENQ_DVD_DD_DW1640' > run_program: '/lib/udev/ata_id' (stdout) > 'ID_SERIAL=3DKWKA501359PC0' > run_program: '/lib/udev/ata_id' (stdout) > 'ID_REVISION=3DBSLB' > run_program: '/lib/udev/ata_id' (stdout) > 'ID_BUS=3Data' > 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=3Dpci-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 > =3D '22', minor =3D '0', mode =3D '0660', uid =3D '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' >=20 > The funny thing is that it says it creates a > symlink... >=20 > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around=20 > http://mail.yahoo.com=20 >=20 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 ------------------------------------------------------------------------- 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 easi= er Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=121642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel