[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parted controlled by script

From: Andrew Clausen
Subject: Re: parted controlled by script
Date: Sat, 5 Jul 2003 10:13:20 +1000
User-agent: Mutt/1.5.4i

On Wed, Jul 02, 2003 at 04:53:39PM +0200, bem wrote:
> But if I do like this parted seems not to
> accept the command and nothing happens.

Can you cut&paste output?

> If I try to redirect  the output to a file:
> parted /dev/hdc < input_parted > output_parted
> this output_parted file remains empty.

Interesting.  It probably rejected a command, and then aborted.
(It's unwise to continue if a command fails).  But, if it rejects
a command, it should say so.

> Is it possible at all to contoll parted by a input
> file or not? Do I do something wrong?

It is possible.

> I tryed this:
> parted --s /dev/hdc < input_parted

You want -s, not --s.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]