platform/upstream/udisks2.git
15 years agoUse PolkitDetails, not GHashTable to pass details to PolicyKit
David Zeuthen [Tue, 26 May 2009 20:33:09 +0000 (16:33 -0400)]
Use PolkitDetails, not GHashTable to pass details to PolicyKit

15 years agoOnly check for ATA SMART if the device reports non-removable media
David Zeuthen [Tue, 19 May 2009 21:43:25 +0000 (17:43 -0400)]
Only check for ATA SMART if the device reports non-removable media

15 years agoCatch up with latest polkit API changes
David Zeuthen [Tue, 19 May 2009 16:09:57 +0000 (12:09 -0400)]
Catch up with latest polkit API changes

15 years agoUpdate to latest polkit API where PolkitAuthorizationResult is an object
David Zeuthen [Wed, 13 May 2009 16:21:08 +0000 (12:21 -0400)]
Update to latest polkit API where PolkitAuthorizationResult is an object

15 years agoUpdate to latest PolicyKit API
David Zeuthen [Wed, 13 May 2009 15:00:53 +0000 (11:00 -0400)]
Update to latest PolicyKit API

15 years agoRemove unneeded code for PolicyKit
David Zeuthen [Mon, 11 May 2009 21:14:37 +0000 (17:14 -0400)]
Remove unneeded code for PolicyKit

15 years agoPost-release version bump
David Zeuthen [Mon, 11 May 2009 21:03:02 +0000 (17:03 -0400)]
Post-release version bump

15 years agoPort to polkit-1
David Zeuthen [Mon, 11 May 2009 20:27:15 +0000 (16:27 -0400)]
Port to polkit-1

15 years agoMove to using a capital letter for commit messages
David Zeuthen [Mon, 11 May 2009 20:26:35 +0000 (16:26 -0400)]
Move to using a capital letter for commit messages

15 years agoonly consider Prefail attibutes when checking for bad attributes
David Zeuthen [Fri, 1 May 2009 21:54:12 +0000 (17:54 -0400)]
only consider Prefail attibutes when checking for bad attributes

15 years agoadd :device-media-detection-time property
David Zeuthen [Fri, 1 May 2009 20:02:18 +0000 (16:02 -0400)]
add :device-media-detection-time property

This property aids desktop automounters in determining they shouldn't
automount devices that are created as a result of
formatting/partitioning.

15 years agoadd support for ext2
David Zeuthen [Wed, 29 Apr 2009 16:48:52 +0000 (12:48 -0400)]
add support for ext2

This is sometimes wanted for filesystems on flash devices.

15 years agoproperly detect devices with vfat on the whole disk
David Zeuthen [Thu, 16 Apr 2009 17:04:33 +0000 (13:04 -0400)]
properly detect devices with vfat on the whole disk

See https://bugzilla.redhat.com/show_bug.cgi?id=495876

15 years agoallow the 'flush' mount option for vfat
David Zeuthen [Wed, 15 Apr 2009 18:39:18 +0000 (14:39 -0400)]
allow the 'flush' mount option for vfat

15 years agofix up some warnings
David Zeuthen [Wed, 15 Apr 2009 16:56:02 +0000 (12:56 -0400)]
fix up some warnings

15 years agoadd property device-detection-time
David Zeuthen [Wed, 15 Apr 2009 15:16:58 +0000 (11:16 -0400)]
add property device-detection-time

15 years agodocument influential udev properties in the DeviceKit-disks man page
David Zeuthen [Wed, 15 Apr 2009 14:48:00 +0000 (10:48 -0400)]
document influential udev properties in the DeviceKit-disks man page

15 years agoadd device-presentation-hide property
David Zeuthen [Wed, 15 Apr 2009 14:47:24 +0000 (10:47 -0400)]
add device-presentation-hide property

This is useful for a number of things

 - hiding firmware/update partitions (similar to how volume.ignore is used
   in HAL to hide e.g. HP_RECOVERY, RECOVERY etc. partitions)

 - hiding unwanted things used in things like live cd environments, cf.
   https://bugzilla.redhat.com/show_bug.cgi?id=495170

15 years agobe more careful when probing for ATA SMART
David Zeuthen [Sun, 12 Apr 2009 19:25:41 +0000 (15:25 -0400)]
be more careful when probing for ATA SMART

See https://bugzilla.redhat.com/show_bug.cgi?id=495286 for where we
trash a CD-RW medium when running off a live cd.

