Hi, If I've a disk I want to partition automatically, I've been using something like:
sfdisk -uM << EOF ,2048,S ,,L EOF Which works fine. However if the drive was used for something else and has partitions n such already on it then the script doesn't work properly. So I was using dd if=/dev/zero of=$DEVICE count=1024 to mash anything that was there before. This works too, however if I'm running a HostRAID card it breaks the RAID mirror! I was wondering if there's a more eloquent way of using the whole disk regardless of what used to be on it without manual intervention? cheers Matthew -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
