platform/upstream/udisks2.git
13 years agoAdd Btrfs to list of known filesystems
David Zeuthen [Wed, 2 Nov 2011 21:41:29 +0000 (17:41 -0400)]
Add Btrfs to list of known filesystems

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoHandle the odd case when there is no partition table for a partition
David Zeuthen [Wed, 2 Nov 2011 21:16:20 +0000 (17:16 -0400)]
Handle the odd case when there is no partition table for a partition

This can happen when a device is ejected and it changes size to
zero. In that situation, old stale partition objects may be lying
around.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd support for creating encrypted devices in Block.Format()
David Zeuthen [Wed, 2 Nov 2011 20:23:25 +0000 (16:23 -0400)]
Add support for creating encrypted devices in Block.Format()

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUse luks-${UUID} instead of LUKS-udisks2-${UUID} to match the rest of the OS
David Zeuthen [Wed, 2 Nov 2011 20:22:09 +0000 (16:22 -0400)]
Use luks-${UUID} instead of LUKS-udisks2-${UUID} to match the rest of the OS

In particular, systemd uses luks-${UUID}

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoSupport option 'take-ownership' in the Block.Format() method
David Zeuthen [Wed, 2 Nov 2011 18:02:57 +0000 (14:02 -0400)]
Support option 'take-ownership' in the Block.Format() method

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoRename Block.CreateFilesystem to Block.Format
David Zeuthen [Wed, 2 Nov 2011 15:32:34 +0000 (11:32 -0400)]
Rename Block.CreateFilesystem to Block.Format

... and other misc changes.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoBug 41931 — Add file system creation support
Martin Pitt [Tue, 25 Oct 2011 06:37:33 +0000 (08:37 +0200)]
Bug 41931 — Add file system creation support

For now this only supports the "label" option. Further features (LUKS, taking
ownership, etc.) will be delivered in future patches.

We still have a rather weird bug here: When udisksd calls mkfs.ext4, there is
no change uevent on the block device when it finishes, thus udev and udisks are
missing the newly created file system. This does not happen when calling
mkfs.ext4 from a shell. Work around this by triggering a change uevent after
mkfs.ext4 ourselves.

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

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoReturn "Unknown" for unknown partition types
David Zeuthen [Mon, 31 Oct 2011 20:28:54 +0000 (16:28 -0400)]
Return "Unknown" for unknown partition types

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoPartition: Add Set{Name,Type,Flags} methods and implement for dos and gpt
David Zeuthen [Mon, 31 Oct 2011 19:57:14 +0000 (15:57 -0400)]
Partition: Add Set{Name,Type,Flags} methods and implement for dos and gpt

Using the parted(8), sfdisk(8) and sgdisk(8) commands.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUDisksClient: rename some methods and parameters
David Zeuthen [Mon, 31 Oct 2011 16:31:43 +0000 (12:31 -0400)]
UDisksClient: rename some methods and parameters

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoExport the dev_t instead of major/minor for block devices
David Zeuthen [Sun, 30 Oct 2011 16:25:55 +0000 (12:25 -0400)]
Export the dev_t instead of major/minor for block devices

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUDisksClient: Include partition flags in get_partition_info()
David Zeuthen [Sun, 30 Oct 2011 16:00:20 +0000 (12:00 -0400)]
UDisksClient: Include partition flags in get_partition_info()

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoEnsure 'dos' partition types always have two digits, e.g. 0x0c, not 0xc
David Zeuthen [Sat, 29 Oct 2011 15:28:52 +0000 (11:28 -0400)]
Ensure 'dos' partition types always have two digits, e.g. 0x0c, not 0xc

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUse a uint64 for partition flags instead of a string
David Zeuthen [Fri, 28 Oct 2011 18:40:53 +0000 (14:40 -0400)]
Use a uint64 for partition flags instead of a string

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUDisksClient: add get_partition_info() method
David Zeuthen [Fri, 28 Oct 2011 16:36:08 +0000 (12:36 -0400)]
UDisksClient: add get_partition_info() method

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoFor serial numbers, only use ID_SERIAL_SHORT, never ID_SERIAL
David Zeuthen [Fri, 28 Oct 2011 15:29:32 +0000 (11:29 -0400)]
For serial numbers, only use ID_SERIAL_SHORT, never ID_SERIAL

