[Libguestfs] [PATCH 08/10] rescue: Note that we're not using add-drive-scratch here, and maybe we should be.

Richard W.M. Jones rjones at redhat.com
Tue Jan 28 16:24:55 UTC 2014


---
 rescue/rescue.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rescue/rescue.c b/rescue/rescue.c
index 0442711..b46dad6 100644
--- a/rescue/rescue.c
+++ b/rescue/rescue.c
@@ -533,6 +533,8 @@ add_scratch_disk (struct drv **drvs)
   struct scratch_disk *sd;
   struct drv *drv;
 
+  /* XXX Is there a reason we're not using guestfs_add_drive_scratch here? */
+
   /* Create a temporary file, raw sparse format. */
   fd = mkstemp (filename_s);
   if (fd == -1) {
-- 
1.8.4.2




More information about the Libguestfs mailing list