[BACK]Return to TODO CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / distrib / utils / sysinst

Annotation of src/distrib/utils/sysinst/TODO, Revision 1.16

1.16    ! he          1: #      $NetBSD: TODO,v 1.15 1999/03/17 12:42:42 simonb Exp $
1.11      perry       2:
1.12      phil        3: Things to do ....  in no specific order.
1.16    ! he          4:
        !             5:        -  On upgrade, remove /usr/include/machine and the machine-
        !             6:           dependent name e.g. /usr/include/i386.  On 1.3, machine
        !             7:           is a directory and e.g. i386 is a symlink, whereas in 1.4
        !             8:           the reverse is true.  Without this fix, extraction of base
        !             9:           and comp will fail.
1.5       jonathan   10:
1.12      phil       11:        -  rework the fdisk/MBR code to be able to get the correct
                     12:           MBR geometry with much better probability.
1.5       jonathan   13:
1.10      jonathan   14:        -- On error messages, do something to allow the user to
                     15:           see any errors from anything run by run_prog().
                     16:           Ideas suggested  maximum entropy <entropy@zippy.bernstein.com>.
                     17:           are:
1.7       simonb     18:
1.10      jonathan   19:           #1:
1.7       simonb     20:                if (run_prog("foo") != 0)
                     21:                        sleep(5);
                     22:
1.10      jonathan   23:           #2:
1.7       simonb     24:                endwin();
                     25:                run_prog("foo");
                     26:                printf("press return to continue");
                     27:                getchar();
                     28:                initscr();
                     29:
1.10      jonathan   30:           #3: (modification of #2):
1.7       simonb     31:
                     32:                endwin();
                     33:                if (run_prog("foo") != 0) {
                     34:                        printf("press return to continue");
                     35:                        getchar();
                     36:                }
                     37:                initscr();
                     38:
1.10      jonathan   39:           #4:
1.7       simonb     40:
                     41:                Manually fork and exec everything, dup2 fd's 1 and 2
                     42:                onto sockets in the child, and paginate the output in
                     43:                your curses app :-)
                     44:
1.10      jonathan   45:           We currently implement a special-case variant of #1 for untarring
                     46:           release sets, since the GNU tar in 1.3 fails to report many
                     47:           errors in its exit status.
1.7       simonb     48:
1.10      jonathan   49:         -- "browse" for a local directory to get the
1.7       simonb     50:            distribution set from.  Maybe just allowing the user to shell
                     51:            out and look around is good enough (this needs more thought).
                     52:
1.5       jonathan   53:        -- check for already-mouned fileystems before install newfs.
                     54:           Abort with message.
                     55:
                     56:        -- check for already-moutend fileystems  before upgrade fsck.
                     57:           (ignore?)
                     58:
                     59:        -- check for already-mounted filesystems before upgrade mount.
                     60:           Continue, if device mount is where we wanted it?
                     61:
                     62:            (Jonathan ran into the above 3 by upgrading from a live
                     63:            system to a scratch disk.  sysinst copied the live /etc/fstab
                     64:            to the target. The upgrade failed because sysinst wanted
                     65:            to mount the active system's /usr. Could happen when a
                     66:            real upgrade aborts, even running from ramdisk root.)
1.13      simonb     67:
1.14      simonb     68:        -- Handle ccd's and raid's during an upgrade.
1.5       jonathan   69:
1.8       simonb     70:         -- Use bootp or dhcp to get network info (hostname, domain name,
                     71:            name servers, ...)
                     72:
1.5       jonathan   73:        --  Things like having config_network()
1.1       phil       74:            possibly use the information on the fixed disk instead of having
                     75:            to ask everything.
                     76:
                     77:         -- Build the disktab as a profile, not a true /etc/disktab so it
                     78:            doesn't overwrite the real disktab.
                     79:
                     80:         -- Have both ftp and floppy gets get the file, extract the file,
                     81:            and then remove the file before going on to the next set to
                     82:            save disk space.
                     83:
                     84:         -- Add setting timezone
                     85:
1.5       jonathan   86:         -- Set current time and date.
                     87:
                     88:        -- Configure NTP servers, set NTP in rc.conf
                     89:
1.1       phil       90:         -- A little more clean-up of the run_prog suite so things worke
                     91:            nicely for all ports.
                     92:
                     93:         -- Check-in of files for amiga and other ports that will use
                     94:            sysinst for 1.3.
                     95:
1.5       jonathan   96:        -- fix "disklabel -r -w" vs. "disklabel -w": I still don't grok why
                     97:            the  -r, and the manpage says it will lose totally on sparcs.
                     98:            Phil, was there some reason to bypass the incore label on i386?
                     99:            Can we jst do "disklabel -w" everywhere?
                    100:
                    101:        -- Michael bumped the in-memory disklabel struct up to 16 entries.
                    102:           Also add  a runtime check in case that grows in future
                    103:           (e.g., slices).  Maybe bump to 32 entries just in case.
                    104:
                    105:        -- Fix sanity-check message code. It currently gets over-written
                    106:           immediately by the following message.
                    107:
                    108:        -- check for disklabel edits changing active root partition.
                    109:           reject.
                    110:
                    111:        -- remove any possibly-stale ld.so.cache files from the target
                    112:            /etc after unpacking sets. Maybe just don't copy ld.so.cache
                    113:            from /etc.old?
                    114:
1.12      phil      115:        -- Full configuration of rc.conf?
1.15      simonb    116:
                    117:        -- Set root's shell and password
1.5       jonathan  118:
                    119:        -- If we're doing a fresh install and there's already a label
                    120:           on the disk, maybe use that intsead  of the compiled-in default
                    121:           label?
1.1       phil      122:
1.5       jonathan  123:        -- symlinks for /tmp (/tmp -> /var/tmp or some such)
                    124:           Or configure tmp on   mfs.
1.6       phil      125:
                    126:        -- Add support for SLIP (for pc532) and/or PPP.
1.12      phil      127:
                    128:        -- Do non-standard installs from arbitrary tar files (?)
                    129:
                    130:        -- Install ports packages.  (possibly a second program
                    131:           run after installation.)
                    132:

CVSweb <webmaster@jp.NetBSD.org>