remove erase= option and the notion of tasks within jobs
authorDavid Zeuthen <davidz@redhat.com>
Thu, 2 Apr 2009 21:26:34 +0000 (17:26 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Thu, 2 Apr 2009 21:26:34 +0000 (17:26 -0400)
commit51ff98928d16920f7da6d03f213fde00bab10f5d
tree25ff010fd2ecb7de278de3128f7e4627095a75fc
parentbe03d6caf5fc30ceb8b7aba64ec5268d12e690ed
remove erase= option and the notion of tasks within jobs

Secure erase is a bit K-rad and we never really implemented anything
but 0 and 1 passes. If we want this feature back (and I think we do;
e.g. it is useful to scrub the disks before selling a computer) we
should add a dedicated SecureErase() method that (optionally) can take
advantage of things like the ATA Secure Erase command-set.

While it is cute that jobs consist of tasks it is not used anymore now
that erase= is gone. So remove it to simplify the code.
17 files changed:
src/Makefile.am
src/devkit-disks-daemon.c
src/devkit-disks-device-private.c
src/devkit-disks-device-private.h
src/devkit-disks-device.c
src/devkit-disks-device.h
src/devkit-disks-marshal.list
src/job-ata-smart-selftest.c
src/job-create-partition-table.c
src/job-create-partition.c
src/job-delete-partition.c
src/job-erase.c [deleted file]
src/job-mkfs.c
src/job-modify-partition.c
src/job-shared.h
src/org.freedesktop.DeviceKit.Disks.Device.xml
tools/devkit-disks.c