Torsdag 06 desember 2007 08:49, skrev Steffen Kaiser: > On Wed, 5 Dec 2007, Nils Olav Fossum wrote: > > Just a puzzled question: why are you using a shell script rather than > perl? You had to rewrite e.g. the INI-parsing and -writing. >
Mario Gzuk is the orginal author of that file and the ini parsing funcs. The code was already written, debugged, tested and open source. So I used it :-) Im do not have any perl skills to talk about, :-) I learn as I go.. but, I have a bit more walking to do before I can put perl on my CV If I was about to write unattended from scratch I probably would have used python, but thats entirely another matther .. :-) So, while we speaking about perl and to get back on topic: The user should decide what to do about disk geometry, and this is done from install.pl. (I tend to think of install.pl as our user interface) What I need to complete this is some hints, preferably in unattend.txt, on what to do with disk geometry. And after some more thinking, maybe something like these parameters should do it: fix_disk_geo_heads fix_disk_geo_sectors install.pl should set these to the numbers to write into the partition. install.pl could just copy the LEGACY_BIOS_HEAD and LEGACY_BIOS_SECT, or ask the user to manually enter numbers.. ..or something else. The goal is to futureproof this as much as possible, you never know if a machine hits the market with complete insane LEGACY_BIOS_* values, or if the EDD module disappears from the kernel.. In any case we (I hope) just have to adjust install.pl, or site/config.pl if the user see the need for customizing. Am I on the right track now ? ;-) ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel