Patrick J. LoPresti wrote:
Ah, this we can already do.
Open install.pl and find the ask_fdisk_cmds() subroutine. Copy it to Z:\site\config.pl and rename it as "my_ask_fdisk_cmds()" or whatever. Edit that copy to do whatever you want.
Flesh out Z:\site\config.pl like this:
sub my_ask_fdisk_cmds () { ... your modified code ... }
$u->{'_meta'}->{'fdisk_cmds'} = \&my_ask_fdisk_cmds;
1;
That "1;" at the end is important.
That's it. This will use your version of my_ask_fdisk_cmds() instead of our version forever. Or at least until we break something.
It will even work with the Linux boot disk, because we have code to translate from fdisk commands to Parted commands...
- Pat
Andrew Clark <[EMAIL PROTECTED]> writes:
I also have one for the wish list. Every time that I upgrade install.pl I have to edit the disk partition section to make the selections fit in my environment. I change it to the following:
Whole disk C: - this is for older testing machines with a small hdd less then 18GB 8GB C: rest D: - older machines with larger then 18GB and less then 40 GB 12GB C: rest D: - most new machines
This is not hard to do but a must. It would be nice if install.pl were to look to an external file that had these values in it. This also may make it easier for people who know even less perl then I do.
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info