Commit Graph

1955 Commits

Author SHA1 Message Date
leo d765b81230 Add: ./dev/mouse; Move /sbin/bootpref -> /usr/sbin/bootpref 1999-04-16 19:39:15 +00:00
simonb 6dfb452528 Fix incorrect pathname in previous. 1999-04-16 16:08:28 +00:00
simonb daa30e7063 After building a ramdisk kernel, build a small (currently 2MB) diskimage
suitable for dd'ing onto the start of a disk.

Duplicates some of the work done by the miniroot Makefiles and will
cleaned up and made MI soon.
1999-04-16 16:01:33 +00:00
simonb af43093feb Remove ./usr/libexec/ld.so - the compat13 package takes care of this. 1999-04-16 15:45:42 +00:00
simonb c6f8d15017 md_post_newfs() now returns int after the latest round of changes. 1999-04-16 15:42:32 +00:00
simonb 895e3323a5 Build a tar file of the ramdisk.fs suitable for installing on an NFS
server for diskless installs on machines that can't netboot a kernel
with a full ramdisk.
1999-04-16 14:12:14 +00:00
simonb 15fcd84c71 Define the disklabel prototype as a conditionally set variable so that
it can be overriden.
1999-04-16 13:31:40 +00:00
simonb 5849ceb510 Install second-stage bootblock. 1999-04-16 13:28:22 +00:00
simonb 7e09f8d2f8 Descend into sysinst directory if sysinst/arch/${MACHINE} exists. 1999-04-16 10:10:24 +00:00
ender 3a4b99f66e Make this compile again. 1999-04-16 08:29:15 +00:00
fvdl 5da713368c Add mbr_bootsel. 1999-04-15 22:41:24 +00:00
fvdl 148b5a16aa Add /usr/mdec/mbr_bootsel 1999-04-15 22:33:47 +00:00
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
simonb 56ff27242a Add cpio link to pax. 1999-04-05 06:14:18 +00:00
perry 0f2eecb8c3 add aculog 1999-04-05 00:22:47 +00:00
is fc78f9d619 /usr/include/amiga/ieee.h added 1999-04-04 20:17:54 +00:00
explorer 6249482be9 Install if_sppp.h in include/net/ 1999-04-04 06:08:40 +00:00
fvdl 2eef6a3ee1 Make sure to get the magic MBR number right (i.e. use u_int16_t). 1999-04-03 22:56:22 +00:00
minoura ffe85a263c Typo. 1999-04-03 14:20:57 +00:00
minoura fe17a5f264 Update to fit with the current status.
- Increse required disk space.
 - Note newly introduced utility loadbsd.x.
1999-04-03 14:15:00 +00:00
lukem d5f7c8fa09 since everyone else gets a plug for their bit, highlight that i did nsswitch :) 1999-04-03 03:16:39 +00:00
lukem 43e2ab965f regen 1999-04-03 03:12:46 +00:00
lukem d74fb9d392 regen 1999-04-03 03:04:02 +00:00
perry c64d5ce454 sync 1999-04-02 23:37:27 +00:00
minoura fa2cb59e90 SMALL kernel is not included in kern.tgz. 1999-04-02 15:46:34 +00:00
simonb 770f65cee6 Delete {device,swap,vnode}_pager.h 1999-04-02 03:50:54 +00:00
kim 96139333c2 Added myself, fixed sorting. 1999-04-01 18:44:37 +00:00
dbj 2b950ad26f Add next68k makefile, so "make obj", etc. doesn't fail. 1999-04-01 17:10:35 +00:00
minoura 105016caa8 Update. 1999-04-01 14:10:04 +00:00
minoura 6b6fc8e666 Add ethernet setup procedure. 1999-04-01 14:09:49 +00:00
minoura 2cfb5d30f1 Increase required diskspace. 1999-04-01 14:09:22 +00:00
minoura 4a6980672f Corp -> Inc 1999-04-01 14:08:21 +00:00
minoura 08d5492f03 Note the location of dti.ad.jp. 1999-04-01 14:07:35 +00:00
fvdl 793f57a4e6 Adapt setting of active partition to newer MBR handling. 1999-04-01 11:33:02 +00:00
is 34812462c1 revert last change, it was bogus 1999-03-31 19:22:56 +00:00
is c49b6be6b4 synchronize 1999-03-31 19:06:34 +00:00
jonb 1c77e14aab I am unable to find anything or anyone using /usr/include/ns32k,
and its presence makes pax unhappy.
1999-03-31 13:15:09 +00:00
bouyer c8b2b59bcc According to Bill Paul <wpaul@ctr.columbia.edu>, only the baseboard variant
of the Compaq NetFlex 3/P uses a Thunerlan TNETE100 chip. The PCI variant
use some other PCI chip the ThunderLAN driver can't handle yet.
Also, correct SYNOPSYS.
1999-03-31 12:19:57 +00:00
fvdl a5d73e00eb Rework the MBR code, and some of the labelling code.
* Use structures, not 2-dimensional arrays..
	* Use the DIOCGDEFLABEL ioctl to get the disk information,
	  to avoid confusion with (older) labels.
	* Don't ever call fdisk for partitioning. This was the
	  source of much confusion.
	* For the i386, use the BIOS geometry information passed by
	  the bootblocks.

