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

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

CVSweb <webmaster@jp.NetBSD.org>