Richard W.M. Jones
8c9a4bc84f
common/options: Change drv struct to store drive index instead of device name.
...
The device name is only used by guestfish (when using the -N option to
prepare drives). We constructed the device name very naively,
basically ‘sprintf ("/dev/sd%c", next_drive)’.
This stores the device index instead, and only constructs the device
name in guestfish. Also the device name is constructed properly using
guestfs_int_drive_name so it can cope with #drives > 26.
As a side effect of this change we can remove the extra parameter of
the add_drives macro.
Thanks: Pino Toscano
2017-05-03 19:32:37 +01:00
..
2017-01-03 16:48:21 +01:00
2017-01-28 13:23:40 +00:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-04-04 18:47:37 +01:00
2017-05-03 19:32:37 +01:00
2013-04-02 12:38:50 +01:00
2017-01-03 16:48:21 +01:00
2017-04-04 18:47:37 +01:00
2017-04-04 18:47:37 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2013-10-17 15:23:40 +01:00
2017-01-03 16:48:21 +01:00
2017-03-07 12:54:17 +00:00
2017-04-04 18:47:37 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-04-04 18:47:37 +01:00
2017-04-04 18:47:37 +01:00
2017-04-04 18:47:37 +01:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-01-03 16:48:21 +01:00
2017-01-03 16:48:21 +01:00
2016-02-26 10:45:21 +00:00
2016-11-24 09:53:10 +00:00
2016-02-26 10:45:21 +00:00
2016-11-24 09:53:10 +00:00
2016-02-26 10:45:21 +00:00
2016-01-11 13:42:49 +00:00
2016-02-26 10:45:21 +00:00
2014-03-20 13:47:19 +00:00