summaryrefslogtreecommitdiffstats
path: root/python/guestfs.py
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-06-29 16:05:22 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-06-29 16:05:22 +0100
commit5d6b6a3fbbfea19c606b984bac9cf64b6b81cafe (patch)
treeb1d34b141b935fc6acc46930acd0496dfcc0df8b /python/guestfs.py
parenta548d51b703f5385797594a37287f4532af289a2 (diff)
downloadlibguestfs-5d6b6a3fbbfea19c606b984bac9cf64b6b81cafe.tar.gz
libguestfs-5d6b6a3fbbfea19c606b984bac9cf64b6b81cafe.tar.xz
libguestfs-5d6b6a3fbbfea19c606b984bac9cf64b6b81cafe.zip
Generated code for mount-loop command.
Diffstat (limited to 'python/guestfs.py')
-rw-r--r--python/guestfs.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/guestfs.py b/python/guestfs.py
index 0f6fc3a8..46b02a48 100644
--- a/python/guestfs.py
+++ b/python/guestfs.py
@@ -1856,3 +1856,10 @@ class GuestFS:
"""
return libguestfsmod.initrd_list (self._o, path)
+ def mount_loop (self, file, mountpoint):
+ u"""This command lets you mount "file" (a filesystem image
+ in a file) on a mount point. It is entirely equivalent
+ to the command "mount -o loop file mountpoint".
+ """
+ return libguestfsmod.mount_loop (self._o, file, mountpoint)
+