15 years agorework how we detect whether a device is busy
David Zeuthen [Sun, 12 Apr 2009 16:14:36 +0000 (12:14 -0400)]
rework how we detect whether a device is busy

Commit c1447a2e8a0d83347330bbfd2810f98172e8b962 was a bit overeager
insofor that it made it impossible to create/delete/modify partitions
if other partitions on the same device are busy.

15 years agoadd temporary workaround for btrfs
David Zeuthen [Sun, 12 Apr 2009 15:39:23 +0000 (11:39 -0400)]
add temporary workaround for btrfs

See

 https://bugzilla.redhat.com/show_bug.cgi?id=495152#c31
 http://article.gmane.org/gmane.comp.file-systems.btrfs/2851

for details.

15 years agoremove debug spew
David Zeuthen [Sun, 12 Apr 2009 15:38:32 +0000 (11:38 -0400)]
remove debug spew

15 years agoalso check if partitions on a device is busy
David Zeuthen [Thu, 9 Apr 2009 17:58:19 +0000 (13:58 -0400)]
also check if partitions on a device is busy

This fixes a bug where it was possible to erase /dev/sdb while
/dev/sdb1 was mounted.

15 years agouse correct dmode for iso9660 mounts
David Zeuthen [Thu, 9 Apr 2009 15:13:41 +0000 (11:13 -0400)]
use correct dmode for iso9660 mounts

Reported by yaneti@declera.com

https://bugzilla.redhat.com/show_bug.cgi?id=495018

15 years agoadd command line options to devkit-disks for refreshing ATA SMART data
David Zeuthen [Wed, 8 Apr 2009 18:35:24 +0000 (14:35 -0400)]
add command line options to devkit-disks for refreshing ATA SMART data

15 years agofix some bugs in the man page
David Zeuthen [Wed, 8 Apr 2009 18:20:57 +0000 (14:20 -0400)]
fix some bugs in the man page

15 years agochange default mount options for vfat to utf8=1 and shortname=lower
David Zeuthen [Wed, 8 Apr 2009 17:18:19 +0000 (13:18 -0400)]
change default mount options for vfat to utf8=1 and shortname=lower

See https://bugzilla.redhat.com/show_bug.cgi?id=489222 for details.

15 years agofix a race where /etc/fstab mount points where sometimes removed
David Zeuthen [Wed, 8 Apr 2009 16:55:51 +0000 (12:55 -0400)]
fix a race where /etc/fstab mount points where sometimes removed

15 years agobump version
David Zeuthen [Mon, 6 Apr 2009 23:50:35 +0000 (19:50 -0400)]
bump version

Should have done this right after releasing 003 but meh.

15 years agouse /var/run/DeviceKit-disks, not /tmp as a temporary directory
David Zeuthen [Mon, 6 Apr 2009 23:47:22 +0000 (19:47 -0400)]
use /var/run/DeviceKit-disks, not /tmp as a temporary directory

https://bugzilla.redhat.com/show_bug.cgi?id=491744

15 years agoremove hack for working around broken USB card reader
David Zeuthen [Mon, 6 Apr 2009 23:27:23 +0000 (19:27 -0400)]
remove hack for working around broken USB card reader

This add was added since one of my card readers appear to be broken;
other devices are fine.

On closer investigation this looks like a kernel bug. Filed here for
now

http://bugzilla.kernel.org/show_bug.cgi?id=13029

If needed we can add code to do the equivalent of 'touch /dev/sdXXX'
in the poller on the first ENOMEDIUM for a device being polled. But
let's see what the kernel guys says before resorting to such hacks.

15 years agoremove debug spew from mount monitor
David Zeuthen [Mon, 6 Apr 2009 21:38:57 +0000 (17:38 -0400)]
remove debug spew from mount monitor

15 years agofix grammar/spelling for ATA SMART output in devkit-disks(1)
David Zeuthen [Mon, 6 Apr 2009 21:08:51 +0000 (17:08 -0400)]
fix grammar/spelling for ATA SMART output in devkit-disks(1)

15 years agoinstall udev rules into /lib/udev/rules.d not /etc/udev/rules.d
David Zeuthen [Mon, 6 Apr 2009 19:11:52 +0000 (15:11 -0400)]
install udev rules into /lib/udev/rules.d not /etc/udev/rules.d

15 years agochange devkit-disks(1) to use device node paths instead of object paths
David Zeuthen [Mon, 6 Apr 2009 19:08:24 +0000 (15:08 -0400)]
change devkit-disks(1) to use device node paths instead of object paths