Lots of things left to do, but it's a start.
1999-03-31 00:44:48 +00:00
soda 4f63fe16c9 regdef.h is back 1999-03-30 18:50:01 +00:00
dbj cd79d7d899 move pwd_mkdb earlier to avoid bumping our head on disk image size. 1999-03-30 08:03:42 +00:00
ross 5983cb1994 Edit alpha installation section. 1999-03-30 07:46:10 +00:00
gwr 3d29b3aabe Add sysctl 1999-03-30 06:19:54 +00:00
gwr ef04c9d6d8 In md_copy_kernel(), copy /netbsd.$karch to /mnt/netbsd 1999-03-30 06:17:55 +00:00
simonb f6e1172813 Add some section 4 manpages; sort. 1999-03-30 02:32:43 +00:00
simonb 90542f345f Add circleq_head_initializer(3) man page link. 1999-03-30 02:29:35 +00:00
simonb 004b0f345d Add another ipf example. 1999-03-30 02:22:10 +00:00
simonb 99298a0bd3 Add a few missing include files. 1999-03-30 02:20:06 +00:00
simonb 623f0ecbe8 Add /etc/wscons.conf 1999-03-30 02:10:31 +00:00
simonb 017205bf4d Add fsck_lfs. 1999-03-30 01:57:32 +00:00
perry 36ad5eb24b note that we support the 3c905B now. 1999-03-30 01:07:26 +00:00
hwr 1527a35844 Add ipip.[04] to set. 1999-03-29 20:44:07 +00:00
tsubai 7bd441a637 iteioct.h is deleted. 1999-03-29 12:45:22 +00:00
kleink 45d2f3615b UUCP texinfo documentation. 1999-03-29 11:48:01 +00:00
simonb 9a1e96788a Use TERM=rcons, not sun or pc3. 1999-03-29 07:19:47 +00:00
scottr c52bdfb427 Add a mac68k-specific lkm. (sigh) 1999-03-29 04:39:02 +00:00
simonb 4b0e81db29 Add elf2{aout,ecoff} manpages. 1999-03-29 03:11:58 +00:00
simonb e4e4004fe9 Put ./usr/libexec/ld.so back - it's used for backwards compatibility
with early ELF binaries.
1999-03-29 03:10:08 +00:00
simonb cfdfe887c9 Resurect from attic, and add ./etc/fstab.rz 1999-03-29 02:53:45 +00:00
simonb 999bb46bfa Remove /usr/include/mips/conf.h, and old non-ELF crt* gunk. 1999-03-29 01:59:41 +00:00
simonb 1ffc056ded Convert mipse[lb] to mips _after_ processing command line arguments. 1999-03-29 01:20:42 +00:00
simonb 31ce71a13a machine/tc_machdep.h isn't installed in /usr/include anymore. 1999-03-28 22:05:19 +00:00
is 3945730dbc Update: CS MK III/PPC scsi, ATAPI; mention no-Xserver for Retina Z2 and
A2410.
1999-03-28 21:33:38 +00:00
kleink 270c5e6806 Typo. 1999-03-28 17:12:12 +00:00
simonb 6e438f3735 Add second stage bootblock. 1999-03-27 15:50:57 +00:00
minoura 8db0486dd7 Add pax. Remove tar. 1999-03-27 14:07:08 +00:00
kleink a2026beda9 tzdata1999c 1999-03-27 11:27:22 +00:00
tron ca8cab1d19 Add "named.conf" manual page. 1999-03-26 23:52:57 +00:00
kim 45402fd3fc Install dig, dnsquery, host, nslookup, nsupdate and pawd in /usr/bin. 1999-03-26 20:04:50 +00:00
mrg 31f93decc6 add audioplay/audiorecord. 1999-03-26 13:55:49 +00:00
sommerfe 90844f84d6 Install send-pr.el (emacs-lisp front-end to send-pr) into /usr/share/gnats 1999-03-26 13:12:43 +00:00
minoura 632ad8cde6 Use pax(1) instead of tar(1).
MD parts already have this change.  /usr/bin/tar can be removed from
the miniroot.
1999-03-26 09:24:27 +00:00
mark 2319fcb044 Pull in ../common/upgrade. 1999-03-26 09:22:52 +00:00
mark 8ee35faca3 Bring these files up to date. 1999-03-26 09:10:48 +00:00
ender c32aac7964 Uncomment some file copies now that the files actually exist. 1999-03-26 08:52:44 +00:00
ender e83f28e8f9 NetBSD/mac68k installation kernel for use with sysinst.
Based on NetBSD/alpha instkernel.
1999-03-26 08:34:36 +00:00
mark f7644e2429 Allow various X11 sets to be installed. 1999-03-26 03:03:37 +00:00
mark 1f8be737e2 Pull in cgd's improved filecore bootblock checksumming code from
sys/arch/arm32/arm32/disksubr_acorn.c
1999-03-26 03:02:45 +00:00
explorer fa943f9ee6 add sbin/lmcctl 1999-03-25 22:04:57 +00:00
ross c122afdfb4 Stomp on those blank-line-inserting .ne requests, like Charles did
for -mdoc.
1999-03-25 21:19:08 +00:00
ross f566063401 Describe all six ways of loading the installer. 1999-03-25 21:13:04 +00:00
leo abc002ac94 Fixup atari set sizes. 1999-03-25 20:56:01 +00:00
ross 64b5377f3c Describe GENERIC.fs. 1999-03-25 19:58:37 +00:00
is 059e654914 Split off /etc/mailer.conf manual page from mailwrapper manual page. 1999-03-25 16:40:17 +00:00
leo 6d588fca56 - Move the pwd.db & spwd.db files into the list-files of the ports who need
them.
- Use x_dd & x_ifconfig.
1999-03-25 15:51:01 +00:00
pk d00a3a4467 Add `gnu/usr.bin/grep' as a source directory. 1999-03-25 13:14:42 +00:00
ross c17c3ad1aa Elaborate, and describe the vanilla instkernel, too. 1999-03-25 13:09:20 +00:00
pk 9c64be7f41 newlsf => newfs_lfs 1999-03-25 12:58:33 +00:00
pk fab472e8c9 Fill in sparc distribution set sizes. 1999-03-25 12:08:57 +00:00
dante 6dc68c9bd8 Add a supported AdvanSys SCSI adapter. 1999-03-25 10:39:14 +00:00
explorer de3a9322bb Add info for LMC cards 1999-03-25 03:50:18 +00:00
explorer 606ef37ce4 add copyright info for LMC, and myself (which I missed before) 1999-03-25 03:49:51 +00:00
mrg eb6b33ee3f add lessecho 1999-03-25 01:00:18 +00:00
minoura 511a8fd293 Mostly imported from netbsd-1-3 branch (1.3.3 and 1.3.4)
- Set ${driveunits} correctly.
 - swapon on small memory machines.
1999-03-24 15:54:45 +00:00
dante a0d8143219 Add AdvanSys SCSI host adapters to the supported hardware 1999-03-24 12:42:47 +00:00
perry 1adf543079 update the date. 1999-03-23 21:19:58 +00:00
perry 23433d74a4 more updates. It appears, unfortunately, that the whole "gotchas while
upgrading" section is going to need a rewrite.
1999-03-23 21:17:44 +00:00
perry e2cf6728d9 add Piermont Information Systems 1999-03-23 21:12:56 +00:00
perry 27b5e4333f update for changes in main -- USB and IDE are not i386 specific 1999-03-23 21:02:09 +00:00
perry 58263c1e72 Numerous fixes for 1.4. This is approximately okay for 1.4 now,
assuming enough people proof read it. more to come.
1999-03-23 20:55:38 +00:00
perry 75b15f7534 first cut of whatis for 1.4 1999-03-23 18:57:19 +00:00