Question about enable polling.

Stef Bon stef at bononline.nl
Mon Oct 4 08:05:12 PDT 2010


  On 10/04/2010 04:31 PM, Kay Sievers wrote:
> On Mon, Oct 4, 2010 at 16:14, Stef Bon<stef at bononline.nl>  wrote:
>>   On 10/04/2010 03:03 PM, David Zeuthen wrote:
>> I see also a  difference in the way udev handles cdroms. cdroms inserted or
>> ejected are reported as change, while an inserted usb stick is reported as
>> adding a device (and removal: remove a device)
> It's the same model for both. If you plug-in a USB cdrom device, you
> might only get 'add'. 'Change' is reported for media changes when the
> device stays around but media is removed or added. 'Change' is also
> used for USB disks not only for optical drives, where the media can be
> removed, like USB card readers.
I understand completly.
Thanks.

>> But still stays why not:
>>
>> udisks --poll-for-removeable-media
>>
>> in stead of
>>
>> udisks --poll-for-media /dev/sr0
> That's a one-shot command, not a switch to enable something in the
> daemon that keeps polling. It should act on a specific device only.
So the way it acts now is not it's intended, that is my whole point. But 
that is already mentioned by David Zeuthen, about the abi not stable yet 
right??


S.Bon



More information about the devkit-devel mailing list