In the case that no real serial number exists, ID_SERIAL is made up
from vendor/model e.g. ST360021_A-0:0 or MediaTek_DVD-ROM_1309. We
don't want to convey such lies.

On the other hand, we should be guaranteed if ID_SERIAL_SHORT is set,
then it is something we can actually trust to be somewhat unique.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoudisksctl: When setting up a loop device, don't free fd-list too soon
David Zeuthen [Wed, 26 Oct 2011 20:19:02 +0000 (16:19 -0400)]
udisksctl: When setting up a loop device, don't free fd-list too soon

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoInitialize variable to NULL
David Zeuthen [Wed, 26 Oct 2011 20:13:35 +0000 (16:13 -0400)]
Initialize variable to NULL

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUDisksClient: make settle() method emit any outstanding changes
David Zeuthen [Wed, 26 Oct 2011 18:59:07 +0000 (14:59 -0400)]
UDisksClient: make settle() method emit any outstanding changes

... and also document this.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoDon't leak job objects
David Zeuthen [Wed, 26 Oct 2011 18:27:32 +0000 (14:27 -0400)]
Don't leak job objects

In particular, since each job has a GCancellable, this meant that we
were leaking an eventfd per job.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUse new /dev/loop-control device to create loop devices
David Zeuthen [Wed, 26 Oct 2011 17:32:31 +0000 (13:32 -0400)]
Use new /dev/loop-control device to create loop devices

See

 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=770fe30a46a12b6fb6b63fbe1737654d28e84844

for the commit that introduced this feature. This is available as of
Linux 3.1.

Second, since the kernel now (virtually) supports an unlimited number
of loop devices, allow local active users to do this without having to
authenticate.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoNuke debug spew
David Zeuthen [Wed, 26 Oct 2011 17:13:55 +0000 (13:13 -0400)]
Nuke debug spew

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoHandle the case where blkid(8) detects both a filesystem and a partition table
David Zeuthen [Tue, 25 Oct 2011 20:42:09 +0000 (16:42 -0400)]
Handle the case where blkid(8) detects both a filesystem and a partition table

The F15 x86_64 live cd is both an ISO filesystem and a partition
table, presumably on purpose:

 # blkid -o udev -p ~davidz/Downloads/Fedora-15-x86_64-Live-Desktop.iso
 ID_FS_LABEL=Fedora-15-x86_64-Live-Desktop.is
 ID_FS_LABEL_ENC=Fedora-15-x86_64-Live-Desktop.is
 ID_FS_TYPE=iso9660
 ID_FS_USAGE=filesystem
 ID_PART_TABLE_TYPE=dos

If just used on an optical disc this presents no problem per se
because the kernel does not create partitions. However, if you dd the
image to a USB stick, the kernel will in fact recognize the partition
table and create a partition for it:

 # blkid -o udev -p /dev/sdb
 ID_FS_LABEL=Fedora-15-x86_64-Live-Desktop.is
 ID_FS_LABEL_ENC=Fedora-15-x86_64-Live-Desktop.is
 ID_FS_TYPE=iso9660
 ID_FS_USAGE=filesystem
 ID_PART_TABLE_TYPE=dos

 # blkid -o udev -p /dev/sdb1
 ID_FS_LABEL=Fedora-15-x86_64-Live-Desktop.is
 ID_FS_LABEL_ENC=Fedora-15-x86_64-Live-Desktop.is
 ID_FS_TYPE=iso9660
 ID_FS_USAGE=filesystem
 ID_PART_TABLE_TYPE=dos
 ID_PART_ENTRY_SCHEME=dos
 ID_PART_ENTRY_TYPE=0x17
 ID_PART_ENTRY_FLAGS=0x80
 ID_PART_ENTRY_NUMBER=1
 ID_PART_ENTRY_OFFSET=0
 ID_PART_ENTRY_SIZE=1161216
 ID_PART_ENTRY_DISK=8:16

There is nothing, per se, wrong with this ... except that applications
(such as udisks and GNOME sitting on top) need to be careful and not
e.g. offer *two icons* for the iso9660 filesystem (one for sdb and one
for sdb1).

The fix is fortunately simple - we only allow a 'disk' block device to
be a PartitionTable or a Filesystem and not both at the same time. The
way we do this is to look at whether the kernel has already
partitioned the device or not (and this works only because the kernel
partiitoner guarantees that partition kobjects are created prior to
announcing the 'disk' block device).

