Subject: non-interactive use of fdisk
To: None <tech-install@netbsd.org>
From: pehem <pehem@goupilfr.org>
List: tech-install
Date: 10/25/2001 19:15:26
Hello,

I want to use fdisk from within a shell script, (it's one step
of my automated installation process), but the command i use
doesn't affect the partitions table. For example, after using
the command :
    # fdisk -0 -s 169/63/12672327 /dev/rwd0
i still have no partition on my hard disk :
    Partition table:
    0: <UNUSED>
    1: <UNUSED>
    2: <UNUSED>
    3: <UNUSED>

(I also tried with option -f)

The manpage helped me a lot, but now, i've got this problem.
Does anybody knows how to do that ?

Thanks in advance,

Patrick.