> We try to do not change ntfsresize output without REALLY good reason.
> BTW, ntfsresize source have following warning in the begging:
>
> * WARNING FOR DEVELOPERS!!! Several external tools grep for text messages
> * to control execution thus if you would like to change any message
> * then PLEASE think twice before doing so then don't modify it. Thanks!
>
I think you should have an option like "--i-know-what-the-heck-i-am-doing", which will not ask for confirmation. My attempts to use expect has been futile. Can you tell me the app that uses ntfsresize in the non-interactive fashion?
My expect script was:
---------------
spawn ntfsresize -f /dev/loop0
expect -re ".*Are you sure you want to proceed ........ "
send "y\r"
--------------
I used '.' instead of the actual letters, since the last few chars were all meta-characters for reguilar expressions. Searching google for "ntfsresize expect script", naturally gives me pages where 'expect' is used as a regular english word, and not the program.
Thanks.
|