search for: set_initiator

Displaying 3 results from an estimated 3 matches for "set_initiator".

2009 Oct 23
1
[PATCH node] Add iSCSI initiator setup option
...;Enter iSCSI Initiator Name (If blank one will be automatically generated)\n" + printf "Enter Q to quit\n" + read REPLY + if [[ $REPLY == "q" || $REPLY == "Q" ]]; then + printf "Aborting due to user request" + return + fi + + set_initiator $REPLY +} + +function set_initiator { + if [ -z "$1" ]; then + INITIATOR_NAME=$(iscsi-iname) + else + INITIATOR_NAME=$1 + fi + + echo "InitiatorName=$INITIATOR_NAME" > $INITIATOR_FILE + ovirt_store_config $INITIATOR_FILE + rc=$? + if [ $rc =...
2008 Mar 15
0
[LLVMdev] improving the ocaml binding's type safety
Hi Erick, On 2008-03-15, at 04:03, Erick Tryzelaar wrote: > I was talking to Gordon on #llvm earlier, and he challenged me with > coming up with a way to improve the ocaml binding's type safety. I > think I got an easy solution with phantom types. This could be a good step. I'm not sure I can predict all of the implications; I'd suggest you work up a proof of concept.
2008 Mar 15
4
[LLVMdev] improving the ocaml binding's type safety
I was talking to Gordon on #llvm earlier, and he challenged me with coming up with a way to improve the ocaml binding's type safety. We can't go letting haskell beat us now, can we? I think I got an easy solution with phantom types. For those who don't know what the problem is, the ocaml bindings share one type between whole class branches (like values). This means we need to downcast