2 "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
3 "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
4 <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
6 <interface name="org.freedesktop.UDisks">
8 <!-- ************************************************************ -->
10 <method name="EnumerateAdapters">
11 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
12 <arg name="devices" direction="out" type="ao">
13 <doc:doc><doc:summary>An array of object paths for storage adapters.</doc:summary></doc:doc>
19 Enumerate all storage adapters on the system.
25 <!-- ************************************************************ -->
27 <method name="EnumerateExpanders">
28 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
29 <arg name="devices" direction="out" type="ao">
30 <doc:doc><doc:summary>An array of object paths for storage expanders.</doc:summary></doc:doc>
36 Enumerate all storage expanders on the system.
42 <!-- ************************************************************ -->
44 <method name="EnumeratePorts">
45 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
46 <arg name="devices" direction="out" type="ao">
47 <doc:doc><doc:summary>An array of object paths for ports.</doc:summary></doc:doc>
53 Enumerate all storage ports on the system.
59 <!-- ************************************************************ -->
61 <method name="EnumerateDevices">
62 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
63 <arg name="devices" direction="out" type="ao">
64 <doc:doc><doc:summary>An array of object paths for devices.</doc:summary></doc:doc>
70 Enumerate all disk devices on the system.
76 <!-- ************************************************************ -->
78 <method name="EnumerateDeviceFiles">
79 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
80 <arg name="device_files" direction="out" type="as">
81 <doc:doc><doc:summary>An array device file names.</doc:summary></doc:doc>
87 Enumerate all device files (including symlinks) for disk devices on the system.
93 <!-- ************************************************************ -->
95 <method name="FindDeviceByDeviceFile">
96 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
97 <arg name="device_file" direction="in" type="s">
98 <doc:doc><doc:summary>UNIX special device file</doc:summary></doc:doc>
100 <arg name="device" direction="out" type="o">
101 <doc:doc><doc:summary>Object path of device</doc:summary></doc:doc>
107 Finds a device by device path.
113 <!-- ************************************************************ -->
115 <method name="FindDeviceByMajorMinor">
116 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
117 <arg name="device_major" direction="in" type="x">
118 <doc:doc><doc:summary>Device major</doc:summary></doc:doc>
120 <arg name="device_minor" direction="in" type="x">
121 <doc:doc><doc:summary>Device minor</doc:summary></doc:doc>
123 <arg name="device" direction="out" type="o">
124 <doc:doc><doc:summary>Object path of device</doc:summary></doc:doc>
130 Finds a device by major:minor.
136 <!-- ************************************************************ -->
138 <method name="DriveInhibitAllPolling">
139 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
140 <arg name="options" direction="in" type="as">
141 <doc:doc><doc:summary>Inhibit options. Currently no options are recognized.</doc:summary></doc:doc>
144 <arg name="cookie" direction="out" type="s">
145 <doc:doc><doc:summary>
146 A cookie that can be used in the
147 <doc:ref type="method" to="Disks.DriveUninhibitAllPolling">DriveUninhibitAllPolling()</doc:ref> method
148 to stop inhibiting polling of all devices.
149 </doc:summary></doc:doc>
155 Inhibits the daemon from polling devices for media changes.
159 The caller will need one of the following PolicyKit authorizations:
162 <doc:term>org.freedesktop.udisks.inhibit-polling</doc:term>
163 <doc:definition>To inhibit polling</doc:definition>
168 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
169 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
174 <!-- ************************************************************ -->
176 <method name="DriveUninhibitAllPolling">
177 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
179 <arg name="cookie" direction="in" type="s">
180 <doc:doc><doc:summary>
181 A cookie obtained from the
182 <doc:ref type="method" to="Disks.DriveInhibitAllPolling">DriveInhibitAllPolling()</doc:ref> method.
183 </doc:summary></doc:doc>
189 Uninhibits daemon from polling devices for media changes.
193 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the given cookie is malformed</doc:error>
198 <!-- ************************************************************ -->
200 <method name="DriveSetAllSpindownTimeouts">
201 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
202 <arg name="timeout_seconds" direction="in" type="i">
203 <doc:doc><doc:summary>
204 Number of seconds before drives should be spun down.
205 </doc:summary></doc:doc>
208 <arg name="options" direction="in" type="as">
209 <doc:doc><doc:summary>
210 Options related to setting spindown timeouts. Currently no options are recognized.
211 </doc:summary></doc:doc>
214 <arg name="cookie" direction="out" type="s">
215 <doc:doc><doc:summary>
216 A cookie that can be used in the
217 <doc:ref type="method" to="Drive.DriveUnsetAllSpindownTimeouts">DriveUnsetAllSpindownTimeouts()</doc:ref> method
218 to unset the spindown timeout for drives.
219 </doc:summary></doc:doc>
225 Configures spindown timeout for all drives capable of being spun down.
226 Caution should be exercised when using this method, see
227 the SPINNING DOWN DISKS section in the
228 udisks<doc:tt>(1)</doc:tt> man page before using it.
232 The caller will need one of the following PolicyKit authorizations:
235 <doc:term>org.freedesktop.udisks.drive-set-spindown</doc:term>
236 <doc:definition>To set spindown timeouts</doc:definition>
241 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
242 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
243 <doc:error name="org.freedesktop.PolicyKit.Error.InvalidOption">if an invalid or malformed option was given</doc:error>
248 <!-- ************************************************************ -->
250 <method name="DriveUnsetAllSpindownTimeouts">
251 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
253 <arg name="cookie" direction="in" type="s">
254 <doc:doc><doc:summary>
255 A cookie obtained from the
256 <doc:ref type="method" to="Device.DriveSetSpindownTimeout">DriveSetSpindownTimeout()</doc:ref> method.
257 </doc:summary></doc:doc>
263 Unsets spindown timeout for the drive.
267 The caller will need one of the following PolicyKit authorizations:
270 <doc:term>org.freedesktop.udisks.drive-set-spindown</doc:term>
271 <doc:definition>To set spindown timeouts</doc:definition>
276 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
277 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
283 <!-- ************************************************************ -->
285 <method name="LinuxLvm2VGStart">
286 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
287 <arg name="uuid" direction="in" type="s">
288 <doc:doc><doc:summary>The UUID of the volume group to start.</doc:summary></doc:doc>
290 <arg name="options" direction="in" type="as">
291 <doc:doc><doc:summary>Options for starting the VG. Currently no options are supported.</doc:summary></doc:doc>
297 Starts all logical volumes in Linux LVM2 Volume Group.
301 The caller will need the following PolicyKit authorization:
304 <doc:term>org.freedesktop.udisks.linux-lvm2</doc:term>
306 Needed to configured Linux LVM2 devices.
312 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
313 <doc:error name="org.freedesktop.PolicyKit.Error.Busy">if one of the given components are busy</doc:error>
314 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
315 <doc:error name="org.freedesktop.PolicyKit.Error.Cancelled">if the job was cancelled</doc:error>
320 <!-- ************************************************************ -->
322 <method name="LinuxLvm2VGStop">
323 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
324 <arg name="uuid" direction="in" type="s">
325 <doc:doc><doc:summary>The UUID of the volume group to stop.</doc:summary></doc:doc>
327 <arg name="options" direction="in" type="as">
328 <doc:doc><doc:summary>Options for stopping the VG. Currently no options are supported.</doc:summary></doc:doc>
334 Stops all logical volumes in Linux LVM2 Volume Group.
338 The caller will need the following PolicyKit authorization:
341 <doc:term>org.freedesktop.udisks.linux-lvm2</doc:term>
343 Needed to configured Linux LVM2 devices.
349 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
350 <doc:error name="org.freedesktop.PolicyKit.Error.Busy">if one of the given components are busy</doc:error>
351 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
352 <doc:error name="org.freedesktop.PolicyKit.Error.Cancelled">if the job was cancelled</doc:error>
357 <!-- ************************************************************ -->
359 <method name="LinuxLvm2VGSetName">
360 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
361 <arg name="uuid" direction="in" type="s">
362 <doc:doc><doc:summary>The UUID of the volume group to set the name for.</doc:summary></doc:doc>
364 <arg name="name" direction="in" type="s">
365 <doc:doc><doc:summary>The new name for the volume group.</doc:summary></doc:doc>
371 Sets the name for a volume group.
375 The caller will need the following PolicyKit authorization:
378 <doc:term>org.freedesktop.udisks.linux-lvm2</doc:term>
380 Needed to configured Linux LVM2 devices.
386 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
387 <doc:error name="org.freedesktop.PolicyKit.Error.Busy">if one of the given components are busy</doc:error>
388 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
389 <doc:error name="org.freedesktop.PolicyKit.Error.Cancelled">if the job was cancelled</doc:error>
394 <!-- ************************************************************ -->
396 <method name="LinuxLvm2VGAddPV">
397 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
398 <arg name="uuid" direction="in" type="s">
399 <doc:doc><doc:summary>The UUID of the volume group to add a physical volume to.</doc:summary></doc:doc>
401 <arg name="physical_volume" direction="in" type="o">
402 <doc:doc><doc:summary>The objcet path of the device to use as a physical volume.</doc:summary></doc:doc>
404 <arg name="options" direction="in" type="as">
405 <doc:doc><doc:summary>Currently unused.</doc:summary></doc:doc>
411 Adds a Physical volume to a Linux LVM2 Volume Group. Existing data
412 on the given device to use for a physical volume will be erased.
416 The caller will need the following PolicyKit authorization:
419 <doc:term>org.freedesktop.udisks.linux-lvm2</doc:term>
421 Needed to configured Linux LVM2 devices.
427 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
428 <doc:error name="org.freedesktop.PolicyKit.Error.Busy">if one of the given components are busy</doc:error>
429 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
430 <doc:error name="org.freedesktop.PolicyKit.Error.Cancelled">if the job was cancelled</doc:error>
435 <!-- ************************************************************ -->
437 <method name="LinuxLvm2VGRemovePV">
438 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
439 <arg name="vg_uuid" direction="in" type="s">
440 <doc:doc><doc:summary>The UUID of the volume group to remove the physical volume from.</doc:summary></doc:doc>
442 <arg name="pv_uuid" direction="in" type="s">
443 <doc:doc><doc:summary>The UUID of the physical volume to remove from the VG.</doc:summary></doc:doc>
445 <arg name="options" direction="in" type="as">
446 <doc:doc><doc:summary>Currently unused.</doc:summary></doc:doc>
452 Removes a Physical volume from a Linux LVM2 Volume Group.
456 The caller will need the following PolicyKit authorization:
459 <doc:term>org.freedesktop.udisks.linux-lvm2</doc:term>
461 Needed to configured Linux LVM2 devices.
467 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
468 <doc:error name="org.freedesktop.PolicyKit.Error.Busy">if one of the given components are busy</doc:error>
469 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
470 <doc:error name="org.freedesktop.PolicyKit.Error.Cancelled">if the job was cancelled</doc:error>
475 <!-- ************************************************************ -->
477 <method name="LinuxLvm2LVSetName">
478 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
479 <arg name="group_uuid" direction="in" type="s">
480 <doc:doc><doc:summary>The UUID of the volume group for the logical volume.</doc:summary></doc:doc>
482 <arg name="uuid" direction="in" type="s">
483 <doc:doc><doc:summary>The UUID of the logical volume to set the name for.</doc:summary></doc:doc>
485 <arg name="name" direction="in" type="s">
486 <doc:doc><doc:summary>The new name for the logical volume.</doc:summary></doc:doc>
492 Sets the name for a logical volume.
496 The caller will need the following PolicyKit authorization:
499 <doc:term>org.freedesktop.udisks.linux-lvm2</doc:term>
501 Needed to configured Linux LVM2 devices.
507 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
508 <doc:error name="org.freedesktop.PolicyKit.Error.Busy">if one of the given components are busy</doc:error>
509 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
510 <doc:error name="org.freedesktop.PolicyKit.Error.Cancelled">if the job was cancelled</doc:error>
515 <!-- ************************************************************ -->
517 <method name="LinuxLvm2LVStart">
518 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
519 <arg name="group_uuid" direction="in" type="s">
520 <doc:doc><doc:summary>The UUID of the volume group of the logical volume to start belongs to.</doc:summary></doc:doc>
522 <arg name="uuid" direction="in" type="s">
523 <doc:doc><doc:summary>The UUID of the logical volume to start.</doc:summary></doc:doc>
525 <arg name="options" direction="in" type="as">
526 <doc:doc><doc:summary>Options for starting the logical volume. Currently no options are supported.</doc:summary></doc:doc>
532 Starts a LVM2 logical volume.
536 The caller will need the following PolicyKit authorization:
539 <doc:term>org.freedesktop.udisks.linux-lvm2</doc:term>
541 Needed to configured Linux LVM2 devices.
547 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
548 <doc:error name="org.freedesktop.PolicyKit.Error.Busy">if one of the given components are busy</doc:error>
549 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
550 <doc:error name="org.freedesktop.PolicyKit.Error.Cancelled">if the job was cancelled</doc:error>
555 <!-- ************************************************************ -->
557 <method name="LinuxLvm2LVRemove">
558 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
559 <arg name="group_uuid" direction="in" type="s">
560 <doc:doc><doc:summary>The UUID of the volume group of the logical volume to start belongs to.</doc:summary></doc:doc>
562 <arg name="uuid" direction="in" type="s">
563 <doc:doc><doc:summary>The UUID of the logical volume to remove.</doc:summary></doc:doc>
565 <arg name="options" direction="in" type="as">
566 <doc:doc><doc:summary>Options used for the removal of the logical volume. Currently no options are supported.</doc:summary></doc:doc>
572 Removes a LVM2 logical volume.
576 The caller will need the following PolicyKit authorization:
579 <doc:term>org.freedesktop.udisks.linux-lvm2</doc:term>
581 Needed to configured Linux LVM2 devices.
587 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
588 <doc:error name="org.freedesktop.PolicyKit.Error.Busy">if one of the given components are busy</doc:error>
589 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
590 <doc:error name="org.freedesktop.PolicyKit.Error.Cancelled">if the job was cancelled</doc:error>
595 <!-- ************************************************************ -->
597 <method name="LinuxLvm2LVCreate">
598 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
599 <arg name="group_uuid" direction="in" type="s">
600 <doc:doc><doc:summary>The UUID of the volume group to create a logical volume in.</doc:summary></doc:doc>
602 <arg name="name" direction="in" type="s">
603 <doc:doc><doc:summary>The name for the logical volume.</doc:summary></doc:doc>
605 <arg name="size" direction="in" type="t">
606 <doc:doc><doc:summary>The size of the logical volume, in bytes.</doc:summary></doc:doc>
608 <arg name="num_stripes" direction="in" type="u">
609 <doc:doc><doc:summary>Number of stripes to use.</doc:summary></doc:doc>
611 <arg name="stripe_size" direction="in" type="t">
612 <doc:doc><doc:summary>The stripe size to use or 0 if @num_stripes is 0. This must be a power of two.</doc:summary></doc:doc>
614 <arg name="num_mirrors" direction="in" type="u">
615 <doc:doc><doc:summary>Number of mirrors to use.</doc:summary></doc:doc>
617 <arg name="options" direction="in" type="as">
618 <doc:doc><doc:summary>Options used when creating the logical volume. Currently no options are supported.</doc:summary></doc:doc>
620 <arg name="fstype" direction="in" type="s">
621 <doc:doc><doc:summary>
622 The file system to create in new logical filesystem. Leave
623 blank to skip creating a file system. See the
624 <doc:ref type="method" to="Device.FilesystemCreate">Device.FilesystemCreate()</doc:ref> method
626 </doc:summary></doc:doc>
628 <arg name="fsoptions" direction="in" type="as">
629 <doc:doc><doc:summary>
630 Options to use for file system creation. See the
631 <doc:ref type="method" to="Device.FilesystemCreate">Device.FilesystemCreate()</doc:ref> method
633 </doc:summary></doc:doc>
635 <arg name="created_device" direction="out" type="o">
636 <doc:doc><doc:summary>The object path of the newly added logical volume.</doc:summary></doc:doc>
642 Creates a new LVM2 logical volume.
646 The caller will need the following PolicyKit authorization:
649 <doc:term>org.freedesktop.udisks.linux-lvm2</doc:term>
651 Needed to configured Linux LVM2 devices.
657 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
658 <doc:error name="org.freedesktop.PolicyKit.Error.Busy">if one of the given components are busy</doc:error>
659 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
660 <doc:error name="org.freedesktop.PolicyKit.Error.Cancelled">if the job was cancelled</doc:error>
665 <!-- ************************************************************ -->
667 <method name="LinuxMdStart">
668 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
669 <arg name="components" direction="in" type="ao">
670 <doc:doc><doc:summary>The object paths of the components of the array to start.</doc:summary></doc:doc>
672 <arg name="options" direction="in" type="as">
673 <doc:doc><doc:summary>Options for starting the array. Currently no options are supported.</doc:summary></doc:doc>
676 <arg name="device" direction="out" type="o">
677 <doc:doc><doc:summary>The object path of the assembled array device.</doc:summary></doc:doc>
683 Starts an Linux md RAID array. The array will be assembled
684 and started in degraded mode if an insufficient number of
685 components are given.
689 The caller will need the following PolicyKit authorization:
692 <doc:term>org.freedesktop.udisks.linux-md</doc:term>
694 Needed to configured Linux md Software RAID devices.
700 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
701 <doc:error name="org.freedesktop.PolicyKit.Error.Busy">if one of the given components are busy</doc:error>
702 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
703 <doc:error name="org.freedesktop.PolicyKit.Error.Cancelled">if the job was cancelled</doc:error>
708 <!-- ************************************************************ -->
710 <method name="LinuxMdCreate">
711 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
712 <arg name="components" direction="in" type="ao">
713 <doc:doc><doc:summary>The object paths of the components to use for the array.</doc:summary></doc:doc>
715 <arg name="level" direction="in" type="s">
716 <doc:doc><doc:summary>RAID level.</doc:summary></doc:doc>
718 <arg name="stripe_size" direction="in" type="t">
719 <doc:doc><doc:summary>Stripe Size in bytes, or 0 to use the default stripe size.</doc:summary></doc:doc>
721 <arg name="name" direction="in" type="s">
722 <doc:doc><doc:summary>Name of the array.</doc:summary></doc:doc>
724 <arg name="options" direction="in" type="as">
725 <doc:doc><doc:summary>Options for creating the array. Currently no options are supported.</doc:summary></doc:doc>
728 <arg name="device" direction="out" type="o">
729 <doc:doc><doc:summary>The object path of the created array device.</doc:summary></doc:doc>
735 Creates a Linux md RAID array. The array will be created and
740 The caller will need the following PolicyKit authorization:
743 <doc:term>org.freedesktop.udisks.linux-md</doc:term>
745 Needed to configured Linux md Software RAID devices.
751 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller lacks the appropriate PolicyKit authorization</doc:error>
752 <doc:error name="org.freedesktop.PolicyKit.Error.Busy">if one of the given components are busy</doc:error>
753 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the operation failed</doc:error>
754 <doc:error name="org.freedesktop.PolicyKit.Error.Cancelled">if the job was cancelled</doc:error>
759 <!-- ************************************************************ -->
761 <method name="Inhibit">
762 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
763 <arg name="cookie" direction="out" type="s">
764 <doc:doc><doc:summary>
765 A cookie that can be used in the
766 <doc:ref type="method" to="Disks.Uninhibit">Uninhibit()</doc:ref> method.
767 to stop inhibiting the daemon.
768 </doc:summary></doc:doc>
774 Inhibits clients from invoking methods on the daemon
775 of the daemon that require authorization (all methods
776 will return the <doc:tt>org.freedesktop.PolicyKit.Error.Inhibited</doc:tt> error)
777 if the caller is not the super user.
778 This is typically used by OS installers and other
779 programs that expects full control of the system, specifically
780 to avoid automounting devices.
784 Only the super user can invoke this method.
787 <doc:error name="org.freedesktop.PolicyKit.Error.NotAuthorized">if the caller is not the super user</doc:error>
792 <!-- ************************************************************ -->
794 <method name="Uninhibit">
795 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
797 <arg name="cookie" direction="in" type="s">
798 <doc:doc><doc:summary>
799 A cookie obtained from the
800 <doc:ref type="method" to="Disks.Inhibit">Inhibit()</doc:ref> method.
801 </doc:summary></doc:doc>
807 Uninhibits other clients from using the daemon.
811 <doc:error name="org.freedesktop.PolicyKit.Error.Failed">if the given cookie is malformed</doc:error>
817 <!-- ************************************************************ -->
819 <signal name="DeviceAdded">
820 <arg name="device" type="o">
821 <doc:doc><doc:summary>Object path of device that was added.</doc:summary></doc:doc>
827 Emitted when a device is added.
833 <!-- ************************************************************ -->
835 <signal name="DeviceRemoved">
836 <arg name="device" type="o">
837 <doc:doc><doc:summary>Object path of device that was removed.</doc:summary></doc:doc>
843 Emitted when a device is removed.
849 <!-- ************************************************************ -->
851 <signal name="DeviceChanged">
852 <arg name="device" type="o">
853 <doc:doc><doc:summary>Object path of device that was changed.</doc:summary></doc:doc>
859 Emitted when a device changed.
865 <!-- ************************************************************ -->
867 <signal name="DeviceJobChanged">
868 <arg name="device" type="o">
869 <doc:doc><doc:summary>The object path of the device.</doc:summary></doc:doc>
871 <arg name="job_in_progress" type="b">
872 <doc:doc><doc:summary>Whether a job is currently in progress.</doc:summary></doc:doc>
874 <arg name="job_is_cancellable" type="b">
875 <doc:doc><doc:summary>Whether the job is cancellable.</doc:summary></doc:doc>
877 <arg name="job_id" type="s">
878 <doc:doc><doc:summary>The identifier of the job.</doc:summary></doc:doc>
880 <arg name="job_num_tasks" type="i">
881 <doc:doc><doc:summary>Number of tasks in the job.</doc:summary></doc:doc>
883 <arg name="job_cur_task" type="i">
884 <doc:doc><doc:summary>Current task number (zero-based offset).</doc:summary></doc:doc>
886 <arg name="job_cur_task_id" type="s">
887 <doc:doc><doc:summary>Task identifier for current task.</doc:summary></doc:doc>
889 <arg name="job_cur_task_percentage" type="d">
890 <doc:doc><doc:summary>Percentage completed of current task (between 0 and 100, negative if unknown).</doc:summary></doc:doc>
896 Emitted when a job on a device changes.
902 <!-- ************************************************************ -->
904 <signal name="AdapterAdded">
905 <arg name="adapter" type="o">
906 <doc:doc><doc:summary>Object path of adapter that was added.</doc:summary></doc:doc>
912 Emitted when an adapter is added.
917 <signal name="AdapterRemoved">
918 <arg name="adapter" type="o">
919 <doc:doc><doc:summary>Object path of adapter that was removed.</doc:summary></doc:doc>
925 Emitted when an adapter is removed.
930 <signal name="AdapterChanged">
931 <arg name="adapter" type="o">
932 <doc:doc><doc:summary>Object path of adapter that was changed.</doc:summary></doc:doc>
938 Emitted when an adapter changed.
944 <!-- ************************************************************ -->
946 <signal name="ExpanderAdded">
947 <arg name="expander" type="o">
948 <doc:doc><doc:summary>Object path of expander that was added.</doc:summary></doc:doc>
954 Emitted when an expander is added.
959 <signal name="ExpanderRemoved">
960 <arg name="expander" type="o">
961 <doc:doc><doc:summary>Object path of expander that was removed.</doc:summary></doc:doc>
967 Emitted when an expander is removed.
972 <signal name="ExpanderChanged">
973 <arg name="expander" type="o">
974 <doc:doc><doc:summary>Object path of expander that was changed.</doc:summary></doc:doc>
980 Emitted when an expander changed.
986 <!-- ************************************************************ -->
988 <signal name="PortAdded">
989 <arg name="port" type="o">
990 <doc:doc><doc:summary>Object path of port that was added.</doc:summary></doc:doc>
996 Emitted when a port is added.
1001 <signal name="PortRemoved">
1002 <arg name="port" type="o">
1003 <doc:doc><doc:summary>Object path of port that was removed.</doc:summary></doc:doc>
1009 Emitted when a port is removed.
1014 <signal name="PortChanged">
1015 <arg name="port" type="o">
1016 <doc:doc><doc:summary>Object path of port that was changed.</doc:summary></doc:doc>
1022 Emitted when a port changed.
1028 <!-- ************************************************************ -->
1030 <property name="DaemonVersion" type="s" access="read">
1031 <doc:doc><doc:description><doc:para>
1032 The version of the running daemon.
1033 </doc:para></doc:description></doc:doc>
1036 <property name="DaemonIsInhibited" type="b" access="read">
1037 <doc:doc><doc:description><doc:para>
1038 TRUE only if the daemon is inhibited.
1039 </doc:para></doc:description></doc:doc>
1042 <property name="SupportsLuksDevices" type="b" access="read">
1043 <doc:doc><doc:description><doc:para>
1044 TRUE only if the daemon can create encrypted LUKS block devices, see the
1045 <doc:ref type="method" to="Device.LuksLock">LuksUnlock()</doc:ref> and
1046 <doc:ref type="method" to="Device.LuksLock">LuksLock()</doc:ref>
1047 methods for details.
1048 </doc:para></doc:description></doc:doc>
1052 <!-- TODO: maybe this should return a dictionary so we can grow it in the future? -->
1053 <property name="KnownFilesystems" type="a(ssbbbubbbbbbbb)" access="read">
1054 <doc:doc><doc:description><doc:para>
1055 An array of file systems known to the daemon and what features are supported.
1056 Each element in the array contains the following members:
1059 <doc:term>id</doc:term>
1061 The name / identifier of the file system (such as <doc:tt>ext3</doc:tt> or <doc:tt>vfat</doc:tt>),
1062 similar to the contents of the
1063 <doc:ref type="property" to="Device:IdType">Device:IdType</doc:ref>
1068 <doc:term>name</doc:term>
1070 A human readable name for the file system such as "Linux Ext3".
1074 <doc:term>supports_unix_owners</doc:term>
1076 Whether the file system supports the UNIX owners model (e.g. ext3 does, but vfat doesn't).
1080 <doc:term>can_mount</doc:term>
1082 Whether the file system can be mounted.
1086 <doc:term>can_create</doc:term>
1088 Whether the file system can be created on a device.
1092 <doc:term>max_label_len</doc:term>
1094 The maximum amount of bytes that the file system label can hold. Set to zero if the file
1095 system doesn't support labels.
1099 <doc:term>supports_label_rename</doc:term>
1101 Whether the label of the file system can be changed.
1105 <doc:term>supports_online_label_rename</doc:term>
1107 Whether the label can be changed while the file system is mounted.
1111 <doc:term>supports_fsck</doc:term>
1113 Whether the file system can be checked.
1117 <doc:term>supports_online_fsck</doc:term>
1119 Whether the file system can be checked while mounted.
1123 <doc:term>supports_resize_enlarge</doc:term>
1125 Whether the file system can be enlarged.
1129 <doc:term>supports_online_resize_enlarge</doc:term>
1131 Whether the file system can be enlarged while mounted.
1135 <doc:term>supports_resize_shrink</doc:term>
1137 Whether the file system can be shrunk.
1141 <doc:term>supports_online_resize_shrink</doc:term>
1143 Whether the file system can be shrunk while mounted.
1148 </doc:para></doc:description></doc:doc>
1151 <!-- ************************************************************ -->