removable bit not set for portable USB hard disk.
Martin Pitt
martin at piware.de
Sun Oct 2 04:14:21 PDT 2005
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.
Martin
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntulinux.org
Debian Developer http://www.debian.org
More information about the hal
mailing list