[Libguestfs] [PATCH v3] Allow 9p filesystems to be listed and mounted (RHBZ#714981).

Daniel P. Berrange berrange at redhat.com
Wed Jun 22 16:21:15 UTC 2011


On Wed, Jun 22, 2011 at 03:33:18PM +0100, Richard W.M. Jones wrote:
> On Wed, Jun 22, 2011 at 03:04:02PM +0100, Daniel P. Berrange wrote:
> > Is it possible to make 'options' the 3rd parameter, and optional,
> > so you don't need todo
> > 
> >    ><fs> mount-9p "" org.kernel.other /tmp/
> > 
> > Which is the common case.
> 
> It certainly is.  Try the attached (first patch is identical to the
> earlier version).
> 
> The syntax in guestfish is now:
> 
>   mount-9p org.kernel.other /tmp
> 
> or:
> 
>   mount-9p org.kernel.other /tmp options:ro
> 
> or you can quote the optional arg, but note that quotes have to go
> around the whole string, eg:
> 
>   mount-9p org.kernel.other /tmp "options:ro"

ACK, this works well for me now.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the Libguestfs mailing list