David Zeuthen [Thu, 29 Sep 2011 14:28:26 +0000 (10:28 -0400)]
Reorder some properties
Signed-off-by: David Zeuthen <davidz@redhat.com>
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>
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>
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>
David Zeuthen [Fri, 23 Sep 2011 14:23:28 +0000 (10:23 -0400)]
Update docs
Signed-off-by: David Zeuthen <davidz@redhat.com>
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>
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>
David Zeuthen [Fri, 2 Sep 2011 20:07:00 +0000 (16:07 -0400)]
Update SMART functionality
Signed-off-by: David Zeuthen <davidz@redhat.com>
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>
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>
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Add nilfs2 file system support"
This reverts commit
8b0fcd17235127af9f4ce33f518022f359d55e4a.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Bug 26258 — initial btrfs support"
This reverts commit
0da4c9cf59e2a977553b5473faf9aa422a1aff47.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Fix btrfs properties"
This reverts commit
349273e5d54dee7953b0de3ec5b959cc529eb5a0.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "profile.h: Add missing include"
This reverts commit
1b07af9ffe790c54dbe862321e81947e60520127.
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.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: fix race with SMART data"
This reverts commit
f1c8f3cadc3441189e00427abed1a2190214d38e.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: Fix SMART test for SSDs"
This reverts commit
495356d0457ce99807a90d0de0f17e305d7e46ce.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: LVM: fix naming assumptions"
This reverts commit
cb9263122e90391bd9fe4a2d8859c596030ecdda.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Fix mkfs.ext* arguments"
This reverts commit
bb813b444e95a987c4f1ceaff244e97e485598a4.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Fix creating NTFS on raw devices"
This reverts commit
e180c5738e8d997090f29f67308f4ecb4fab1656.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: Move to scsi_debug"
This reverts commit
337c180cd69e1ff3eb8fc2c1b77abdba5feb3967.
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.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Add nilfs2 label rename"
This reverts commit
7a4a5e7f3ecb568a1670ec056d297e636e2a567f.
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.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "partutil: Explicitly use PART_TYPE_UNKNOWN"
This reverts commit
5d07c97811138fa1542dd09f3178dad812b81a23.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Fix uninitialized variable in part-id"
This reverts commit
dd48c454f14b6063f8584631f04bf4528969a82b.
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.
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.
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.
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.
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.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "udisks: escape backslash for label string"
This reverts commit
3d420825ce14c3b867571c22413fd9bc48738a6e.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: use shorter label for renaming"
This reverts commit
8fd70cff1aa2111212cc9d874a076fb9739dadf1.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "Escape NTFS labels properly"
This reverts commit
774e8353e7753d118b449310c03d9f811cef7c3a.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "simplify validate_and_escape_label()"
This reverts commit
1c81be33e87e7dffde0c4c4b4ec278011710dbd9.
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.
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.
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.
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.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: fix race in LVM"
This reverts commit
e40cc25ae1c0bd57f9e70de860349a44751f3aae.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: Port to Python 3"
This reverts commit
0c452859956262155c8940433e00658ec5b1fbca.
David Zeuthen [Fri, 26 Aug 2011 17:09:41 +0000 (13:09 -0400)]
Revert "testsuite: Update assert statements"
This reverts commit
31c7236f751e80b285da04ba4379bb98f809cb44.
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.
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.
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.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Fix warning message"
This reverts commit
cf76dc036a7db0804bd22f731dadddf9e128f03a.
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.
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.
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.
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.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Fix udisks --eject-options"
This reverts commit
4b4746ee28804cb50229c6c42457c4f80c60faca.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "throw_error(): Print error to stderr when being called internally"
This reverts commit
af80cd56e3b68cbc0de1fa1d03f9b2b2463aa514.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Support calling device_drive_eject() and device_filesystem_unmount() from daemon"
This reverts commit
378a755bbe24e1118caa6a278bcbc585213e7a05.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Remove blkid probing of device-mapper nodes"
This reverts commit
8f01c260f42f4478160b9baf45d8298b2f02421e.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Mark Realtek PCI flash card reader as such"
This reverts commit
361a2ce3f2fc0b6ef02ac11d31bf77a0a9354e70.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Add override for system internal property"
This reverts commit
156ebd5ca8f88b7a4772c03ed269ae30718f866d.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Add missing comma in fs whitelist"
This reverts commit
75b6187f77ca95ce435dd78f2ecb244af55e7faf.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Add "unmount" option to DriveEject"
This reverts commit
1c7d933431e49ff6840a388eb23134633155a442.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Bug 34710 — CD-ROM polling failed due to O_EXCL flag"
This reverts commit
2d0272eb3be71f6ee3f52c55a3d608764b675fb0.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Bug 38535 – A DeviceAutoMountHint attribute should be added to udisks"
This reverts commit
858adbac9dce63da52764b2d2157bc7782b304a5.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Add UDISKS_AUTOMOUNT_HINT to the udisks(7) man page"
This reverts commit
ce27a0f7e45cd66b18fcbfe1c8f38ef9e8d4e903.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Teach udisks(1) about the new automount hint and spell automount as one word"
This reverts commit
43392bd4b7c72892b08e49a6c0afaef9f572695a.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Update NEWS for release"
This reverts commit
c1e14e10f700c5a36d136004f3f3a04791cb8d9e.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Post-release version bump to 1.0.4"
This reverts commit
32c2f555e5a1ae4303bf1f7e7c229c891327ac77.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Fix typo in configure"
This reverts commit
91405103e0267c73c76f44be5e1de7169884d8c6.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Mark all rts_pstor devices as card readers"
This reverts commit
cd0644df1279a9a04c5ff15220381a64de0224fa.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Change the default for LVM2 and dm-multipath support to off"
This reverts commit
99de237eed6a026597e9b045527631c42ab86968.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Bug 24265 – Needs to create /var/run/udisks/ on demand"
This reverts commit
bd0e9b6f62957f7bc99d01edaedb45a2e8ed8ac8.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Update NEWS for release"
This reverts commit
36329d9548aa9d4016f919f4a19ed7c0d1fbeb11.
David Zeuthen [Fri, 26 Aug 2011 17:09:40 +0000 (13:09 -0400)]
Revert "Post-release version bump to 1.0.5"
This reverts commit
3cc1015e12c83165d838ca9e5d3ecb22ffb09b74.
David Zeuthen [Fri, 26 Aug 2011 15:49:14 +0000 (11:49 -0400)]
Post-release version bump to 1.0.5
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 26 Aug 2011 15:44:14 +0000 (11:44 -0400)]
Update NEWS for release
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 26 Aug 2011 15:32:42 +0000 (11:32 -0400)]
Bug 24265 – Needs to create /var/run/udisks/ on demand
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 26 Aug 2011 15:09:24 +0000 (11:09 -0400)]
Change the default for LVM2 and dm-multipath support to off
The udev integration in device-mapper (and its users) is not exactly
working well - for example, you need to run 'udevadm trigger' in order
for the /lib/udev/udisks-lvm-pv-export prober to kick
in. Additionally, the fact that we run said prober on new events is
causing a lot of problems because its use of liblvm and the fact that
liblvm cannot currently be safely used in the udev path.
Signed-off-by: David Zeuthen <davidz@redhat.com>
Signed-off-by: Kay Sievers <kay@redhat.com>
David Zeuthen [Wed, 24 Aug 2011 18:27:19 +0000 (14:27 -0400)]
Rename BlockDevice interface to Block
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 24 Aug 2011 17:43:02 +0000 (13:43 -0400)]
Move docs around a bit
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 24 Aug 2011 17:28:08 +0000 (13:28 -0400)]
Update to latest gdbus-codegen(1) tool
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 17 Aug 2011 13:43:52 +0000 (09:43 -0400)]
Fix use of unitialized variables discovered when building with -O2
Gah
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Tue, 16 Aug 2011 17:05:13 +0000 (13:05 -0400)]
Don't dereference a NULL pointer
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Tue, 16 Aug 2011 16:36:42 +0000 (12:36 -0400)]
Factor block devices into separate types
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Tue, 16 Aug 2011 14:50:33 +0000 (10:50 -0400)]
Factor out drive functionality into three separate types
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Mon, 15 Aug 2011 17:06:33 +0000 (13:06 -0400)]
Refine the libudev hack
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Mon, 15 Aug 2011 16:18:34 +0000 (12:18 -0400)]
Workaround get_usec_since_initialized() not always working in libudev
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Mon, 15 Aug 2011 15:27:36 +0000 (11:27 -0400)]
Use intialization time for sort order
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Mon, 15 Aug 2011 14:57:29 +0000 (10:57 -0400)]
Add a sorting key for drives
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Mon, 15 Aug 2011 07:58:22 +0000 (03:58 -0400)]
Fix drive lookup logic for partitions
Commit
609fcd3515942140c14561e516923af70a6d4128 accidentally broke
setting the BlockDevice:Drive for partitions. Fix it.
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Sat, 13 Aug 2011 16:02:39 +0000 (12:02 -0400)]
Associate dm-multipath devices with the correct drive
http://people.freedesktop.org/~david/palimpsest-multipath.png
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Sat, 13 Aug 2011 16:00:34 +0000 (12:00 -0400)]
Fix drive lookup logic
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Sat, 13 Aug 2011 15:59:02 +0000 (11:59 -0400)]
Don't leak fd while enumerating directories
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 12 Aug 2011 19:56:41 +0000 (15:56 -0400)]
Add work-around to identify firewire devices without serial/wwn as drives
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 12 Aug 2011 18:11:01 +0000 (14:11 -0400)]
Update docs
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 12 Aug 2011 18:04:44 +0000 (14:04 -0400)]
Use /dev/mapper/$DM_NAME as fallback, if available
This ensures that PreferredDeviceFile will be /dev/mapper/sd_card
instead of e.g. /dev/dm-3 if DM_NAME is "sd_card".
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 12 Aug 2011 17:47:57 +0000 (13:47 -0400)]
Support /etc/crypttab for unlocking and locking LUKS devices
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 12 Aug 2011 16:40:17 +0000 (12:40 -0400)]
Allow mounting/unmounting fstab devices without the 'user' or 'users' option
... by introducing a new org.freedesktop.udisks2.filesystem-nonuser-fstab
polkit action.
http://people.freedesktop.org/~david/palimpsest-nonuser-fstab-devices.png
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Fri, 12 Aug 2011 14:09:54 +0000 (10:09 -0400)]
Revert "Use -T for eject(1) on optical drives"
This causes failures on my optical drive that can't close its tray. We
can probably do this by adding a Drive:CloseTray() method as well as a
Drive:TrayIsOpen property...
This reverts commit
51255b864c09390a96f49ed14a70916eb75b6456.
David Zeuthen [Thu, 11 Aug 2011 22:05:11 +0000 (18:05 -0400)]
Use -T for eject(1) on optical drives
This enables the "eject" button in palimpsest to close the tray if
it's opened already.
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Thu, 11 Aug 2011 21:17:50 +0000 (17:17 -0400)]
Preserve mode_t of /etc/fstab and /etc/crypttab when updating
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Thu, 11 Aug 2011 20:27:43 +0000 (16:27 -0400)]
Also consider the device file in addition to symlinks
Otherwise things like /dev/sr0 in the /etc/{fstab,crypttab} files
won't work.
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Thu, 11 Aug 2011 19:46:12 +0000 (15:46 -0400)]
Add support for /etc/crypttab
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Wed, 10 Aug 2011 16:13:35 +0000 (12:13 -0400)]
Also unmount filesystems when devices mounted via /etc/fstab disappears
But only if mounted via udisks.
Signed-off-by: David Zeuthen <davidz@redhat.com>