[patch] Add advisory locks to HAL devices

David Zeuthen david at fubar.dk
Sun Sep 12 12:08:38 PDT 2004


Hi,

Btw, an interesting question is whether we should Lock() a hal device
object of capability 'volume' when it is mounted? I personally think we
should do this as you can't (or shouldn't at least) format it or burn to
it when the kernel fs code claims the backing block device. 

If yes, it follows we might want to make info.locked.reason something
that is easy to localize into the UI. Such as an integer and have the
mapping from integer to meaning in the hal spec and possibly in libhal
(my feeling is that errno.h is not sufficient :-).

Thoughts? 

(Sorry for bringing back this discussion back)

David
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list