removable bit not set for portable USB hard disk.
Pierre Ossman
drzeus-list at drzeus.cx
Sun Oct 2 04:34:05 PDT 2005
Martin Pitt wrote:
> Hi!
>
> Pierre Ossman [2005-10-02 11:36 +0200]:
>
>>What I meant was that it should check both flags. If either is set then
>>the device is considered "removable". Having both set would be very
>>uncommon (if even possible).
>
>
> Right, pmount checks both things (the kernel's removable flag and the
> bus type for checking whether it's hotpluggable).
>
>
>>I had a quick look at pmount-hal.c and it doesn't seem to look at the
>>removable or hotpluggable attributes at all. So I'm suspecting your
>>problem lies elsewhere.
>
>
> pmount-hal is just a wrapper around pmount. pmount itself does the
> check.
>
Found it now. pmount has its own policy system. It doesn't use HAL to
find anything more than mount options. So this is a bug in pmount that
has nothing to do with HAL.
Rgds
Pierre
More information about the hal
mailing list