On Thu, Jun 21, 2007 at 01:51:40PM +0300, Yura Pakhuchiy wrote:
> On Thu, 21 Jun 2007 at 06:57 +0530, K T Ligesh wrote:
> > Is there someway I can run ntfsresize in a non-interactive manner? It
> > seems that ntfsresize always asks for user confirmation before finally
> > proceeding to the final step.
>
> You can write script that parses ntfsresize output and responds
> respectively. There several ntfsresize front-ends, you can look on some
> of them for example.
>
Yes. I am using 'expect'. But it is very fragile, and it will depend on the output that ntfsresize prints, and any change means that it will not work. Genarally it becomes a bit more complex for debugging, and more chances of error, but yes, it can be done.
Thanks for the response.
|