Andrew McGill wrote: > On Wednesday 25 March 2009 11:28:51 Pádraig Brady wrote: >> I've used fdisk in scripts like: >> >> echo "\ >> d 2 >> c p 3 '' +1G" | >> fdisk >> >> Does that not suffice? > It doesn't work. Ah, the echo works but the "d 2" etc. doesn't. So when above when you said you have to talk interactively to fdisk, you meant 1 command at a time. If it's backwards compatible then it seems like an improvement. cheers, Pádraig. -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html