Alan Barrett <a...@cequrux.com> wrote: |On Thu, 21 Aug 2014, Thomas Klausner wrote: |>I have scripts that mount images via vnd + cgd. So far I have been |>using fixed numbers for the vnd and cgd devices I use, making sure I |>don't use them for other purposes. |> |>Now this doesn't work any longer, because as soon as vnd is created, a
|>What do you propose how to do this from a script after wedges are |>default? |I wrote this shell function, and use things like "$(fixpart wd0a)" |or "/dev/r$(fixpart wd0a)" instead of just "wd0a" or "/dev/rwd0a". | esac | | wedgelist="$(dkctl "$disk" listwedges)" | if [ $? = 0 ]; then You mean -eq here i presume. --steffen