Bug 24718 — Proper handling of missing mkfs.*/fsck.*
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 28 Oct 2009 14:30:40 +0000 (15:30 +0100)
committerDavid Zeuthen <davidz@redhat.com>
Mon, 2 Nov 2009 17:14:34 +0000 (12:14 -0500)
commit4a1f0cc3385c15b03ed2dd095bed803c2f67180c
tree1af657d7e30d30f8278a8ef6cc9476125c064932
parentef0e4e296bc1d0fa52be03fe5b30904df3ffb729
Bug 24718 — Proper handling of missing mkfs.*/fsck.*

Introduce two new errors:
  org.freedesktop.DeviceKit.Disks.Error.FilesystemDriverMissing
  org.freedesktop.DeviceKit.Disks.Error.FilesystemToolsMissing

which are thrown instead of a general Error.Failed when file system tools (such
as mkfs.<type> or xfs_admin) are not installed, or the kernel does not support
the fs type for FilesystemMount().

Note that this does not yet cover a missing cryptsetup.

Signed-off-by: David Zeuthen <davidz@redhat.com>
data/org.freedesktop.DeviceKit.Disks.Device.xml
src/devkit-disks-daemon.c
src/devkit-disks-daemon.h
src/devkit-disks-device.c
src/job-change-filesystem-label.c
src/job-mkfs.c