[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.19

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

CVSweb <webmaster@jp.NetBSD.org>