On Fri, Feb 03, 2006 at 12:32:40PM +0100, Marc Haber wrote:
> On Wed, Feb 01, 2006 at 10:52:25AM +0100, Marco d'Itri wrote:
> > On Feb 01, Marc Haber <[EMAIL PROTECTED]> wrote:
> > > On Wed, Feb 01, 2006 at 03:08:42AM +0100, Kay Sievers wrote:
> > > > What does udevtest print on your box?
> > > With or without the block/removable rule in place? With or without the
> > > CF card inserted?
> > With the rule and the card.
> 
> $ sudo udevtest /block/hde
> Password:
> main: looking at device '/block/hde' from subsystem 'block'
> run_program: '/sbin/cdrom_id --export /dev/.tmp-33-0'
> run_program: '/sbin/cdrom_id' returned with status 3
> udev_rules_get_name: no node name set, will use kernel name 'hde'
> create_node: creating device node '/dev/hde', major = '33', minor = '0', mode 
> = '0660', uid = '0', gid = '25'
> main: run: 'socket:/org/kernel/udev/monitor'
> main: run: '/etc/init.d/hdparm hotplug'
> main: run: 'udev_run_hotplugd block'
> main: run: 'udev_run_devd block'
> 
> Sorry for taking so much time.

Oh, you need to make sure, that cdrom_id and nothing else runs on _any_
removable ide drive, just like the persistent disk rules are skipped.

Every open() of a removable ide device will cause a revalidation of the
partition table, which caues the events to loop.

Kay


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to