Am 10/21/2009 03:43 PM, schrieb Alexander Hall:
elias r. wrote:hum, nobody's got an answer?is there maybe a way via the shell pipelining to read the passphrase from a file and write it to stdin? should this work?: bioctl -c C -l /dev/wd0a softraid0< pass.keyfileIf will by default try to read it from /dev/tty, so you need to trick it not to. man readpassphrase
ah, on thing i can think of is chmod'ing /dev/tty -r before and +r after the bioctl command, but this seems really dirty to me?