1 # $NetBSD: TODO,v 1.23 2005/10/05 16:44:39 rpaulo Exp $
3 Things to do .... in no specific order.
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>.
11 if (run_prog("foo") != 0)
17 printf("press return to continue");
21 #3: (modification of #2):
24 if (run_prog("foo") != 0) {
25 printf("press return to continue");
32 Manually fork and exec everything, dup2 fd's 1 and 2
33 onto sockets in the child, and paginate the output in
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.
40 -- "browse" for a local directory to get the
41 distribution set from. Maybe just allowing the user to shell
42 out and look around is good enough (this needs more thought).
44 -- check for already-mounted filesystems before install newfs.
47 -- check for already-mounted filesystems before upgrade fsck.
50 -- check for already-mounted filesystems before upgrade mount.
51 Continue, if device mount is where we wanted it?
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.)
59 -- Handle ccd's and raid's during an upgrade.
61 -- Use bootp or dhcp to get network info (hostname, domain name,
64 -- Things like having config_network()
65 possibly use the information on the fixed disk instead of having
68 -- Build the disktab as a profile, not a true /etc/disktab so it
69 doesn't overwrite the real disktab.
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
75 -- Set current time and date.
77 -- Configure NTP servers, set NTP in rc.conf
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???
83 -- A little more clean-up of the run_prog suite so things work
86 -- fix "disklabel -r -w" vs. "disklabel -w": I still don't grok why
87 the -r, and the manpage says it will lose totally on sparcs.
88 Phil, was there some reason to bypass the incore label on i386?
89 Can we just do "disklabel -w" everywhere?
91 -- Michael bumped the in-memory disklabel struct up to 16 entries.
92 Also add a runtime check in case that grows in future
93 (e.g., slices). Maybe bump to 32 entries just in case.
95 -- Fix sanity-check message code. It currently gets over-written
96 immediately by the following message.
98 -- check for disklabel edits changing active root partition.
101 -- remove any possibly-stale ld.so.cache files from the target
102 /etc after unpacking sets. Maybe just don't copy ld.so.cache
105 -- Full configuration of rc.conf?
107 -- If we're doing a fresh install and there's already a label
108 on the disk, maybe use that instead of the compiled-in default
111 -- symlinks for /tmp (/tmp -> /var/tmp or some such)
113 -- Do non-standard installs from arbitrary tar files (?)
115 -- Install binary packages. (possibly a second program
116 run after installation.)
118 -- Provide the user a menu to select each installation step on
119 its own. Currently there's no way to repeat steps or leave
120 them out. (See the Debian installer for a good example.)
122 -- Allow the user to install binary snapshots available from releng.
123 This could be done in the following way:
124 * list the available snapshots in ftp.NetBSD.org
125 (eg.: ls /pub/NetBSD-daily/*/*/${ARCH} using ftp(1)).
126 * present the user with the possible selections (handle the
127 case of zero options).
128 * set the variables and install via FTP showing first the
129 FTP installation screen.