Re: [Debian]: auto fdisk
matuszak@orthogon.de (Sven Matuszak) writes:
> kennt jemand eine Moeglichkeit fdisk automatisiert zu benutzen?
> Ich moechte eine Partition automatisch veraendern, zum Beispiel
> von ID 6 DOS auf 83 Linux Native oder das Bootflag versetzen.
>
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 ---------------------------
------------------------------------------------
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: 751
Reply to: