hoek [Mon, 13 Oct 1997 03:17:09 +0000 (03:17 +0000)]
1) Remove comment about tip(1) not accepting comments in /etc/phones Forgotten-By: rgrimes, early '94 (see rev 1.3, 1.4).
2) Use 555-#### examples to avoid potentially expensive accidents.
3) Escape @ in example pn capability (see related FAQ.sgml question).
imp [Sun, 12 Oct 1997 20:37:20 +0000 (20:37 +0000)]
Make mountd use -r by default. Hopefully this will cut down the number
of complaints that FreeBSD's mountd doesn't allow mounting of swap files
for OSes like SunOS, NetBSD and OpenBSD.
Submitted by: Joerg Wunsch
jkh [Sun, 12 Oct 1997 16:21:21 +0000 (16:21 +0000)]
Separate the siamese twins that were the partition and label editor.
Now you can use one without entering the other and it will DTRT.
These changes just allowed me to do the most straight-forward new disk
installation I've ever managed with sysinstall.
peter [Sun, 12 Oct 1997 12:47:05 +0000 (12:47 +0000)]
Fix a serious bug in the recursion processor. When descending a tree,
the descend can jump several directories down in one hit, eg: when a user
mentions multiple directories on the command line, eg: "cvs diff
sys/i386/isa/snd sys/sys". The problem is that the chdir()s are
pushed/popped to account for this, but the "full path" merely has
the last component chopped off on the way back up. This busts lots
of things when the recursion is backing up more than one directory (such
as in the example). This causes 'cvs diff' to emit bogus Index: lines,
'cvs update' to do really stupid things, 'cvs commit' to record incorrect
pathnames etc. I'm not sure that what I've done is quite correct, there
seems to be a comment that implies some sort of problem with "." vs. ""
equivalence or not, perhaps this is a problem on some other OS's, but
I've not (yet) found any problems. This bug has been present since
at least cvs-1.8.1.
This should fix problems noted by several people including asami and jmg.
joerg [Sun, 12 Oct 1997 08:54:47 +0000 (08:54 +0000)]
Remove the call to scsi_start_unit() from sd_open(). It was causing
much grieve to owners of IBM drives when used in conjunction with
tagged command queuing, and didn't serve any purpose at all (since
experiments have proven that it simply didn't work).
Instead, call scsi_start_unit() once in sd_attach(), so in case the
drive has been configured to `remote start', it will spin up there.
(If it has spun down later, it must have been because of administrator
action (scsi(8)) anyway.)
While i was at it, bump the timeout for scsi_start_unit() to 30
seconds. 10 seconds were way too few for most drives.
jkh [Sun, 12 Oct 1997 08:31:41 +0000 (08:31 +0000)]
Allow "foo0: disabled, not probed" message to stay, but make it conditional
on bootverbose so that those who _really wanna know_ still can.
Compromise suggested by: joerg
joerg [Sat, 11 Oct 1997 11:30:30 +0000 (11:30 +0000)]
The spppcontrol(8) utility that is required to set or display things
like PAP and CHAP secrets with sppp(4). This is the first utility
using the new SIOC[SG]IFGENERIC ioctls (and the reason for inventing
them in the first place).
peter [Sat, 11 Oct 1997 10:39:19 +0000 (10:39 +0000)]
Attempt to fix the previous fix to the contigmalloc1 prototype.
struct malloc_type isn't defined in all cases (eg: from ddb), and the line
wrapping was very badly mangled.
wpaul [Sat, 11 Oct 1997 00:03:25 +0000 (00:03 +0000)]
NIS+ compatibility kludge. A long time ago, I set up innetgr() so
that if searching through the special netgroup.byhost or netgroup.byuser
maps didn't work, we would roll over to the 'slow' method of grovelling
though the netgroup map and working out the dependencies on the fly.
But I left this option hidden inside an #ifdef CHARITABLE since I
didn't think I'd ever need it.
Well, the Sun rpc.nisd NIS+ server in YP compat mode doesn't support
the .byhost and .byuser reverse maps, so the failover is necessary
in order to be compatible. *sigh*
This closes PR #3891, and should be merged into RELENG_2_2.
phk [Fri, 10 Oct 1997 14:06:34 +0000 (14:06 +0000)]
Make malloc more extensible. The malloc type is now a pointer to
the struct kmemstats that describes the type.
This allows subsystems to declare their malloc types locally
and <sys/malloc.h> doesn't need tweaked everytime somebody
gets an idea. You can even have a type local to a lkm...
I don't know if we really need the longdesc, comments welcome.
TODO: There is a single nit in ext2fs, that will be fixed later,
and I intend to remove all unused malloc types and distribute
the rest closer to their use.
peter [Fri, 10 Oct 1997 12:14:48 +0000 (12:14 +0000)]
This has always bugged me. At single user, the implied example it gives
is not valid - it says that "sh" is the default, but you can't
actually type "sh" at this prompt - it has to be /bin/sh or some other
full pathname.
jkh [Fri, 10 Oct 1997 10:32:53 +0000 (10:32 +0000)]
Change default keymap (I left all the international ones alone) so
that LALT is META by default. This will make the emacs users happy.
Approved by: sos
peter [Fri, 10 Oct 1997 09:44:12 +0000 (09:44 +0000)]
Convert the VM86 option from a global option to an option only depended
on by the files that use it. Changing the VM86 option now only causes
a recompile of a dozen files or so rather than the entire kernel.
peter [Fri, 10 Oct 1997 09:28:38 +0000 (09:28 +0000)]
Revive the connect-max-attempts option. When running in persist mode,
this limits the number of retries before aborting. This can save
expensive phone bills. :-) See rev 1.6 of main.c for original.