15 years agoalso move umount.devkit over to use the correct object paths
David Zeuthen [Mon, 6 Apr 2009 19:06:10 +0000 (15:06 -0400)]
also move umount.devkit over to use the correct object paths

15 years agoadd FindDeviceByMajorMinor() to look up a device by dev_t
David Zeuthen [Mon, 6 Apr 2009 18:36:35 +0000 (14:36 -0400)]
add FindDeviceByMajorMinor() to look up a device by dev_t

15 years agoprefix all D-Bus objects paths with /org/freedesktop/DeviceKit/Disks
David Zeuthen [Mon, 6 Apr 2009 16:59:47 +0000 (12:59 -0400)]
prefix all D-Bus objects paths with /org/freedesktop/DeviceKit/Disks

15 years agofix udev rules to keep udev from complaining
David Zeuthen [Mon, 6 Apr 2009 15:59:52 +0000 (11:59 -0400)]
fix udev rules to keep udev from complaining

15 years agorework some of the ATA SMART stuff, go back to using sqlite
David Zeuthen [Mon, 6 Apr 2009 15:51:15 +0000 (11:51 -0400)]
rework some of the ATA SMART stuff, go back to using sqlite

15 years agoremove erase= option and the notion of tasks within jobs
David Zeuthen [Thu, 2 Apr 2009 21:26:34 +0000 (17:26 -0400)]
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.

15 years agoremove a lot of unnecessary errors
David Zeuthen [Thu, 2 Apr 2009 19:37:43 +0000 (15:37 -0400)]
remove a lot of unnecessary errors

For example it doesn't make sense to return this error

 org.freedesktop.DeviceKit.Disks.Error.NotPartition

since the client is already able to check in advance if the given
object really is a partition. So trim the error list to only contain
errors that the client can't predict. This leaves us with

 DEVKIT_DISKS_ERROR_FAILED,
 DEVKIT_DISKS_ERROR_BUSY,
 DEVKIT_DISKS_ERROR_CANCELLED,
 DEVKIT_DISKS_ERROR_INHIBITED,
 DEVKIT_DISKS_ERROR_INVALID_OPTION,
 DEVKIT_DISKS_ERROR_NOT_SUPPORTED,
 DEVKIT_DISKS_ERROR_ATA_SMART_WOULD_WAKEUP,

15 years agoremove device-is-busy property
David Zeuthen [Thu, 2 Apr 2009 19:14:43 +0000 (15:14 -0400)]
remove device-is-busy property

This should never have been a property since

 - we are not really ready to make that kind of guarantee; another
   program may have the device open and then we're going to fail
   with EBUSY and return a Busy D-Bus error

 - it is computed on demand and that makes it difficult to determine
   when it changes value and thus trigger a PropertyChanged event

Currently this property is not used by gnome-disk-utility. If it turns
out that we need something like this we can add a Device.IsBusy()
method.

15 years agoexport device-major and device-minor properties
David Zeuthen [Thu, 2 Apr 2009 18:37:57 +0000 (14:37 -0400)]
export device-major and device-minor properties

This makes it easier for clients wanting to fool around with
/proc/self/mountinfo themselves.

15 years agouse /proc/self/mountinfo and handle a device being mounted in multiple places
David Zeuthen [Thu, 2 Apr 2009 17:54:20 +0000 (13:54 -0400)]
use /proc/self/mountinfo and handle a device being mounted in multiple places

This is an effort to fix

 https://bugzilla.redhat.com/show_bug.cgi?id=491924

Basically we have to somehow cope with a device being mounted in
multiple places. So we replace the property

 String device-mount-path

with an array of mount paths

 String device-mount-paths[]

We also try to make an effort to ensure that the shortest mount point
is shown before others. E.g. if you bind mount / on /foo then

 device-mount-paths = ["/", "/foo"]

This means that desktop clients can just take the first mount path.

Also make a note that this is the mount point in the root
namespace. On systems clients running in other namespaces care has to
be taken; in this case the client probably needs to examine
/proc/self/mountinfo on his own to determine if a given block device
is mounted or not.

Also drop support for the 'remount' option; we might add it back later
but since we now support multiple mount points it makes everything a
bit weird.

15 years agoprint the scheme of the main partition table, never the nested one
David Zeuthen [Tue, 31 Mar 2009 20:54:33 +0000 (16:54 -0400)]
print the scheme of the main partition table, never the nested one

To avoid e.g. 'embr' for the scheme for logical partitions.

