Commit Graph

75131 Commits

Author SHA1 Message Date
mrg
d436dd6641 extend sysinst disk handling, some general clean ups, better /etc support
and some sparc64 fixes.  details:

- new scripting_{,v}fprintf() that also write to the script log (if open).
- support of creation of LFS filesystems
- standard installs now allow one to choose which file systems to create,
out of the list of /usr, /var, /home, MFS /tmp, and swap.  a / is always
created, but the rest all optional. [*]
- new disklabel method: use existing.  this requires one to fill in the
mount points (and having at least a "/" is enforced).
- preservation of existing filesystems (at install) is supported.
- rewrote most of make_fstab(): the entire thing is generated from the
bsdlabel now, rather than hard coding / to 'a' and swap to 'b'.  create
MFS /tmp if requested.
- if IPv6 support isn't present, don't display any ipv6 messages.
- better rc.conf support
- sparc & sparc64 default to "cylinders" now.
- choosing "standard" instead of "standard with X" de-selects the X pkgs
by default.
- sparc64: don't install bootblocks until we have a complete system, avoids
booting with no /dev/console.
- sparc64: bump STDNEEDMB, it is way low.


[*] i have added default values for DEFVARSIZE & DEFUSRSIZE (this is used
only if /usr and /home are selected) to each port, based on STDNEEDMB.  as
such, my guesses might be wrong so port maintainers should look at these.
2001-01-14 02:38:13 +00:00
aymeric
0ec35fe298 Don't dump core when a ``bad address'' error occurs and there is neither
a file nor a command underlying it.
This fixes PR #11543.
2001-01-14 02:22:29 +00:00
thorpej
f4395a4eae splimp() -> splvm() 2001-01-14 02:10:01 +00:00
thorpej
a624c70966 Use splvm(), not the home-grown splmem(). 2001-01-14 02:08:35 +00:00
thorpej
20f5aecd16 splimp() -> splvm() (mbufs are "memory allocation") 2001-01-14 02:07:22 +00:00
thorpej
b5104c1ca5 Change some low-hanging splimp() calls to splvm(). 2001-01-14 02:06:21 +00:00
thorpej
979919ee0f splpmap() -> splvm() 2001-01-14 02:03:48 +00:00
thorpej
d85a75f583 Make sure everybody has an splvm() and equate it with splimp() (splimp()
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
2001-01-14 02:00:37 +00:00
jmc
9d68beeb8e Fix typos from the package list additions 2001-01-14 01:44:22 +00:00
thorpej
fd0ca62926 Put signal posting back in userret() for now; for it to work
properly, we need to make astpending a per-process variable.

Pointed out by mycroft.
2001-01-14 00:39:48 +00:00
thorpej
2574f338e1 Remove a couple of now-unsed variables (args that are now no longer
passed to userret()).
2001-01-14 00:35:53 +00:00
thorpej
1eb36d23fd - Make ast() loop around astpending; it's possible for a new
AST to be posted when delivering signals, or after a process
  is preempted.
- Move all signal posting to ast().  userret() is now a one-liner.
2001-01-14 00:10:28 +00:00
thorpej
777efd8cdc Check for ASTs in Syscall and UserGenException, too; AST processing
must be done on *every* return to userland.
2001-01-13 23:49:12 +00:00
jdolecek
f40f1d2ddf note this sort(1) implementation appeared in 4.4BSD 2001-01-13 21:40:56 +00:00
nathanw
7fe3932bd4 Add a device known to (currently) use the FTDI chipset. 2001-01-13 20:53:22 +00:00
cgd
741c8f626f back out the change in rev 1.57. it was misguided; see discussion
on current-users (subject "build problem - multibyte.c").
2001-01-13 20:36:58 +00:00
soren
ec09544572 And make usage() test for NULL explicitly.. 2001-01-13 20:21:56 +00:00
soren
7b5f324dcc usage() expects a NULL when there is no specific error message. 2001-01-13 20:20:47 +00:00
jdolecek
c9803cd367 Put GNU sort back to sleep. R.I.P. 2001-01-13 20:17:13 +00:00
jdolecek
a3b6f1c251 put back sort, it's fixed now 2001-01-13 20:11:49 +00:00
jdolecek
b36ae8b14a makeline(): put back the memmove(3) removed in rev 1.5 in belief it's been
redundant. "Oops"
This fixes bug reported to me by Simon Burge.
2001-01-13 20:10:52 +00:00
nonaka
502a82e9a4 add usr/share/man/{cat,man}8/prep 2001-01-13 19:38:51 +00:00
nonaka
f98bd36da4 add {cat,man}8/prep/MAKEDEV.? 2001-01-13 19:37:23 +00:00
nonaka
a8d72bfe57 add man8.prep 2001-01-13 19:35:35 +00:00
nonaka
a5374efc80 add prep MAKEDEV related manpages. 2001-01-13 19:35:12 +00:00
jdolecek
7c5e77a45a also remove the clpos++ added in rev 1.4 2001-01-13 19:04:21 +00:00
jdolecek
f4074c5bd3 undo broken revision 1.4 2001-01-13 19:01:14 +00:00
itojun
8dd4895415 fix few confusing indentation. XXX still broken 2001-01-13 17:27:21 +00:00
bjh21
9105584f84 Add <arm/signal.h>. 2001-01-13 17:04:50 +00:00
bjh21
8df387473f Move <machine/signal.h> into shared directory. 2001-01-13 17:02:36 +00:00
bjh21
70d40a123c Make db_disasm_interface const. 2001-01-13 16:53:27 +00:00
bjh21
f52101bc64 Make all the disasm_interface_t arguments const, thus allowing us to
allocate them statically in the text segment.  Do so for disassemble().
2001-01-13 16:52:01 +00:00
bjh21
792b8500bc ANSIfy, un-__Pify, and in the case of disassem.c, add an RCSID. 2001-01-13 16:44:25 +00:00
itojun
c50639b45e pull the last revision from graveyard. we do not really need to nuke it yet,
as long as we do not visit SUBDIR we don't build it.
2001-01-13 16:42:53 +00:00
tshiozak
cfb6a0b2c6 add missing sc->dying initializer at midiattach. 2001-01-13 16:16:12 +00:00
tshiozak
3a10cc3d0a add detaching/deactivation code to midi driver. 2001-01-13 16:09:04 +00:00
simonb
41b1ab320a Disable sort for now, it has a corruption problem. 2001-01-13 14:11:38 +00:00
itojun
7de2724c3a move IPv6 mode/route configuration upwards, so that !rtsol in
/etc/ifconfig.* is meaningful.
2001-01-13 13:26:36 +00:00
simonb
ba5b4fefa2 Sort(!). "preconsolidate" was in the wrong place. 2001-01-13 11:51:12 +00:00
aymeric
edecf4bc97 Notify UVM subsystem about our page size in pmap_init().
Some MI code needs it (Linux emulation, sysctl and the like).
Thanks to Izumi Tsutsui for pointing it.
2001-01-13 11:31:04 +00:00
jdolecek
769f751499 save couple of cycles and bytes by static initialization of sigaction act
and sigtable[]
2001-01-13 11:19:41 +00:00
jdolecek
4b8c8ba4c1 nuke GNU sort - we use BSD sort now 2001-01-13 10:56:32 +00:00
jdolecek
ea53379da3 Switch from GNU to BSD sort. Approved by the Core. 2001-01-13 10:49:06 +00:00
jdolecek
20db24e8e3 add -s/-S to synopsis
remove TMPDIR stuff - it no longer applies, at least for now
move the note about link/unlink from BUGS to NOTES
add note about trailing record separator and lack of restriction on
line length or allowed bytes
2001-01-13 10:47:29 +00:00
ur
7701dc57be Adapt to pci_intr_map change. 2001-01-13 10:46:18 +00:00
jdolecek
f2deab8a4c when merging stuff from several files, make merge handle records correctly
for stable sort so that the records are not swapped arbitrarily - this makes
in-tree BSD sort(1) pass regression test 38

while here, do couple of cleanups, like s/16/MERGE_FNUM/ where appropriate,
making local stuff static and some intendation/code format changes
2001-01-13 10:33:30 +00:00
jdolecek
16b90fdb48 one more warning to kill 2001-01-13 10:17:43 +00:00
jdolecek
7102161857 Since SUS explicitly specifies sort(1) should append a record
delimiter to file if it doesn't end with one, don't warn when this
happens.
2001-01-13 10:07:06 +00:00
itojun
42bede79da allow IP_MULTICAST_IF and IP_ADD/DROP_MEMBERSHIP to specify interface
by interface index.  if the interface address specified is in 0.0.0.0/8
it will be considered as interface index in network byteorder.

getsockopt(IP_MULTICAST_IF) preserves old behavior if
setsockopt(IP_MULTICAST_IF) was done with interface address, and
returns interface index if setsockopt(IP_MULTICAST_IF) was done with
interface index (again using the form in 0.0.0.0/8).

Suggested by Dave Thaler, based on RIPv2 MIB spec (RFC1724 section 3.3).

http://mail-index.netbsd.org/tech-net/2001/01/13/0003.html
2001-01-13 07:19:33 +00:00
itojun
4a14fb4fd8 on getsockopt(IP_IPSEC_POLICY), make sure to initialize len 2001-01-13 06:01:18 +00:00