libhal-storage

Kay Sievers kay.sievers at vrfy.org
Thu Sep 23 14:31:52 PDT 2004


On Thu, 2004-09-23 at 22:08 +0200, David Zeuthen wrote:

> This library serves the following two purposes
> 
> 1. C-based API for accessing what HAL knows about storage devices
>    and volumes; e.g. you no longer need to use the somewhat fragile
>    and tedious string-based property API. Which is nice.

Nice, nice, nice. I like that and it should make the use of the
HAL storage-part much more easy and abstract. And we can more frequently
change the internals :)

> Another thought I had was this: Perhaps this library should expose
> functions like hal_volume_set_label(),hal_volume_mount(),
> hal_volume_unmount() etc. This will in many ways close the loop; e.g.
> provide full abstraction of various storage devices and volumes in the
> system. I like that.

Ok, to the point of the label setting, we once decided not to do this
with HAL, but it's still a nice feature. If we agree that we want that
as a part of HAL, I'm willing to do that.

I'm thinking about wrapping existing commandline-tools in a simple
function. This should work with most of the currently available tools.
Only for FAT, I don't know if there is one, that really works.

What do you think?

Thanks,
Kay

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



More information about the Hal mailing list