From owner-freebsd-hackers Thu Jun 24 4:24:16 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from puma.wmin.ac.uk (puma.wmin.ac.uk [161.74.92.94]) by hub.freebsd.org (Postfix) with SMTP id 7468B151DF for ; Thu, 24 Jun 1999 04:23:55 -0700 (PDT) (envelope-from smaraux@seth.cpc.wmin.ac.uk) Received: from seth.cpc.wmin.ac.uk by puma.wmin.ac.uk with INTERNAL-SMTP (MMTA) with ESMTP; Thu, 24 Jun 1999 12:22:31 +0100 Received: from localhost (smaraux@localhost) by seth.cpc.wmin.ac.uk (8.9.3/8.9.3) with ESMTP id MAA32265 for ; Thu, 24 Jun 1999 12:22:42 +0100 (BST) (envelope-from smaraux@seth.cpc.wmin.ac.uk) Date: Thu, 24 Jun 1999 12:22:42 +0100 (BST) From: Sebastien Maraux To: hackers@FreeBSD.ORG Subject: sysinstall hacking - urgent Message-ID: MIME-Version: 1.0 Content-Type: text/PLAIN; charset="US-ASCII" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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