in reply to Help with mount!

You may be interested in Expect. It's a tool to interact with a program on a TTY based what you expect to be output and what you want to provide as input.

Replies are listed 'Best First'.
Re^2: Help with mount!
by zeca011 (Initiate) on Mar 16, 2009 at 14:27 UTC

    Thanks to mr_mischief. Expect (in fact Expect::Simple) really did the trick!

    Thank you all for the other tips.

    Zeca