Commit Graph

1843 Commits

Author SHA1 Message Date
minoura 4b6070dc9f swapon only if physmem <= 4MB.
swapon before fsck.  This is needed if the connected disk is large.
Other message cosmetics.
1999-04-15 15:21:41 +00:00
minoura cb06a1c589 swapon only if physmem <= 4MB.
Other message cosmetics.
1999-04-15 15:20:21 +00:00
minoura 011b07d1a9 Now that the md driver forcely turn on RB_SINGLE, no warning is
presented at boot time.
Also note for /start script.
1999-04-15 15:18:21 +00:00
is 14ee1bfb19 Mention a couple of port-specific new features. 1999-04-15 14:49:11 +00:00
bouyer 88c3275af3 Add wclear()/wupdate() before MSG_makedev, bits of the previous screen
were left.
1999-04-15 12:25:54 +00:00
msaitoh 36013c11f2 Add entries for pool_*.0 1999-04-15 12:25:37 +00:00
tsubai 5a42169d65 Update to reflect current status. 1999-04-15 11:45:57 +00:00
nathanw d69ac94192 Make this compile again (a return -> return foo was missed when
md_copy_filesystem was made to return an int in 1.10).
1999-04-15 05:01:04 +00:00
bouyer de3024ade3 Correct some bugs in mbr handling, which could lead to invalid partition
tables being written on disk:
- when counting non-BSD partitions, use part[i], not part[0]
- when using full disk for NetBSD, initialise all the fileds of the
  mbr entries (especially flags)
- When converting to on-disk format, if start and size = 0, initialise
  c/h/s to 0 for both start and end. convert_mbr_chs() would make an entry
  0/0/0, 0/0/1 which is not bogus, but not what we really want either.
1999-04-14 16:00:42 +00:00
minoura 2feaabda38 Run /start in the same shell.
Reduce memory use.
1999-04-14 14:18:44 +00:00
minoura 8d05bb55f9 G/c of the deleted programs. 1999-04-14 14:12:30 +00:00
minoura 50224771ef Descend to the utils dir for targets clean and depend. 1999-04-14 14:11:56 +00:00
bouyer 0e3751fa5f If there is no files to delete, return 1 (success), not 0. 1999-04-14 12:47:27 +00:00
bouyer 7861ee80e8 List of obsoletes files for each sets, split in mi/md parts.
These lists have been build concatenating distrib/sets/lists/ files for each
NetBSD releases since 1.0, and diffing this with the corresponding 1.4
file.
These files are used to build the /dist/xxx_obsolete files used by sysinst.
1999-04-13 20:30:00 +00:00
bouyer 8d7cb08335 Main change: add a cleanup_dist() function in util.c which will do the needed
cleanups before extracting a set. Should'nt do anything for an install,
as the filesystem shouldn't contain files that need to be removed.
cleanup_dist() is called before extract_file() for each set (the set name
is passed as parameter). It will open a file /dist/<set name>_obsolete
if it exists. This file should contain a list of files (absolutes
pathnames) that needs to be removed. cleanup_dist() will lstat() each file
to determine if it's there and if it's a directory or not.
It will then unlink() entries that are not directories and then rmdir()
directories. If a directory is not empty (it should now if the list of files
is correct) it will be renamed to <directory.old> and the user will be warned.

Other changes:
- move prototype of target_prefix() in defs.h, don't maintain a copy
  of it in each file.
- in install.c, after MSG_disksetupdone, do a wclear(stdscr) (display was
  clobbered after it).
- kill MSG_openmsgbuf, it's not used anywhere
- after MSG_disksetupdone in upgrade, don't call MENU_ok, do it the
  same way as in install.
- add wclear(stdscr);/wrefresh(stdscr); before calling MENU_distset (another
  display problem ...)
- While I'm there, move ask_verbose_dist() before MENU_distmedium. This way,
  if all go well the user can go away one ftp starts and come back once
  sets are extracted.
1999-04-13 20:17:47 +00:00
pk 51ec3af2ba Identify binaries that were moved or removed between 1.3 and 1.4 1999-04-13 19:14:47 +00:00
bouyer 5c7e21f9cb - Add a message explaining the user how to specify units for inputs
- in run_prog(), do an explicit wclear(stdscr); wrefresh(stdscr);
  before launching subwindows. This seems to solve all the display
  problems associated with run_prog().
1999-04-13 14:49:56 +00:00
is 2c4e2ccda8 Actually use MDSETS, so that ports can install the x sets if useful 1999-04-12 22:17:21 +00:00
ragge 1add6cf5ed Must have ld.so (+ some more) in vax distribution nowadays. 1999-04-12 18:01:36 +00:00
minoura 4342da248f Size hacks.
Use libhack, x_route, x_ifconfig, init_s in the distrib/utils
to reduce the ramdisk size.
1999-04-12 16:06:36 +00:00
tsubai 0b62da153e Add notes from SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>. 1999-04-12 13:46:25 +00:00
bouyer 974e6e2609 Also add ASUS PCI-DEC100TX+ to the list of tulip-based boards. 1999-04-12 09:46:11 +00:00
bouyer a7af910c55 Another Tulip-based board which works: DLINK DFE500-TX. 1999-04-12 09:42:35 +00:00
bouyer be743ed36b - Add 2 functions in label.c, getpartoff()/getpartsize() used to let the user
enter partitions offet and size. The user can chose unit independantly of
  the unit used for display ('M'/'c'/'s'). These functions do the proper
  bound checks and alignement/roudups. Used in the edfspart menu and
  i386 md_make_bsd_partitions() (other ports should do the change as
  well).
