Date: Thu, 24 Jun 1999 12:22:42 +0100 (BST) From: Sebastien Maraux <smaraux@cpc.westminster.ac.uk> To: hackers@FreeBSD.ORG Subject: sysinstall hacking - urgent Message-ID: <Pine.BSF.4.10.9906241210020.32232-100000@seth.cpc.wmin.ac.uk>
index | next in thread | raw e-mail
I currently use sysinstall with the install.cfg configuration file for an
automatic installation.
I need to make sysinstall formating only a small FreeBSD partition of the
disk and not the whole disk, or the free space.
I already have a function that give me the size of the partition that I
need to format.
I would just like to choose the offset and the size for create_chunk().
The file that interest me is disks.c, in /usr/src/release/sysinstall, at
the end, there is the all and free options...
I would like to create another option, added to "all" and "free",
says "custom" where I could specify the offset and the size.
The problem is that I can't do this by taking some parts of "free" option
code, because it doesn't seem to work ("unable to find X slice" or
something like that, "X" is set in create_chunk.c, see later)
Can anybody give me the structure of a whole disk accorded to sysinstall?
with chunk structures, ...
Or if someone know how to implement this, I would be glad to heard about
it...
(I think that I could take the code of "free" option a little bit
modified)
Others useful files are /usr/src/lib/libdisk/ create_chunk.c and chunk.c
Thanks!
Sebastien MARAUX
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9906241210020.32232-100000>