Also stress in the docs that applications shouldn't be looking at
IdUsage or IdType (a direct copy of whatever blkid(8) puts in the udev
database) and that they instead should be looking at what D-Bus
interfaces are implemented.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd properties to identify extended and logical dos partitions
David Zeuthen [Mon, 24 Oct 2011 16:58:10 +0000 (12:58 -0400)]
Add properties to identify extended and logical dos partitions

This allows to remove special-casing of dos and 0x05, 0x0f and 0x85
partition types in each client.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUse glib top-level includes
David Zeuthen [Mon, 24 Oct 2011 14:47:13 +0000 (10:47 -0400)]
Use glib top-level includes

glib HEAD complains about this now

 /usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."

Also nuke some trailing whitespace.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoBug 41862 — Add label changing for previously supported file systems
Martin Pitt [Mon, 17 Oct 2011 09:53:39 +0000 (11:53 +0200)]
Bug 41862 — Add label changing for previously supported file systems

Add support for label changing on vfat, ntfs, xfs, reiserfs, and nilfs2 file
systems.

Instead of having another huge if-then-else ladder as in udisks1, use a lookup
table _fs_info. For now this contains the commands for label changing and
erasing, but will be extended in the future to contain the commands for
creating and checking file systems.

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

13 years agoUpdate internal man page links
David Zeuthen [Sun, 23 Oct 2011 16:26:59 +0000 (12:26 -0400)]
Update internal man page links

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd links to udisks(7) man page) for the Hint* properties
David Zeuthen [Sun, 23 Oct 2011 16:26:45 +0000 (12:26 -0400)]
Add links to udisks(7) man page) for the Hint* properties

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoMove all utility functions to the UDisksClient type
David Zeuthen [Sun, 23 Oct 2011 16:06:26 +0000 (12:06 -0400)]
Move all utility functions to the UDisksClient type

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoRemove unused functions for doc sections file
David Zeuthen [Sat, 22 Oct 2011 14:31:04 +0000 (10:31 -0400)]
Remove unused functions for doc sections file

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd Partition{,Table} interfaces and rely on blkid(8) partition properties
David Zeuthen [Fri, 21 Oct 2011 19:12:23 +0000 (15:12 -0400)]
Add Partition{,Table} interfaces and rely on blkid(8) partition properties

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoudisks: Also accept a --no-debug option and use it for activation
David Zeuthen [Tue, 18 Oct 2011 17:51:47 +0000 (13:51 -0400)]
udisks: Also accept a --no-debug option and use it for activation

Otherwise syslog gets spammed via D-Bus' system bus activation helper
via systemd (got it? got it!).

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoHACKING: Update URLs
Martin Pitt [Mon, 17 Oct 2011 13:16:11 +0000 (15:16 +0200)]
HACKING: Update URLs

DK-disks → udisks

13 years agoUpdate docs
David Zeuthen [Fri, 14 Oct 2011 17:35:29 +0000 (13:35 -0400)]
Update docs

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoExport Time{,Media}Detected properties on UDisksDrive
David Zeuthen [Fri, 14 Oct 2011 17:31:19 +0000 (13:31 -0400)]
Export Time{,Media}Detected properties on UDisksDrive

This is used to e.g. sort the returned items in the GVfs udisks2
backend.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoFix speling
David Zeuthen [Thu, 13 Oct 2011 14:53:56 +0000 (10:53 -0400)]
Fix speling

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUDisksClient: Initialize method timeout to infinite for all interface proxies
David Zeuthen [Tue, 11 Oct 2011 14:22:52 +0000 (10:22 -0400)]
UDisksClient: Initialize method timeout to infinite for all interface proxies

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd description for ZFS devices
David Zeuthen [Tue, 11 Oct 2011 11:38:31 +0000 (07:38 -0400)]
Add description for ZFS devices

With things like http://zfsonlinux.org/ having ZFS devices on a Linux
system is not unexpected. So we should show something meaningful.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoFix property reference
David Zeuthen [Tue, 11 Oct 2011 00:14:24 +0000 (20:14 -0400)]
Fix property reference

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoSupport PC-style floppy drives
David Zeuthen [Mon, 10 Oct 2011 20:25:01 +0000 (16:25 -0400)]
Support PC-style floppy drives

