X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=python%2Fguestfs.py;h=46b02a48e54987b1464d18c2862db252c7c5cebf;hb=e820df70c7c7486cc4d5cc9f3e7ddbbae195fd41;hp=0f6fc3a8f4009c6b03b95ef35640c67ff2957a6f;hpb=c6d6f5ae1b76ec9aa5c540906aeed73d25d13eb9;p=libguestfs.git diff --git a/python/guestfs.py b/python/guestfs.py index 0f6fc3a..46b02a4 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) +