KB1LQC
July 22nd, 2008, 07:48 AM
I cannot figure out the command (shell script) for parted to automatically allocate the largest amount of space available on a drive. I currently have
parted /dev/${i} --script mkpart primary 0 -1
but its giving me an error.
I used to have
parted /dev/${i} --script mkpart primary 0 -0
Which actually worked for some reason, the largest partition was made but it outputs an error message so I want to fix that. Any suggestions?
parted /dev/${i} --script mkpart primary 0 -1
but its giving me an error.
I used to have
parted /dev/${i} --script mkpart primary 0 -0
Which actually worked for some reason, the largest partition was made but it outputs an error message so I want to fix that. Any suggestions?