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

1.5       jonathan    1: Things we should try and do before 1.3 release....
                      2:
                      3:        -- Add wrapper to install() and upgrade().
                      4:           On abort, unmount any filesystems mounted by sysinst.
                      5:
                      6:        -- check for overlapping to-be-newfs'ed partitions before newfsing.
                      7:           jump back to disklabel edit if any overlaps found.
                      8:           needs to  skip getrawpartition() (and  c on i386).
                      9:
1.7     ! simonb     10:        -- Allow ^L to redraw the screen to get rid of error messages.
        !            11:
        !            12:        -- Also on error messages, do something to allow the user to
        !            13:           see any errors from anything run by run_prog().  Ideas are:
        !            14:
        !            15:                if (run_prog("foo") != 0)
        !            16:                        sleep(5);
        !            17:
        !            18:           or:
        !            19:
        !            20:                endwin();
        !            21:                run_prog("foo");
        !            22:                printf("press return to continue");
        !            23:                getchar();
        !            24:                initscr();
        !            25:
        !            26:           or (modification of above):
        !            27:
        !            28:                endwin();
        !            29:                if (run_prog("foo") != 0) {
        !            30:                        printf("press return to continue");
        !            31:                        getchar();
        !            32:                }
        !            33:                initscr();
        !            34:
        !            35:           or:
        !            36:
        !            37:                Manually fork and exec everything, dup2 fd's 1 and 2
        !            38:                onto sockets in the child, and paginate the output in
        !            39:                your curses app :-)
        !            40:
        !            41:           Ideas from maximum entropy.
        !            42:
        !            43:         -- From "local" distribution set choice, have a separate
        !            44:            option for an already mounted filesystem (or a new option
        !            45:            all together?). "browse" for a local directory to get the
        !            46:            distribution set from.  Maybe just allowing the user to shell
        !            47:            out and look around is good enough (this needs more thought).
        !            48:
        !            49:         -- Trap SIGINT and restore tty setting on exit.
        !            50:
1.5       jonathan   51:        -- check for already-mouned fileystems before install newfs.
                     52:           Abort with message.
                     53:
                     54:        -- check for already-moutend fileystems  before upgrade fsck.
                     55:           (ignore?)
                     56:
                     57:        -- check for already-mounted filesystems before upgrade mount.
                     58:           Continue, if device mount is where we wanted it?
                     59:
                     60:            (Jonathan ran into the above 3 by upgrading from a live
                     61:            system to a scratch disk.  sysinst copied the live /etc/fstab
                     62:            to the target. The upgrade failed because sysinst wanted
                     63:            to mount the active system's /usr. Could happen when a
                     64:            real upgrade aborts, even running from ramdisk root.)
                     65:
1.1       phil       66: Things to do ....
                     67:
1.5       jonathan   68:        --  Things like having config_network()
1.1       phil       69:            possibly use the information on the fixed disk instead of having
                     70:            to ask everything.
                     71:
                     72:         -- Build the disktab as a profile, not a true /etc/disktab so it
                     73:            doesn't overwrite the real disktab.
                     74:
                     75:         -- Have both ftp and floppy gets get the file, extract the file,
                     76:            and then remove the file before going on to the next set to
                     77:            save disk space.
                     78:
                     79:         -- Add setting timezone
                     80:
1.5       jonathan   81:         -- Set current time and date.
                     82:
                     83:        -- Configure NTP servers, set NTP in rc.conf
                     84:
1.1       phil       85:         -- A little more clean-up of the run_prog suite so things worke
                     86:            nicely for all ports.
                     87:
                     88:         -- Check-in of files for amiga and other ports that will use
                     89:            sysinst for 1.3.
                     90:
1.5       jonathan   91:        -- fix "disklabel -r -w" vs. "disklabel -w": I still don't grok why
                     92:            the  -r, and the manpage says it will lose totally on sparcs.
                     93:            Phil, was there some reason to bypass the incore label on i386?
                     94:            Can we jst do "disklabel -w" everywhere?
                     95:
                     96:        -- Michael bumped the in-memory disklabel struct up to 16 entries.
                     97:           Also add  a runtime check in case that grows in future
                     98:           (e.g., slices).  Maybe bump to 32 entries just in case.
                     99:
                    100:        -- Fix sanity-check message code. It currently gets over-written
                    101:           immediately by the following message.
                    102:
                    103:        -- check for disklabel edits changing active root partition.
                    104:           reject.
                    105:
                    106:
                    107:        -- remove any possibly-stale ld.so.cache files from the target
                    108:            /etc after unpacking sets. Maybe just don't copy ld.so.cache
                    109:            from /etc.old?
                    110:
                    111:        -- Set rc.configured.
                    112:           Or at least remind users to edit rc.conf?
                    113:
                    114:        -- If we're doing a fresh install and there's already a label
                    115:           on the disk, maybe use that intsead  of the compiled-in default
                    116:           label?
                    117:
1.1       phil      118:
1.5       jonathan  119:        -- symlinks for /tmp (/tmp -> /var/tmp or some such)
                    120:           Or configure tmp on   mfs.
1.6       phil      121:
                    122:        -- Add support for SLIP (for pc532) and/or PPP.

CVSweb <webmaster@jp.NetBSD.org>