From 42dc3771ef70ef4cd63fe0f294a1bb1d9615246f Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Fri, 21 Oct 2011 15:12:23 -0400 Subject: [PATCH] Add Partition{,Table} interfaces and rely on blkid(8) partition properties Signed-off-by: David Zeuthen --- data/org.freedesktop.UDisks2.xml | 107 ++++++++++++++--------- doc/udisks2-docs.xml | 6 ++ doc/udisks2-sections.txt | 139 +++++++++++++++++++++++++++++ doc/udisks2.types | 2 + src/Makefile.am | 2 + src/udisksdaemontypes.h | 6 ++ src/udiskslinuxblock.c | 103 ---------------------- src/udiskslinuxblockobject.c | 120 +++++++++++++++++++++++++ src/udiskslinuxpartition.c | 183 +++++++++++++++++++++++++++++++++++++++ src/udiskslinuxpartition.h | 39 +++++++++ src/udiskslinuxpartitiontable.c | 129 +++++++++++++++++++++++++++ src/udiskslinuxpartitiontable.h | 39 +++++++++ tools/udisksctl.c | 6 +- udisks/udisksclient.c | 36 +++++++- udisks/udisksclient.h | 3 + udisks/udisksutil.c | 180 +++++++++++++++++++------------------- 16 files changed, 862 insertions(+), 238 deletions(-) create mode 100644 src/udiskslinuxpartition.c create mode 100644 src/udiskslinuxpartition.h create mode 100644 src/udiskslinuxpartitiontable.c create mode 100644 src/udiskslinuxpartitiontable.h diff --git a/data/org.freedesktop.UDisks2.xml b/data/org.freedesktop.UDisks2.xml index a93b669..51b4790 100644 --- a/data/org.freedesktop.UDisks2.xml +++ b/data/org.freedesktop.UDisks2.xml @@ -667,49 +667,6 @@ --> - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +