[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH] Add MD devices to guestfish device autocompletion



---
 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] == '/') {

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]