summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2011-07-13 14:58:17 -0400
committerDavid Zeuthen <davidz@redhat.com>2011-07-13 14:58:17 -0400
commitce3d7339295213c9ae59b20dc65af2c90189e253 (patch)
tree278db8ce0448cd2fa66a3b67a49a1e8793c4d00d /data
parent9363381604e807a3b4d2c57b7940cb785c259dcb (diff)
Add new cleanup object
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'data')
-rw-r--r--data/org.freedesktop.UDisks2.xml22
1 files changed, 21 insertions, 1 deletions
diff --git a/data/org.freedesktop.UDisks2.xml b/data/org.freedesktop.UDisks2.xml
index 80c41ae..d875aa6 100644
--- a/data/org.freedesktop.UDisks2.xml
+++ b/data/org.freedesktop.UDisks2.xml
@@ -354,10 +354,30 @@
Mount the filesystem.
+ The directory the device will be mounted in is determined by
+ looking at data related to the device (such the filesystem
+ UUID and label) and will be created automatically. It is
+ returned in @mount_path and is normally a sub-directory of
+ <filename class='directory'>/media</filename>.
+
+ The filesystem should be unmounted using the
+ org.freedesktop.UDisks2.Filesystem.Unmount() method.
+
+ If the device is removed without being unmounted (e.g. the
+ user yanking the device or pulling the media out) or unmounted
+ in a way that bypasses the
+ org.freedesktop.UDisks2.Filesystem.Unmount() method
+ (e.g. unmounted by the super-user by using the
+ <citerefentry><refentrytitle>umount</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ command directly), the device will be unmounted (if needed)
+ and the mount point will be cleaned up.
+
The file system type can be overridden with the
<parameter>fstype</parameter> option and mount options can be
given in <parameter>options</parameter> as a comma-separated
- string. Note that the mount options are validated - only a
+ string and is of the same format as would be passed to the
+ <citerefentry><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ command. Note that the mount options are validated - only a
small subset per filesystem type is allowed.
-->
<method name="Mount">