This is achieved by introducing properties

 MediaAvailable
 MediaChangeDetected

on the Drive interface.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUDisksClient: add get_block_for_dev() method
David Zeuthen [Thu, 6 Oct 2011 14:32:06 +0000 (10:32 -0400)]
UDisksClient: add get_block_for_dev() method

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUDisksClient: Handle when an interface is no longer associated with an object
David Zeuthen [Mon, 3 Oct 2011 21:30:20 +0000 (17:30 -0400)]
UDisksClient: Handle when an interface is no longer associated with an object

This can happen if e.g. performing an operation that is canceled when
a device has been yanked by the user. The obvious example is waiting
for the user to enter a password while holding a reference to an
UDisksEncrypted instance.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoIgnore uevent if so requested by device-mapper
David Zeuthen [Mon, 3 Oct 2011 20:56:02 +0000 (16:56 -0400)]
Ignore uevent if so requested by device-mapper

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUDisksClient: add get_object() and peek_object() convenience methods
David Zeuthen [Mon, 3 Oct 2011 20:04:55 +0000 (16:04 -0400)]
UDisksClient: add get_object() and peek_object() convenience methods

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoCombine entry and monitor API reference for mounts, fstab and crypttab
David Zeuthen [Mon, 3 Oct 2011 19:27:48 +0000 (15:27 -0400)]
Combine entry and monitor API reference for mounts, fstab and crypttab

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUDisksClient: add a rate-limited ::change signal
David Zeuthen [Fri, 30 Sep 2011 16:51:59 +0000 (12:51 -0400)]
UDisksClient: add a rate-limited ::change signal

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUDisksClient: add get_cleartext_block() method
David Zeuthen [Fri, 30 Sep 2011 16:05:53 +0000 (12:05 -0400)]
UDisksClient: add get_cleartext_block() method

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoMake udisks_util_get_drive_info() a method on UDisksClient
David Zeuthen [Fri, 30 Sep 2011 14:03:36 +0000 (10:03 -0400)]
Make udisks_util_get_drive_info() a method on UDisksClient

And also make it use the HintName and HintIconName properties.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoClarify docs for udisks_client_get_block_for_drive()
David Zeuthen [Fri, 30 Sep 2011 13:33:52 +0000 (09:33 -0400)]
Clarify docs for udisks_client_get_block_for_drive()

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoAdd properties about currently inserted optical media to the drive interface
David Zeuthen [Thu, 29 Sep 2011 18:01:05 +0000 (14:01 -0400)]
Add properties about currently inserted optical media to the drive interface

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoReorder some properties
David Zeuthen [Thu, 29 Sep 2011 14:28:26 +0000 (10:28 -0400)]
Reorder some properties

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoIntroduce DeviceBusy error and use it in Filesystem.Unmount()
David Zeuthen [Wed, 28 Sep 2011 18:32:34 +0000 (14:32 -0400)]
Introduce DeviceBusy error and use it in Filesystem.Unmount()

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUDisksClient: add get_drive_for_block() method
David Zeuthen [Wed, 28 Sep 2011 14:04:09 +0000 (10:04 -0400)]
UDisksClient: add get_drive_for_block() method

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUDisksClient: add get_block_for_drive() method
David Zeuthen [Tue, 27 Sep 2011 16:08:37 +0000 (12:08 -0400)]
UDisksClient: add get_block_for_drive() method

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUpdate docs
David Zeuthen [Fri, 23 Sep 2011 14:23:28 +0000 (10:23 -0400)]
Update docs

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoMake it possible to simulate SMART data on devices that don't support SMART
David Zeuthen [Sat, 3 Sep 2011 14:16:40 +0000 (10:16 -0400)]
Make it possible to simulate SMART data on devices that don't support SMART

This is useful in e.g. VirtualBox.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoDocument the atasmart_blob option
David Zeuthen [Fri, 2 Sep 2011 20:21:38 +0000 (16:21 -0400)]
Document the atasmart_blob option

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoUpdate SMART functionality
David Zeuthen [Fri, 2 Sep 2011 20:07:00 +0000 (16:07 -0400)]
Update SMART functionality

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoCatch up with GLib changes
David Zeuthen [Thu, 1 Sep 2011 19:18:54 +0000 (15:18 -0400)]
Catch up with GLib changes

