Re: sfdisk [was: Simple Partition]
rob21@linuxfreemail.com writes:
> I am not a coder, but was looking at sfdisk to create 128 MB swap
> and the rest for root partition.
>
> sfdisk -uM /dev/hda <<EOF
> ,128,S
> ,
> EOF
>
> It could be wrong, there is not much info in man page.
> I guess a "Here Doc" cannot be coded.
> Any ideas.
We drive fdisk this way too sometimes, e.g., in boot-floppies/*.sh
scripts of various flavors.
--
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>
Reply to: