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

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

CVSweb <webmaster@jp.NetBSD.org>