s/g_unix_signal_add_watch_full/g_unix_signal_add_full/

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoMerge remote-tracking branch 'origin/gdbus-port'
David Zeuthen [Fri, 26 Aug 2011 17:14:47 +0000 (13:14 -0400)]
Merge remote-tracking branch 'origin/gdbus-port'

Conflicts:
tools/udisks-bash-completion.sh
tools/udisks.c

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoRevert "Add nilfs2 file system support"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Add nilfs2 file system support"

This reverts commit 8b0fcd17235127af9f4ce33f518022f359d55e4a.

13 years agoRevert "Bug 26258 — initial btrfs support"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Bug 26258 — initial btrfs support"

This reverts commit 0da4c9cf59e2a977553b5473faf9aa422a1aff47.

13 years agoRevert "Fix btrfs properties"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Fix btrfs properties"

This reverts commit 349273e5d54dee7953b0de3ec5b959cc529eb5a0.

13 years agoRevert "profile.h: Add missing include"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "profile.h: Add missing include"

This reverts commit 1b07af9ffe790c54dbe862321e81947e60520127.

13 years agoRevert "Bug 30332 — udisks does not tear down LUKS devices when the slave is forcibly...
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Bug 30332 — udisks does not tear down LUKS devices when the slave is forcibly removed"

This reverts commit 16529b69f7b1ab33e2b92f99cc3bef17d6f20a25.

13 years agoRevert "testsuite: fix race with SMART data"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: fix race with SMART data"

This reverts commit f1c8f3cadc3441189e00427abed1a2190214d38e.

13 years agoRevert "testsuite: Fix SMART test for SSDs"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: Fix SMART test for SSDs"

This reverts commit 495356d0457ce99807a90d0de0f17e305d7e46ce.

13 years agoRevert "testsuite: LVM: fix naming assumptions"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: LVM: fix naming assumptions"

This reverts commit cb9263122e90391bd9fe4a2d8859c596030ecdda.

13 years agoRevert "Fix mkfs.ext* arguments"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Fix mkfs.ext* arguments"

This reverts commit bb813b444e95a987c4f1ceaff244e97e485598a4.

13 years agoRevert "Fix creating NTFS on raw devices"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Fix creating NTFS on raw devices"

This reverts commit e180c5738e8d997090f29f67308f4ecb4fab1656.

13 years agoRevert "testsuite: Move to scsi_debug"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: Move to scsi_debug"

This reverts commit 337c180cd69e1ff3eb8fc2c1b77abdba5feb3967.

13 years agoRevert "Also export UDISKS_DM_TARGET_PARAMS for 'multipath' target"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Also export UDISKS_DM_TARGET_PARAMS for 'multipath' target"

This reverts commit e014838956eb2d926ce2db28b48d202e4fae9db7.

13 years agoRevert "Add nilfs2 label rename"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Add nilfs2 label rename"

This reverts commit 7a4a5e7f3ecb568a1670ec056d297e636e2a567f.

13 years agoRevert "udisks: fix a bug of unquoted/unescaped label string"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "udisks: fix a bug of unquoted/unescaped label string"

This reverts commit 0b4189b6d34d9ad1318381410e0d27edd10b7c62.

13 years agoRevert "partutil: Explicitly use PART_TYPE_UNKNOWN"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "partutil: Explicitly use PART_TYPE_UNKNOWN"

This reverts commit 5d07c97811138fa1542dd09f3178dad812b81a23.

13 years agoRevert "Fix uninitialized variable in part-id"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Fix uninitialized variable in part-id"

This reverts commit dd48c454f14b6063f8584631f04bf4528969a82b.

13 years agoRevert "testsuite: Check forced removal of LUKS encrypted device"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: Check forced removal of LUKS encrypted device"

This reverts commit 5cf279606c8163b8cf65906b2028db711fba8f0b.

13 years agoRevert "testsuite: Test forced removal of standard devices"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: Test forced removal of standard devices"

This reverts commit 1decd59b128f44fffe88feae0644430419a69b23.

13 years agoRevert "udisks: Avoid deprecated polkit_authority_get() function"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "udisks: Avoid deprecated polkit_authority_get() function"