15 years agorework partition table handling
David Zeuthen [Tue, 31 Mar 2009 19:32:48 +0000 (15:32 -0400)]
rework partition table handling

15 years agoensure a MS-DOS extended partition is busy if logical partitions are busy
David Zeuthen [Mon, 30 Mar 2009 22:23:01 +0000 (18:23 -0400)]
ensure a MS-DOS extended partition is busy if logical partitions are busy

15 years agoallow job-num-tasks to be 0 (meaning "unknown")
David Zeuthen [Mon, 30 Mar 2009 21:15:08 +0000 (17:15 -0400)]
allow job-num-tasks to be 0 (meaning "unknown")

http://bugzilla.gnome.org/show_bug.cgi?id=575854

15 years agoif BLKRRPART fails with EBUSY, just try a few more times
David Zeuthen [Mon, 30 Mar 2009 19:49:47 +0000 (15:49 -0400)]
if BLKRRPART fails with EBUSY, just try a few more times

See http://bugs.freedesktop.org/show_bug.cgi?id=20813 for details.

15 years agomake umount work on mount points
Matthias Clasen [Mon, 30 Mar 2009 03:08:24 +0000 (23:08 -0400)]
make umount work on mount points

Make umount-devkit support the traditional umount behaviour of
accepting either a device file or a mount path.

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agofix typo in error name
Matthias Clasen [Sat, 28 Mar 2009 17:02:01 +0000 (13:02 -0400)]
fix typo in error name

https://bugs.freedesktop.org/show_bug.cgi?id=20889

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agoforgot to add ATA SMART prober in last commit
David Zeuthen [Mon, 23 Mar 2009 23:21:26 +0000 (19:21 -0400)]
forgot to add ATA SMART prober in last commit

15 years agoport to libatasmart
David Zeuthen [Mon, 23 Mar 2009 23:14:24 +0000 (19:14 -0400)]
port to libatasmart

15 years agofix up how device-is-system-internal is computed
David Zeuthen [Tue, 17 Mar 2009 01:06:43 +0000 (21:06 -0400)]
fix up how device-is-system-internal is computed

This should fix

 https://bugzilla.redhat.com/show_bug.cgi?id=489397

where we marked device-mapper devices as system internal.

15 years agofix up inhibit parameter handling
Matthias Clasen [Tue, 17 Mar 2009 00:48:17 +0000 (20:48 -0400)]
fix up inhibit parameter handling

See https://bugzilla.redhat.com/show_bug.cgi?id=488850

15 years agodon't poll SATA AN drives
David Zeuthen [Tue, 17 Mar 2009 01:17:26 +0000 (21:17 -0400)]
don't poll SATA AN drives

15 years agorework default mount options
David Zeuthen [Sun, 15 Mar 2009 22:53:02 +0000 (18:53 -0400)]
rework default mount options

15 years agoavoid taking action if a component is removed from an array
David Zeuthen [Sun, 15 Mar 2009 20:24:59 +0000 (16:24 -0400)]
avoid taking action if a component is removed from an array

This should really be done by the kernel. But it currently isn't. It simply
oopses now that user space isn't cleaning up after it....

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agoexport all linux-md raid devices (except ones marked as 'clear')
David Zeuthen [Sun, 15 Mar 2009 20:23:38 +0000 (16:23 -0400)]
export all linux-md raid devices (except ones marked as 'clear')

This is to provide UI to remove 'inactive' devices when the kernel
gets the life-cycle management wrong. See upcoming commit in
gnome-disk-utility for handling this.

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agoadd newline for debug message
David Zeuthen [Sun, 15 Mar 2009 20:22:07 +0000 (16:22 -0400)]
add newline for debug message

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agoonly use a single PolicyKit action for Linux MD operations
David Zeuthen [Sun, 15 Mar 2009 17:05:18 +0000 (13:05 -0400)]
only use a single PolicyKit action for Linux MD operations

15 years agoonly export holders/slaves if the devices are in our db
David Zeuthen [Sun, 15 Mar 2009 17:04:47 +0000 (13:04 -0400)]
only export holders/slaves if the devices are in our db

This fixes a problem where the GVfs gdu volume monitor isn't updated if a LUKS device is unlocked from Palimpsest.

Signed-off-by: David Zeuthen <davidz@redhat.com>
15 years agoadd a --dump option to devkit-disks(1)
David Zeuthen [Wed, 4 Mar 2009 19:23:04 +0000 (14:23 -0500)]
add a --dump option to devkit-disks(1)

