Matthew Booth
2011-Nov-21 13:51 UTC
[Libguestfs] [PATCH] Add MD devices to guestfish device autocompletion
--- fish/destpaths.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Add-MD-devices-to-guestfish-device-autocompletion.patch Type: text/x-patch Size: 400 bytes Desc: not available URL: <http://listman.redhat.com/archives/libguestfs/attachments/20111121/b667596b/attachment.bin>
Richard W.M. Jones
2011-Nov-21 15:22 UTC
[Libguestfs] [PATCH] Add MD devices to guestfish device autocompletion
On Mon, Nov 21, 2011 at 01:51:47PM +0000, Matthew Booth wrote:> --- > fish/destpaths.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) >> diff --git a/fish/destpaths.c b/fish/destpaths.c > index c7b9dc5..f3cf0f2 100644 > --- a/fish/destpaths.c > +++ b/fish/destpaths.c > @@ -158,6 +158,9 @@ complete_dest_paths_generator (const char *text, int state) > > strs = guestfs_list_dm_devices (g); > APPEND_STRS_AND_FREE; > + > + strs = guestfs_list_md_devices (g); > + APPEND_STRS_AND_FREE; > } > > if (len < 1 || text[0] == '/') {ACK. I'll push it later today. Thanks, Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Seemingly Similar Threads
- [PATCH] fish: fix dir completion on filesystems w/o dirent.d_type (RHBZ#1153844).
- [PATCH 0/6] Update the way that API versions are generated for the man page.
- [0/5] guestfish: detect stdout-write failure
- enable -Werror and all of gcc's warning options
- Re: [RFC PATCH v1 1/3] tests: md: Test guestfish list-filesystems command skipps partitioned md devices