This reverts commit 813578196f08c599c7e87c45aff808db0148303d.

13 years agoRevert "Fix building with Linux 2.6.37"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Fix building with Linux 2.6.37"

This reverts commit 1f97cf90f30a6184486cee8877494eb828a34da4.

13 years agoRevert "testsuite: Check correct handling of labels with funny characters"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: Check correct handling of labels with funny characters"

This reverts commit 8781f898aec9b098807cb6ce5c7d4115b3c2fdba.

13 years agoRevert "udisks: escape backslash for label string"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "udisks: escape backslash for label string"

This reverts commit 3d420825ce14c3b867571c22413fd9bc48738a6e.

13 years agoRevert "testsuite: use shorter label for renaming"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: use shorter label for renaming"

This reverts commit 8fd70cff1aa2111212cc9d874a076fb9739dadf1.

13 years agoRevert "Escape NTFS labels properly"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Escape NTFS labels properly"

This reverts commit 774e8353e7753d118b449310c03d9f811cef7c3a.

13 years agoRevert "simplify validate_and_escape_label()"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "simplify validate_and_escape_label()"

This reverts commit 1c81be33e87e7dffde0c4c4b4ec278011710dbd9.

13 years agoRevert "Fix hang on setting invalid VFAT labels"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Fix hang on setting invalid VFAT labels"

This reverts commit 8048a1cb8ae2de37c9fe9b07cc28ebafa0de7231.

13 years agoRevert "update NEWS for 1.0.2 release"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "update NEWS for 1.0.2 release"

This reverts commit abc0e3d491435eded57a5b25cfef8cd40f9f6c1e.

13 years agoRevert "Post-release version bump to 1.0.3"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Post-release version bump to 1.0.3"

This reverts commit 46da5bcaeecfb0d088a57061a293b43e0d13e45a.

13 years agoRevert "Hide recovery partition on newer Lenovo machines"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Hide recovery partition on newer Lenovo machines"

This reverts commit 77fcb26a5088611f463314b7ff45c1822536cdac.

13 years agoRevert "testsuite: fix race in LVM"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: fix race in LVM"

This reverts commit e40cc25ae1c0bd57f9e70de860349a44751f3aae.

13 years agoRevert "testsuite: Port to Python 3"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: Port to Python 3"

This reverts commit 0c452859956262155c8940433e00658ec5b1fbca.

13 years agoRevert "testsuite: Update assert statements"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: Update assert statements"

This reverts commit 31c7236f751e80b285da04ba4379bb98f809cb44.

13 years agoRevert "Ignore broken directory permissions on UDF media"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Ignore broken directory permissions on UDF media"

This reverts commit 2d1901f74725da29c7af7602e1c74faf55f14672.

13 years agoRevert "Bug 32917 — EeePC 900 SD card reader icon looks like a usb stick in GNOME"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Bug 32917 — EeePC 900 SD card reader icon looks like a usb stick in GNOME"

This reverts commit d0cafeb4e9e64fcb660d11a197d8405f28bb5a95.

13 years agoRevert "Bug 32232 – CVE-2010-4661: Arbitrary kernel module load"
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Bug 32232 – CVE-2010-4661: Arbitrary kernel module load"

This reverts commit c933a929f07421ec747cebb24d5e620fc2b97037.

13 years agoRevert "Fix warning message"
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Fix warning message"

This reverts commit cf76dc036a7db0804bd22f731dadddf9e128f03a.

13 years agoRevert "Fix all warnings caused by -Wunused-but-set-variable"
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Fix all warnings caused by -Wunused-but-set-variable"

This reverts commit 75aa5d3b67ace13eba3d2e39f0806742e1fd7bb5.

13 years agoRevert "Update comment about validating requested filesystem type"
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Update comment about validating requested filesystem type"

This reverts commit 81cb4740de3ac2a790f1c093eba5f064ced0a2a5.

13 years agoRevert "Nuke generated D-Bus code from distribution tarballs"
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Nuke generated D-Bus code from distribution tarballs"

This reverts commit 89bdcc7686c4ef5aeba6ef4bce1be2b5b5c79bce.

13 years agoRevert "Nuke the PolicyKit extension as that is now deprecated"
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Nuke the PolicyKit extension as that is now deprecated"

This reverts commit fb08e3ab42152222795d271e76e57b1b9297a702.