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

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:        -- Also on error messages, do something to allow the user to
                     11:           see any errors from anything run by run_prog().  Ideas are:
                     12:
                     13:                if (run_prog("foo") != 0)
                     14:                        sleep(5);
                     15:
                     16:           or:
                     17:
                     18:                endwin();
                     19:                run_prog("foo");
                     20:                printf("press return to continue");
                     21:                getchar();
                     22:                initscr();
                     23:
                     24:           or (modification of above):
                     25:
                     26:                endwin();
                     27:                if (run_prog("foo") != 0) {
                     28:                        printf("press return to continue");
                     29:                        getchar();
                     30:                }
                     31:                initscr();
                     32:
                     33:           or:
                     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:
                     39:           Ideas from maximum entropy.
                     40:
                     41:         -- From "local" distribution set choice, have a separate
                     42:            option for an already mounted filesystem (or a new option
                     43:            all together?). "browse" for a local directory to get the
                     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.)
                     61:
1.8       simonb     62:         -- Use bootp or dhcp to get network info (hostname, domain name,
                     63:            name servers, ...)
                     64:
1.1       phil       65: Things to do ....
                     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:
                    109:        -- Set rc.configured.
                    110:           Or at least remind users to edit rc.conf?
                    111:
                    112:        -- If we're doing a fresh install and there's already a label
                    113:           on the disk, maybe use that intsead  of the compiled-in default
                    114:           label?
1.1       phil      115:
1.5       jonathan  116:        -- symlinks for /tmp (/tmp -> /var/tmp or some such)
                    117:           Or configure tmp on   mfs.
1.6       phil      118:
                    119:        -- Add support for SLIP (for pc532) and/or PPP.

CVSweb <webmaster@jp.NetBSD.org>