I'm pretty sure udisks is the way to go. It uses udev under the hood... udisks just provides a well defined dbus API, other niceties.
The last time I did this sort of thing, HAL was still the thing to use. But now that HAL is deprecated, udisks is what has replaced its storage-related functionality.
I'm pretty sure udisks is the way to go. It uses udev under the hood... udisks just provides a well defined dbus API, other niceties.
The last time I did this sort of thing, HAL was still the thing to use. But now that HAL is deprecated, udisks is what has replaced its storage-related functionality.
udisks is part of the DeviceKit project - http:// www.freedesktop .org/wiki/ Software/ DeviceKit