15 years agoallow users with appropriate authorizations to unmount all fstab mounts
David Zeuthen [Wed, 4 Mar 2009 15:11:08 +0000 (10:11 -0500)]
allow users with appropriate authorizations to unmount all fstab mounts

15 years agouse dev_t to identify mounts, not device files
David Zeuthen [Tue, 3 Mar 2009 21:20:08 +0000 (16:20 -0500)]
use dev_t to identify mounts, not device files

This should fix all issues with things like device-mapper using
non-canonical device file names (e.g. /dev/mapper/VolGroup00-LogVol00).
Also, this allows us to delete a bunch of special case code that
already tried to deal with this

See https://bugzilla.redhat.com/show_bug.cgi?id=488258 for details.

15 years agoupdate README
David Zeuthen [Mon, 2 Mar 2009 21:05:35 +0000 (16:05 -0500)]
update README

15 years agobump version to 003
David Zeuthen [Mon, 2 Mar 2009 20:09:18 +0000 (15:09 -0500)]
bump version to 003

15 years agoupdate NEWS and TODO
David Zeuthen [Mon, 2 Mar 2009 19:53:51 +0000 (14:53 -0500)]
update NEWS and TODO

15 years agomake it possible to inhibit all operations on the daemon
David Zeuthen [Mon, 2 Mar 2009 19:39:30 +0000 (14:39 -0500)]
make it possible to inhibit all operations on the daemon

This is needed for things like OS installers to inhibit automounting
etc.

15 years agomake help description for devkit-disks(1) point to the man page
David Zeuthen [Mon, 2 Mar 2009 18:19:56 +0000 (13:19 -0500)]
make help description for devkit-disks(1) point to the man page

15 years agorevise devkit-disks(1) man page and allow spawning programs when inhibiting
David Zeuthen [Mon, 2 Mar 2009 18:15:22 +0000 (13:15 -0500)]
revise devkit-disks(1) man page and allow spawning programs when inhibiting

15 years agomake the degree character work in devkit-disks
David Zeuthen [Mon, 2 Mar 2009 17:26:44 +0000 (12:26 -0500)]
make the degree character work in devkit-disks

15 years agomake devkit-disks(1) print SMART attributes
David Zeuthen [Mon, 2 Mar 2009 17:20:30 +0000 (12:20 -0500)]
make devkit-disks(1) print SMART attributes

15 years agorip out --create-fs option for now
David Zeuthen [Mon, 2 Mar 2009 16:12:53 +0000 (11:12 -0500)]
rip out --create-fs option for now

15 years agowhen taking ownership of a newly created file system, set the mode to 0700
David Zeuthen [Mon, 2 Mar 2009 14:40:25 +0000 (09:40 -0500)]
when taking ownership of a newly created file system, set the mode to 0700

15 years agouse dmask 0077 by default when mounting vfat volumes
David Zeuthen [Mon, 2 Mar 2009 14:31:19 +0000 (09:31 -0500)]
use dmask 0077 by default when mounting vfat volumes

This is to make the contents readable only by the user mounting the
file system. This can be overridden by passing the dmask=XYZ option to
FilesystemMount() method.

15 years agouse the right polkit action for ejecting drives
David Zeuthen [Mon, 2 Mar 2009 14:11:42 +0000 (09:11 -0500)]
use the right polkit action for ejecting drives

15 years agosimplify PolicyKit permissions a bit
David Zeuthen [Mon, 2 Mar 2009 01:28:36 +0000 (20:28 -0500)]
simplify PolicyKit permissions a bit

15 years agoset is_system_internal for linux md devices
David Zeuthen [Sun, 1 Mar 2009 23:29:45 +0000 (18:29 -0500)]
set is_system_internal for linux md devices

15 years agofixup error message when adding/removing components
David Zeuthen [Sun, 1 Mar 2009 19:54:36 +0000 (14:54 -0500)]
fixup error message when adding/removing components

15 years agosplit MD_NAME into home host and name
David Zeuthen [Sun, 1 Mar 2009 19:52:49 +0000 (14:52 -0500)]
split MD_NAME into home host and name

15 years agomake Device.is_busy() and Davice.partitions_are_busy() methods private
David Zeuthen [Sun, 1 Mar 2009 15:47:46 +0000 (10:47 -0500)]
make Device.is_busy() and Davice.partitions_are_busy() methods private

15 years agoslightly rework how polling is done
David Zeuthen [Sun, 1 Mar 2009 15:43:45 +0000 (10:43 -0500)]
slightly rework how polling is done

