Re: [Debian]: auto fdisk
> Lies dir mal die Manual Page von "sfdisk" durch. Da steht u.a.:
>
> --------- snip ---------------------------
> The fourth type of invocation: sfdisk device will cause
> sfdisk to read the specification for the desired parti
> tioning of device from its standard input, and then to
> change the partition tables on that disk. Thus, it is pos
> sible to use sfdisk from a shell script. When sfdisk
> determines that its standard input is a terminal, it will
> be conversational; otherwise it will abort on any error.
> --------- snip ---------------------------
oder eine echo/fdisk kombination.
z.B.
(echo o
echo n
echo p
echo 1
echo
echo +20M
echo n
echo p
echo 2
echo
echo
echo t
echo 1
echo 82
echo w
echo q
echo p) |fdisk /dev/eda
auszug aus meinem ps2install script.
andreas
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder: 749
Reply to: