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 :|