search for: this_udi

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

Did you mean: this_id
2009 Jul 10
0
[PATCH node] This is a follow-on patch for bz#507455.
...e ($size MB)" + eval $space_var=$size + + debug "::size=$size" + + debug "get_drive_size: exit" +} + +print_drive_size () +{ + debug "print_drive_size: start" + local drive=$1 + local udi=${2-} + + if [ -z "$udi" ]; then + for this_udi in $(hal-find-by-capability --capability storage); do + if [[ "$(hal-get-property --udi $this_udi --key block.device)" = "$drive" ]]; then + udi=$this_udi + fi + done + fi + get_drive_size $drive SIZE + debug "::drive=$dr...
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.