Fedora 11 features DeviceKit, which is a simpler, modular replacement for hal. hal itself is still around, since applications rely on it. DeviceKit also comes with a graphical disk management application called palimpsest that allows to handle partitioning, file system creation, encryption, raid, lvm, etc.

+

Fedora 11 features DeviceKit, which is a simpler, modular replacement for hal. hal itself is still around, since applications rely on it. DeviceKit also comes with a graphical disk management application called palimpsest that uses the DeviceKit-disks subsystem of DeviceKit to handle partitioning, file system creation, encryption, raid, lvm, etc. gnome-power-manager has been ported to use the DeviceKit-power subsystem of DeviceKit instead of hal.

DeviceKit

Summary

DeviceKit is a simple system service that a) can enumerate devices; b) emits signals when devices are added removed; c) provides a way to merge device information / quirks onto devices. It is designed to partially replace hal and overcome some of the design limitiations of hal. DeviceKit functionality is provided in the
form of dbus services on the system bus.

Apart from DeviceKit itself, there is DeviceKit-disks, which is a system service to keep track of block devices. The functionality offered by DeviceKit-disks is a superset of what hal provides for block devices.

There is also DeviceKit-power, which takes over the power-management-related parts of hal and the more complex functionality of gnome-power-manager. As a consequence, gnome-power-manager itself becomes much simpler.

The new udev-extra module will provide udev rules that are needed to make the DeviceKit architecture work.
Functionality that was provided via .fdi files in hal will eventually be moved to udev rules, and setting acls on devices will also be done here at some point.

DeviceKit-disks comes with a graphical frontend called palimpsest (the package name is gnome-disk-utility). Furthermore, there will be a nautilus extension to format disks.

Detailed Description

Benefit to Fedora

Fedora gains a comprehensive graphical disk management tool which provides functionality that so far was
almost exclusively available in the partitioning screen of anaconda. The tools integrate nicely into the desktop (by e.g. providing a "Format disk..." menuitem in the nautilus context menu where appropriate).

Scope

DeviceKit depends on bug fixes and enhancements in the following components: kernel, udev, mdadm, and lvm. These will have to appear in rawhide first.

Also, in order to peacefully coexist with DeviceKit-disks, at a very minimum
hal needs to talk to DeviceKit-disks about locking and mounting/unmounting.
Medium term, hal functionality such as disk and power-management support will
be turned off when all important users have been ported over to the equivalent DeviceKit api.

The core components that we plan to port for F11 are: gvfs, gnome-mount, nautilus and gnome-power-manager.

For completeness, Features/DeviceKit/HalDependencies is a list of all packages in Fedora that depend on hal, libhal.so.1 or libhal-storage.so.1. Except where noted, we don't expect to port these to DeviceKit for F11.

How To Test

yum install gnome-disk-utility, this will pull in DeviceKit-disks and DeviceKit via dependencies.

Use palimpsest (the graphical frontend) to create, modify and delete partitions and file systems on various media, such as usb sticks, cds, removable hard disks, etc.

Use palimpsest to encrypt partitions and to change passwords for existing encrypted partitions.

Use nautilus-gdu to format removable media with various file system types.

Verify that palimpsest correctly reports smart data from disks which support it.

Test the raid support

Test that desktop applications like nautilus and the gedit's file chooser see volumes and mounts

Check that gnome-power-manager provides the same functionality it had in previous releases

Similar for other desktop environments and applications, if they are ported to DeviceKit

User Experience

There is a new menu item that brings up palimpsest: Applications → System Tools → Palimpsest Disk Utility

The nautilus context menu offers to format discs/usb sticks and other devices.
palimpsest is a graphical interface for all disc-related tasks, from partitioning and file system creation to encryption, raid and lvm.

Contingency Plan

DeviceKit-disks and DeviceKit-power can coexist with the disk and power management parts of hal. If the porting of applications is not complete by F11, we don't strip the functionality out of hal in F11.

Documentation

End user documentation will take some time to write, and can't really be started before the tools are publicly available.

Release Notes

Fedora 11 features DeviceKit, which is a simpler, modular replacement for hal. hal itself is still around, since applications rely on it. DeviceKit also comes with a graphical disk management application called palimpsest that uses the DeviceKit-disks subsystem of DeviceKit to handle partitioning, file system creation, encryption, raid, lvm, etc. gnome-power-manager has been ported to use the DeviceKit-power subsystem of DeviceKit instead of hal.