- now that getpartsize() does the rigth thing, kill the swapadj hack (which was
  buggy anyway).
- in i386 md_make_bsd_partitions(), don't propose defaults that don't fit on
  the disk. If the disk is too small, fallback to custom instead.
- fix a bug in mbr.c, where the partition flags would not have always been
  reset. sysinst created me a MBR with 2 active partition. The boot code
  doesn't like it :)
- added a message for eventual mount failures.
- killed donewfs and extracting messages, as we run  the commands in a
  subwindow these messages just flashed on the screen.
- Changes a few exit(1) to return(1), to give the user a second chance.
- added msg_clear() or wclear(stdscr) in a place or two, to make
  display a bit nicer.
- in run_cmd(), if the command succeeded, don't wait for the user to
  press enter.
1999-04-11 22:40:19 +00:00
is d880ae0c98 We do support the CyberSCSI Mk3/PPC now 1999-04-11 15:12:49 +00:00
jonb 528ffedc08 Allow the floppy directory to be built when someone does "make release"
in /usr/src on a pc532.
1999-04-11 13:22:10 +00:00
scw 9864c40a31 The 167Bug> boot command line was not quite correct. 1999-04-10 16:18:11 +00:00
scw 546c12c03b Modify the example on setting the date/time so it is kosher for 1999.
Fix the 'bo' command example for booting from tape on mvme167.
1999-04-10 16:16:11 +00:00
simonb 16f231aad1 Don't try to build our own pwd_mkdb when building the diskimage. 1999-04-10 03:59:58 +00:00
is 8f1f6ecaa6 new version number syntax due to new formatting;
yet another release...
1999-04-09 20:55:28 +00:00
jonb fb618761b7 Make this compile again... fix a couple of small typo's 1999-04-09 12:44:44 +00:00
bouyer 72d28a06a3 Oups, missed a lot of run_prog() calls when I changed the prototype. 1999-04-09 10:43:56 +00:00
bouyer 04f9354ab3 Some fixes for the do_install() function:
- Make all the functions called from do_install() return an error code,
  so that we can abort install if something went wrong.
- Add a 'errstr' argument to run_prog(), which if not NULL is displayed
  with msg_printf() and followed by process_menu(MENU_ok) if the command fail.
  Used to warn the user that the current action is aborted.
- in a few places use msg_display() or msg_printf() rather than printf.
  It seems that stdout/stderr are not always pointing to the active curses
  window.
- garbage-collecd unused messages, add a few new one (error handling).
XXX only tested on i386. Other md parts should be tested as well.
1999-04-09 10:24:38 +00:00
pk c672e5ca96 - add more i-nodes to ramdisk image
- make ramdisk/list work again with object directories
- make OS revision part of the images file names (like miniroot).
1999-04-08 21:17:14 +00:00
bouyer a17071efea Sync with .eng versions. 1999-04-08 12:54:52 +00:00
fair c67241f483 Create an ex(4) man page from a little driver reading. Very bare bones;
needs to have the diagnostic list explained, and the media support
list filled out before it gets pulled up to the 1.4 branch.

However, it's here to answer PR#6870
1999-04-07 21:48:52 +00:00
minoura 957dabcbcd Forgotten from last commit. 1999-04-07 15:28:01 +00:00
minoura ce03570956 Do not remove netbsd.INSTALL and netbsd.INSTALL.gz. 1999-04-07 14:30:52 +00:00
simonb 1c15941926 Remove any leading '/'s in the pathname component of the FTP URL.
When the complete URL is constructed, and '/' is inserted between
the hostname and the pathname components.
1999-04-07 13:09:55 +00:00
cgd 884b75e9f3 adjust for changes in alpha /usr/mdec files. 1999-04-07 06:47:49 +00:00
simonb f04624dfbf Remove single quotes from the ftp URL and remove the comment about
"protecting the URL from the shell."  run_prog() now breaks up it's
argument and calls execvp() directly, so there's no shell to be wary
off...
1999-04-07 05:18:49 +00:00
cgd d7f2b03827 update for changed alpha boot blocks and manual pages 1999-04-07 00:44:02 +00:00
minoura bfb9b83441 Fill the x68k-specific portion. 1999-04-06 14:49:01 +00:00
leo 8ea4699fac First round of corrections for the atari. 1999-04-06 12:33:38 +00:00
tsubai b8f166d4da Fix menu item number. 1999-04-06 09:31:40 +00:00
lukem 5010389530 regen 1999-04-06 03:59:11 +00:00
simonb e8f5904d9e Move prototype for disp_cur_part() from defs.h to mbr.h. 1999-04-05 06:59:36 +00:00
simonb 277c24dc4c Don't include <sys/disklabel.h> - "defs.h" does this us with the
right #defines so that we get the filesystem type names.
s/fstype/fstypenames/
1999-04-05 06:24:17 +00:00
simonb 39813aa161 Build an ELF kernel called netbsd instead of an a.out kernel called
netbsd.aout.
1999-04-05 06:17:44 +00:00
simonb 63dd859cad Add pax, cpio.
Remove installboot.
Add ptys to MAKEDEV command line.
1999-04-05 06:15:30 +00:00