[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16633: Automate parted command
From: |
Phillip Susi |
Subject: |
bug#16633: Automate parted command |
Date: |
Mon, 10 Feb 2014 16:42:13 -0500 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2/3/2014 3:35 AM, Sagar Shedge wrote:
> Respected Sir/Mam,
>
> I want to make paritition creation using automate script. This
> script should avoid interaction and respond all question for parted
> command. Previous there will be msdos type partition table.
>
> My command are as follows :- 1. parted /dev/sdb mklabel gpt 2.
> parted /dev/sdb mkpart logical 7168s 5638312959s 3. parted /dev/sda
> name 1 TEMP-1
Use -s and put the commands on the command line instead of trying to
feed them to stdin. Also there is no such thing as a logical
partition with gpt.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJS+Ue0AAoJEI5FoCIzSKrww1IIAIKyZFUGhvd1nSY4DzTFyUOF
mLiMq8ikQiqt0KUIYBabqHXqf+dHCcIiPfTHonbRjbGp+zFATj15RXBO3cTnBPhc
iUR6TXRcNvmHvarfJY7ceMf0nX2DwDkRD9NmHd85wkrFpEO58AKEgMeslfM0Q6yc
YolyXOCpX7eDvwwKh46/wfyI+FHp0mxRjPlWK584OWAsdCBo7NJ2Wn28i1MJsHlH
yxasf8l00sVQ5H0FJTRNcmAcUuf2GeN4jQNgoBw0C4mDqBd6MTy+2O1zPiBp/392
lErCrTj0eGGqUiNLR3OkY5qhPf9LjSxZzS/1/FBf3DBtFHUOMn+rTzDyP4BtUQ8=
=SWv5
-----END PGP SIGNATURE-----