search for: select_a_dr

Displaying 2 results from an estimated 2 matches for "select_a_dr".

2009 Jul 10
0
[PATCH node] This is a follow-on patch for bz#507455.
...ot;ERROR: found no usable block device"; return 1;; - 1) echo "$devices"; return 0;; - *) ;; # found more than one + if [ -n "$devices" ]; then + eval $list_var='"$devices"' + fi + + debug "get_drive_list: end" +} + +select_a_drive () +{ + local DRIVE_VAR=$1 + local choices + + get_drive_list choices + case $(echo "$choices" | wc -w) in + 0) die "ERROR: there are no usable block devices" ;; + 1) echo "$choices"; return 0;; + *) ;; # continue to selection e...
2009 Jul 01
1
Replacement patch for bz#507455
This patch includes a fix to no longer list devices with 0 bytes of storage, such as removeable media devices with no media present.