15 years agouse G_GNUC_CONST for all _get_type() functions
David Zeuthen [Sat, 28 Feb 2009 15:56:03 +0000 (10:56 -0500)]
use G_GNUC_CONST for all _get_type() functions

15 years agofix up _TYPE_ and _IS_ type macros to use DEVKIT_DISKS_ as the prefix
David Zeuthen [Sat, 28 Feb 2009 15:53:24 +0000 (10:53 -0500)]
fix up _TYPE_ and _IS_ type macros to use DEVKIT_DISKS_ as the prefix

15 years agorework mounts handling
David Zeuthen [Sat, 28 Feb 2009 15:44:43 +0000 (10:44 -0500)]
rework mounts handling

15 years agoensure that properties are updated before FilesystemMount returns
David Zeuthen [Fri, 27 Feb 2009 21:22:23 +0000 (16:22 -0500)]
ensure that properties are updated before FilesystemMount returns

15 years agoadd new device-presentation-name and -icon-name properties
David Zeuthen [Thu, 26 Feb 2009 00:25:22 +0000 (19:25 -0500)]
add new device-presentation-name and -icon-name properties

Also read these from udev properties

 DKD_PRESENTATION_NAME
 DKD_PRESENTATION_ICON_NAME

and set ICON_NAME for the iPod we have listed there.

15 years agorename part_id to devkit-disks-part-id and namespace udev properties
David Zeuthen [Wed, 25 Feb 2009 23:49:57 +0000 (18:49 -0500)]
rename part_id to devkit-disks-part-id and namespace udev properties

15 years agofix parallel build
David Zeuthen [Wed, 25 Feb 2009 23:39:37 +0000 (18:39 -0500)]
fix parallel build

15 years agoadd a devkit-disks-types.h file
David Zeuthen [Wed, 25 Feb 2009 23:37:23 +0000 (18:37 -0500)]
add a devkit-disks-types.h file

15 years agorework how properties are set and updated
David Zeuthen [Wed, 25 Feb 2009 23:11:31 +0000 (18:11 -0500)]
rework how properties are set and updated

This is major patch reworking property handling. Instead of clearing
properties at every update event we use setters functions
instead. This will allow us, in the future, to generate very precise
PropertiesChanged() signals that can be tracked by client-side
proxies.

Also clean up the update_info() function; it's now split into a number
of much simpler separate update_info_*() functions. Should make things
a lot easier to debug.

Also keep track of holders/slaves and update slaves/holders when added
to a device. This allows us to get ride of the racy
update_info_in_idle() crap that never really worked.

The following properties has been removed

 - optical-disc-is-recordable
 - optical-disc-is-rewritable
 - linux-md-component-update-time
 - linux-md-component-events
 - linux-md-slaves-state

The following properties has been added

 - linux-md-component-holder
 - linux-md-component-state
 - linux-md-state

15 years agoadd some fixes/hacks to make things work with md incremental autoassembly
David Zeuthen [Mon, 23 Feb 2009 16:45:26 +0000 (11:45 -0500)]
add some fixes/hacks to make things work with md incremental autoassembly

15 years agoset the process title in the poller to the devices currently being polled
David Zeuthen [Mon, 23 Feb 2009 00:33:57 +0000 (19:33 -0500)]
set the process title in the poller to the devices currently being polled

root     18776  0.0  0.0  37960   760 pts/1    S+   19:33   0:00 devkit-disks-daemon: polling /dev/sdc /dev/sdb

15 years agomake polling process exit when parent dies
David Zeuthen [Mon, 23 Feb 2009 00:18:02 +0000 (19:18 -0500)]
make polling process exit when parent dies

15 years agoallow changing the label on a mounted device if the filesystem supports it
David Zeuthen [Mon, 23 Feb 2009 00:00:40 +0000 (19:00 -0500)]
allow changing the label on a mounted device if the filesystem supports it

15 years agodetect USB floppy drives
David Zeuthen [Sun, 22 Feb 2009 22:54:37 +0000 (17:54 -0500)]
detect USB floppy drives

15 years agoincrease wipe size from 16KB to 128KB to erase btrfs signatures
David Zeuthen [Sun, 22 Feb 2009 21:54:51 +0000 (16:54 -0500)]
increase wipe size from 16KB to 128KB to erase btrfs signatures

15 years agoadd support for ext4
David Zeuthen [Sun, 22 Feb 2009 21:13:28 +0000 (16:13 -0500)]
add support for ext4