Matt Jacob [Mon, 20 Dec 1999 16:16:53 +0000 (16:16 +0000)]
Make sure we don't look at an edt entry that could go away when we try
and figure out whether to probe higher than logical unit 7.
Obtained from:gibbs@freebsd.org
Sheldon Hearn [Mon, 20 Dec 1999 16:13:47 +0000 (16:13 +0000)]
Add link(1) and unlink(1) as special cases of ln(1) and rm(1)
respectively, in accordance with SUSv2.
This differs from the approach taken in NetBSD, but provides
less obscure error messages in at least the EISDIR case and
does not take up additional disk space for new binaries.
PR: 13071
PR: 13074
Requested by: James Howard <howardjp@wam.umd.edu>
Marcel Moolenaar [Mon, 20 Dec 1999 10:32:11 +0000 (10:32 +0000)]
o make SHARED=symlinks a caller defined instead of a callee defined
property. This fixes the includes target when DESTDIR is empty.
o Do not make build-tools for f771 when NO_FORTRAN is defined.
o Add new build stage. See below.
o Change banners so that staging information is displayed.
The addition of the build-tools target broke the upgrade path because
we couldn't make use of previously built tools that were made for
compatibility reasons. Doing so would also result in the cross-compiler
being used and that is exactly what had to be avoided.
This is solved by designating the bootstrap-tools stage for building
anything that is needed for compatibility only and to create a new
stage (started after the build-tools stage) that handles cross-tools
building. We now have the following stages:
1. bootstrap-tools (for compatibility issues only)
2. build-tools
3. cross-tools (what it says)
4. world
5. install
Stages 1-4 (inclusive) are handled by buildworld.
Stage 5 is handled by installworld.
Any more stages and I'll join Nik in his quest for the
holy grail^W^Wworld :-)
Warner Losh [Mon, 20 Dec 1999 06:47:38 +0000 (06:47 +0000)]
Make attach work, almost. Calling kthread_create from a
config_intrhook_establish doesn't work. Children aren't yet attached
properly, but that's ok because pccard would likely panic in its
current shape.
o Save dev of pcic early in attach process
o save dev in pcic_handle for use in pcic_create_event_thread.
o Remove direct attachments of pccard children for now
o move establishment of pcic kthread to config_intrhook.
Greg Lehey [Mon, 20 Dec 1999 02:16:55 +0000 (02:16 +0000)]
Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand. Previously /sbin and /bin were symlinks to
/stand. Now /bin and /stand are symlinks to /sbin.
Greg Lehey [Mon, 20 Dec 1999 02:15:04 +0000 (02:15 +0000)]
Add content. This was one of the files that somehow got checked in
empty. An empty loader.rc will enable the kernel to boot, but it
won't find init (because the MFS file system hasn't been loaded).
Greg Lehey [Mon, 20 Dec 1999 02:12:27 +0000 (02:12 +0000)]
Define RELEASE_CRUNCH as a make variable. Previously it was defined
as a preprocessor variable only. This broke the build of ppp. This
problem still exists in the old-style directories.
Greg Lehey [Mon, 20 Dec 1999 02:10:16 +0000 (02:10 +0000)]
Install the crunched binaries into /sbin, not /stand. This was
originally done to track down yet another case of lost init, and is
not strictly necessary, but it seems more logical to have binaries in
/sbin than in /stand. Previously /sbin and /bin were symlinks to
/stand. Now /bin and /stand are symlinks to /sbin.
Greg Lehey [Mon, 20 Dec 1999 02:07:42 +0000 (02:07 +0000)]
Handle building individual targets better. It's still broken; the
only way to be sure the build works correctly is to do a 'make all'.
But with these changes, it's easier to test individual targets. In
particular, ensure that the vnode file systems are mounted before
writing to them.
Ensure that we don't get CVS directories on our floppies.
Use kgzip instead of kzip to compress the loader. This saves a few
kB.
David E. O'Brien [Sun, 19 Dec 1999 22:05:32 +0000 (22:05 +0000)]
Install sendmail.cf into /etc/mail.
The current offical Sendmail Inc. version uses /var/mail/ and when we upgrade
our repository to that version, we will get the change. It is best to make
the path change in 4.0-R (which may not have the latest Sendmail Inc. version,
than to change in mid-4.x stream when we may upgrade.
Bill Fumerola [Sun, 19 Dec 1999 20:33:05 +0000 (20:33 +0000)]
Borrow phk's axe and chop off the old soundcard-CDROM devices. We get
about 40k of savings from this, and these abominations are still in LINT
if anyone needs to use them.
David E. O'Brien [Sun, 19 Dec 1999 19:55:19 +0000 (19:55 +0000)]
Install sendmail.cf into /etc/mail.
The current offical Sendmail Inc. version uses /var/mail/ and when we upgrade
our repository to that version, we will get the change. It is best to make
the path change in 4.0-R (which may not have the latest Sendmail Inc. version,
than to change in mid-4.x stream when we may upgrade.
Ollivier Robert [Sun, 19 Dec 1999 15:43:19 +0000 (15:43 +0000)]
Second part of bin/3648: add -flags to search for specific flags.
I added $FreeBSD$ whicle I was here. The patch wasn't usable anymore
due to its age so I adapted it.
PR: bin/3648
Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com>
Cameron Grant [Sun, 19 Dec 1999 15:27:24 +0000 (15:27 +0000)]
move make_dev operations for audio channels to pcm_addchan(). in theory,
with modifications to MAKEDEV this will allow use of multiple output streams
on cards supporting it, eg trident 4dwave.
Brian Feldman [Sun, 19 Dec 1999 09:42:15 +0000 (09:42 +0000)]
Remove all vestiges of /usr programs (awk, sed, grep...) from MAKEDEV.
MAKEDEV can now run (with /sbin/chown and /bin/chgrp, still) without
any /usr. The default PATH for MAKEDEV is now "/sbin:/bin" to prevent
against further spammage of /usr programs in MAKEDEV. In the event
of an emergency, the variable "MAKEDEVPATH" can be used to replace
PATH, but I don't know what that emergency could be.
Let me know if you have any problems. I've tested it as well as
I could, which basically means everything except for RocketPorts.
Warner Losh [Sun, 19 Dec 1999 07:39:10 +0000 (07:39 +0000)]
o Hide pcic_chip functions inside file
o Attach children in a better way than before.
o Remove some dead code
o collapse the socket attach routines into pcic_attach
Robert Watson [Sun, 19 Dec 1999 06:08:07 +0000 (06:08 +0000)]
Second pass commit to introduce new ACL and Extended Attribute system
calls, vnops, vfsops, both in /kern, and to individual file systems that
require a vfsop_ array entry.
Robert Watson [Sun, 19 Dec 1999 05:54:46 +0000 (05:54 +0000)]
First pass commit to introduce new ACL and Extended Attribute system calls.
The second pass commit with all the supporting code will happen shortly
afterwards.
Eivind Eklund [Sat, 18 Dec 1999 23:01:52 +0000 (23:01 +0000)]
Since VOP_LOCK can be used to up and downgrade locks, it is not possible
to say anything about the lockstate before and after it. Thus, change the
lockspec from U L U to ? ? ?.
Eivind Eklund [Sat, 18 Dec 1999 20:50:48 +0000 (20:50 +0000)]
Correct the documentation of LOCKPARENT - it does not reliably result in the
parent being locked, but rather plays some hide and seek (does not lock if
dvp == vp).
Also add a BUGS section noting that this is undesired behaviour.