From e9f628ed420f90310d6078b7d27830114737a354 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Wed, 24 Aug 2011 14:27:19 -0400 Subject: [PATCH] Rename BlockDevice interface to Block Signed-off-by: David Zeuthen --- data/org.freedesktop.UDisks2.xml | 77 +++++------ doc/udisks2-docs.xml | 4 +- doc/udisks2-sections.txt | 278 +++++++++++++++++++-------------------- doc/udisks2.types | 6 +- src/udisksdaemon.c | 14 +- src/udisksdaemon.h | 2 +- src/udisksdaemonutil.c | 24 ++-- src/udiskslinuxblock.c | 184 +++++++++++++------------- src/udiskslinuxblock.h | 2 +- src/udiskslinuxblockobject.c | 14 +- src/udiskslinuxdrive.c | 10 +- src/udiskslinuxdriveata.c | 6 +- src/udiskslinuxdriveobject.c | 6 +- src/udiskslinuxencrypted.c | 110 ++++++++-------- src/udiskslinuxfilesystem.c | 88 ++++++------- src/udiskslinuxloop.c | 30 ++--- src/udiskslinuxmanager.c | 6 +- src/udiskslinuxprovider.c | 2 +- src/udiskslinuxswapspace.c | 12 +- tools/udisksctl.c | 112 ++++++++-------- tools/umount-udisks.c | 14 +- 21 files changed, 501 insertions(+), 500 deletions(-) diff --git a/data/org.freedesktop.UDisks2.xml b/data/org.freedesktop.UDisks2.xml index fe9b395..280b846 100644 --- a/data/org.freedesktop.UDisks2.xml +++ b/data/org.freedesktop.UDisks2.xml @@ -39,7 +39,7 @@ LoopSetup: @fd: An index for the file descriptor to use. @options: Options - known options (in addition to standard options) includes offset (of type 't'), size (of type 't') and read-only (of type 'b'). - @resulting_device: An object path to the object implementing the #org.freedesktop.UDisks2.BlockDevice interface. + @resulting_device: An object path to the object implementing the #org.freedesktop.UDisks2.Block interface. Creates a block device for the file represented by @fd. --> @@ -59,12 +59,12 @@ removable media. This interface should not to be confused with the - #org.freedesktop.UDisks2.BlockDevice interface that is used for - any low-level block devices the OS knows about. For example, if + #org.freedesktop.UDisks2.Block interface that is used for + low-level block devices the OS knows about. For example, if /dev/sda and /dev/sdb are block devices for two paths to the same drive, there will be only one #org.freedesktop.UDisks2.Drive object but two - #org.freedesktop.UDisks2.BlockDevice objects. + #org.freedesktop.UDisks2.Block objects. --> @@ -256,26 +256,27 @@ - + @@ -518,7 +519,7 @@ @@ -534,7 +535,7 @@ @@ -547,7 +548,7 @@ Adds a new configuration item. - See the #org.freedesktop.UDisks2.BlockDevice:Configuration + See the #org.freedesktop.UDisks2.Block:Configuration property for details about valid configuration items. --> @@ -562,7 +563,7 @@ Removes an existing configuration item. - See the #org.freedesktop.UDisks2.BlockDevice:Configuration + See the #org.freedesktop.UDisks2.Block:Configuration property for details about valid configuration items. --> @@ -578,13 +579,13 @@ Removes a configuration item and adds a new one. This is equivalent to calling - org.freedesktop.UDisks2.BlockDevice.RemoveConfigurationItem() + org.freedesktop.UDisks2.Block.RemoveConfigurationItem() followed by - org.freedesktop.UDisks2.BlockDevice.AddConfigurationItem() + org.freedesktop.UDisks2.Block.AddConfigurationItem() with the change that only one PolicyKit check is made and that @new_item can be validated against @old_item. - See the #org.freedesktop.UDisks2.BlockDevice:Configuration + See the #org.freedesktop.UDisks2.Block:Configuration property for details about valid configuration items. --> @@ -599,7 +600,7 @@ @configuration: The resulting configuration. Returns the same value as in the - #org.freedesktop.UDisks2.BlockDevice:Configuration property + #org.freedesktop.UDisks2.Block:Configuration property but without secret information filtered out. --> @@ -615,11 +616,11 @@ org.freedesktop.UDisks2.Filesystem: @short_description: Block device containing a mountable filesystem - This interface is used for #org.freedesktop.UDisks2.BlockDevice + This interface is used for #org.freedesktop.UDisks2.Block devices that contain a mountable filesystem. --> - + - + @@ -763,17 +764,17 @@ org.freedesktop.UDisks2.Encrypted: @short_description: Block device containing encrypted data - This interface is used for #org.freedesktop.UDisks2.BlockDevice + This interface is used for #org.freedesktop.UDisks2.Block devices that contain encrypted data. --> - + - +