[Top][All Lists]

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

Scripting parted

From: VomLehn, David
Subject: Scripting parted
Date: Mon, 8 Jan 2007 17:04:42 -0800

I have a question that doesn't appear to be addressed in the documentation. I can use:

parted /dev/hda mklabel yes msdos

and successfully create a new partition table. I want to script things, however, and if I use the -s option, i.e.

parted -s /dev/hda mklabel yes msdos

it fails and prints a backtrace. Is this a bug or the way parted is expected to work?

David VomLehn, Staff O/S Software Engineer
Scientific Atlanta, A Cisco Company
10590 N. Tantau Avenue, Cupertino, CA 95014
voice: 408-777-5052 fax: 408-777-0176

      - - - - - Appended by Scientific Atlanta, a Cisco company - - - - -         
This e-mail and any attachments may contain information which is confidential,
proprietary, privileged or otherwise protected by law. The information is solely
intended for the named addressee (or a person responsible for delivering it to
the addressee). If you are not the intended recipient of this message, you are
not authorized to read, print, retain, copy or disseminate this message or any
part of it. If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.
reply via email to

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