Red Hat Bugzilla – Bug 508668
Loop device mounts don't work
Last modified: 2010-03-27 06:33:17 EDT
Loop device mounts inside the appliance don't work. The reason
is just that loop device requires a filename to be specified,
where a device is being expected.
This is an example using a Fedora 11 LiveCD:
$ ./fish/guestfish --ro -a ~/Fedora-11-i686-Live.iso
Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.
Type: 'help' for help with commands
'quit' to quit the shell
><fs> mount /dev/sda /
><fs> ls /
><fs> ls /LiveOS
><fs> help mount-options
mount-options - mount a guest disk with mount options
mount-options <options> <device> <mountpoint>
This is the same as the "mount" command, but it allows you to set the
mount options as for the mount(8) *-o* flag.
><fs> mount-options loop /LiveOS/squashfs.img /isolinux
libguestfs: error: do_mount_vfs: /LiveOS/squashfs.img: expecting a device name
The following cset should fix this:
libguestfs-1.0.54-2.fc11 has been submitted as an update for Fedora 11.
libguestfs-1.0.55-1.fc11 has been submitted as an update for Fedora 11.
libguestfs-1.0.58-2.fc11 has been submitted as an update for Fedora 11.
libguestfs-1.0.54-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
libguestfs-1.0.58-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
Long fixed upstream.