From d28c5d25acff4fdbb39ff0297f29e95029db8edb Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Thu, 23 Feb 2012 18:16:06 -0500 Subject: [PATCH] Add a section about /org/freedesktop/UDisks2/block_devices/* objects Signed-off-by: David Zeuthen --- doc/udisks2-docs.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/doc/udisks2-docs.xml b/doc/udisks2-docs.xml index 0114a87..e5e9c0c 100644 --- a/doc/udisks2-docs.xml +++ b/doc/udisks2-docs.xml @@ -56,6 +56,33 @@ manipulate global state. + + The /org/freedesktop/UDisks2/block_devices/* objects + + Objects with an object path starting with + /org/freedesktop/UDisks2/block_devices/ + implement the + org.freedesktop.UDisks2.Block + D-Bus interface and may optionally implement other D-Bus interfaces such as + org.freedesktop.UDisks2.Filesystem, + org.freedesktop.UDisks2.Partition or + org.freedesktop.UDisks2.Loop depending on the block device in question. + + + Note that interfaces may be added and removed at run-time. For example, if a block device is full of zeroes, it will not intially implement the + org.freedesktop.UDisks2.Filesystem + interface; however, if a filesystem is written to disk (using, say, the + + mkfs8 + + command) and the filesystem is recognized by the OS (specifically, recognized by + + udev7 + and its device probers), the object will gain the interface. If the device is later zeroed or formatted for use as e.g. swap-space, it will lose the + org.freedesktop.UDisks2.Filesystem + interface. + + The <parameter>options</parameter> parameter -- 2.7.4