Proposal: adding a storage.disable_media_check for strange devices

David Zeuthen david at fubar.dk
Fri Jun 1 13:09:35 PDT 2007


On Wed, 2007-05-30 at 15:33 +0200, Frederic Crozat wrote:
> But it works when disabling storage.media_check_enabled.
> 
> I've attached a patch for hal-info for two keys we have with this
> problem.
> 
> I'm wondering if polling is useful at all on usb sticks. But maybe we
> are forced to use it since we can't distinguish them from cards reader
> or floppy usb drive.

That's the problem; most USB sticks lies about being able to support
removable media. Most USB hard disk enclosures do the right thing though
and set removable=0 and we don't poll these. I've committed your patch.
Thanks!

      David




More information about the hal mailing list