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

[ale] re: running fdisk automatically



Just put together a list of commands and use it as standard input.
echo p^Mq^M |fdisk
will work to print a partition table and quit. 

You just have to know exactly what commands need to be entered when.

--
Dan Newcombe                                      newcombe at mordor.clayton.edu
"The fool who escaped from paradise will look over his shoulders and cry...So
I'll hold my peace forever when you wear your bridal gown."   -Marillion