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 majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message