Commit Graph

9365 Commits

Author SHA1 Message Date
Nate Williams
bdc95502ca Fix possible FS corruption caused by extra parameter to pax.
oo
Turns out, it's pretty important if you use PAX for backup.  In the man
page for PAX, there is an error (OK, we could call it a "potentially
catastrophic incompleteness").  It reads:

>  The command:
>
>      pax -r -v -f filename
>
>  gives the verbose table of contents for an archive stored in filename.

Yup, it does do that.  With a side effect: it also _replaces_ all the
files that come in from the archive.  As is my custom, I did my
backup-validation real soon after the backup was written.  Precisely
because I've seen the same sort of thing happen on other systems.  So all
that file-restoring didn't do a lot of damage.  Probably helped my
fragmentation somewhat (aha, an online defragger?) It did confuse one
hapless user, who lost an email message he _knew_ he hadn't deleted.
Apparently the system restored the file as of just before that critical
message came in.

The correct entry should read:

>  The command:
>
>      pax -v -f filename
>




>  gives the verbose table of contents for an archive stored in filename.


Submitted by:	John Beckett <jbeckett@southern.edu> via the BSDI mailing list
1995-08-16 23:12:25 +00:00
Nate Williams
a42b8f1321 Added missing semi-colon in the XT_KEYBOARD code. W/out it the code
would not compile.
1995-08-16 22:36:43 +00:00
Andrey A. Chernov
eac0049e69 Fix F11 and F12 for VT200, my mistake
Remove some rare-used semigraphics from VT100 entry, it really helps many
not-fully compatible emulators and don't degradate original vt100 much.
Add VT200 keys set to VT100 k1-k4, it not affects original VT100 since no one
program tests keys presense, but helps emulators to work
1995-08-16 21:45:34 +00:00
Bruce Evans
bf25be48a5 Make everything except the unsupported network sources compile cleanly
with -Wnested-externs.
1995-08-16 16:14:28 +00:00
Bruce Evans
8c13738f38 Make everything except the unsupported network sources compile cleanly
with -Wnested-extern.
1995-08-16 16:11:48 +00:00
David Greenman
a9e479e2fa Honor -async mount option when doing the inode update.
Obtained from:	4.4BSD-Lite2
1995-08-16 13:16:58 +00:00
Jordan K. Hubbard
cb470b8660 Remove the fundamentally useless probe and attach commands I added.
They're landmines.
1995-08-16 07:32:51 +00:00
Joerg Wunsch
1c7895ac54 Reset the umask before creating the output file; otherwise running
ldconfig as root with a restrictive umask yielded ld.so.hints
unreadable by the world (and thus useless).
1995-08-16 06:31:50 +00:00
Jordan K. Hubbard
ce19262d8c Merge various fixes from NetBSD. This will allow the WordPerfect for
SCO installation to run all the way through (some POSIX fixes).
1995-08-16 05:56:44 +00:00
Peter Wemm
f4df6549b2 This changes two things when importing an unreadable file:
1: It stops invalid files being created in the cvs tree
2: It stops the import from aborting without mailing a commit message..

The first is simple, it opens the file for reading before touching the
repository, and the second catches the pieces when it hits an unreadable
file rather than just aborting mid-way through, leaving the repository in
a bit mess.

Reviewed by:	rgrimes
1995-08-15 20:38:00 +00:00
Peter Wemm
90129a1968 Remove bogus "nl=" and "ko=" from AT386.. The "nl=" causes serious problems
with scrolling, especially with nvi.
Reviewed by:	ache
1995-08-15 20:22:52 +00:00
Stefan Eßer
d36d3f0e18 Print more information in case of unspecific error condition.
Do not print "in getcc reselect by" message unless DEBUG_RESTART is set.
1995-08-15 20:19:14 +00:00
Joerg Wunsch
df57976dbc Install the headers and sample files with 444 perms (as opposed to
555).

Submitted by:	graichen@sirius.physik.fu-berlin.de (Thomas Graichen)
1995-08-15 20:06:50 +00:00
Joerg Wunsch
63fcc30508 Correct the entry for some Dasher terminal. A backslash has been
mangled.

Submitted by:	oops, i've just killed the mail from my inbox :-(
1995-08-15 19:58:29 +00:00
Joerg Wunsch
54e98df56b Increase the DELAY_GETREPLY to 5000000. Not dangerous, this is
actually a timeout only.  The existing behaviour caused a

  mcd0: timeout getreply

at halt/reboot time.

Submitted by:	graichen@sirius.physik.fu-berlin.de (Thomas Graichen)
1995-08-15 19:56:59 +00:00
Joerg Wunsch
f300f7a0f9 The command to `move' across file system boundaries is actually
cp -PRp source_file destination

Closes PR # bin/689: mv(1) manpage

Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-08-15 19:44:39 +00:00
Joerg Wunsch
b5cfa4b2c4 '#' is not a comment if a non-space char follow
Closes PR # bin/657: mail(1): comments in ~/.ma...

Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-08-15 19:40:26 +00:00
Joerg Wunsch
665994990b There is no such file as /usr/include/ufs/quota.h. There is a file
/usr/include/ufs/ufs/quota (#include <ufs/ufs/quota.h>) that seems to work
ok though.

Closes PR # docs/670: quotactl man page incorr...

Submitted by:	evans@scnc.k12.mi.us (Jeffrey Evans)
1995-08-15 19:38:00 +00:00
Joerg Wunsch
75da8757fa Install kzip.o with BINMODE=444.
Submitted by:	graichen@sirius.physik.fu-berlin.de (Thomas Graichen)
1995-08-15 19:36:02 +00:00
Joerg Wunsch
8e502f1158 head(1) ignored EOFs (in certain cases).
Closes PR # bin/678: head(1) ignore EOF

Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-08-15 19:34:11 +00:00
Bruce Evans
a722b904d7 Fake a call frame for traps so that `gdb -k' can report where fatal
traps occurred.  This also helps ddb backtrace through trap frames.
Backtracing through syscall and interrupt frames still doesn't work
but it is relatively unimportant and more expensive to fix.
1995-08-15 19:23:33 +00:00
Stefan Eßer
d897bfb950 Add "Danny J. Zerkel <dzerkel@feephi.phofarm.com>" because of his
contributions to the PCI chip set register dump description table.
1995-08-15 09:56:38 +00:00
Stefan Eßer
9625df5f24 Add more chip set register decodings:
ISA GAT mode and hidden refresh seem to cause reliability problems
on Saturn based systems and are now reported when booting with '-v'.

Submitted by:	Danny J. Zerkel <dzerkel@feephi.phofarm.com>
1995-08-15 09:43:42 +00:00
Justin T. Gibbs
a8f7c59522 Properly prototype the ahc_done routine, and pass the right number of
arguments to it in one call in the reset code. (doh!)
1995-08-15 08:54:21 +00:00
Bill Paul
97cb50947e Submitted by: Bill Fenner <fenner@parc.xerox.com>
Fix for PR #510. The original problem was that __ivaliduser() was
failing to grant access to a machine listed in a +@netgroup specified
in /etc/hosts.equiv, even though the host being checked was most
certainly in the +@netgroup.

The /etc/hosts.equiv file in question looked like this:

localhost
+@netgroup

The reason for the failure was had to do with gethostbyaddr(). Inside
the __ivaliduser() routine, we need to do a gethostbyaddr() in order
to get back the actual name of the host we're trying to validate since
we're only passed its IP address. The hostname returned by gethostbyaddr()
is later passed as an argument to innetgr(). The problem is that
__icheckhost() later does a gethostbyname() of its own, which clobbers
the buffer returned by gethostbyaddr().

The fix is just to copy the hostname into a private buffer and use
_that_ as the 'host' argument that gets passed to innetgr().

And here I was crawling all over the innetgr() code thinking the
problem was there. *sigh*
1995-08-14 23:52:49 +00:00
Garrett Wollman
0699090b6a Added a copy of my little program to find the IP address of the outgoing
interface for a particular remote host.

Requested by: Joerg Wunsch <j@uriah.heep.sax.de>
1995-08-14 16:08:39 +00:00
Andras Olah
252ba7f75c Add myself (Andras Olah <olah@cs.utwente.nl>) to the contributors' list. 1995-08-14 12:26:54 +00:00
Satoshi Asami
bed0cb2f67 Added ports-plan9.
Reminded by:	rgrimes
1995-08-14 10:05:27 +00:00
Satoshi Asami
5e68dd71af Add the following people to the contributors' list.
Anthony Yee-Hang Chan <yeehang@netcom.com>
Bill Fenner <fenner@parc.xerox.com>
Brian Tao <taob@gate.sinica.edu.tw>
Chris Stenton <jacs@gnome.co.uk>
Chuck Robey <chuckr@Glue.umd.edu>
Cornelis van der Laan <nils@guru.ims.uni-stuttgart.de>
Craig Struble <cstruble@vt.edu>
Dave Chapeskie <dchapes@ale.zeus.leitch.com>
Don Whiteside <dwhite@anshar.shadow.net>
Eric L. Hernes <erich@lodgenet.com>
Frank Nobis <fn@trinity.radio-do.de>
Janusz Kokot <janek@gaja.ipan.lublin.pl>
Javier Martin Rueda <jmrueda@diatel.upm.es>
Josh MacDonald <jmacd@uclink.berkeley.edu>
Lucas James <Lucas.James@ldjpc.apana.org.au>
Marc Ramirez <mrami@mramirez.sy.yale.edu
Marc van Kempen <wmbfmk@urc.tue.nl>
Michael Smith <msmith@atrad.adelaide.edu.au>
NIIMI Satoshi <sa2c@and.or.jp>
Nobuyuki Koganemaru <kogane@kces.koganemaru.co.jp>
Peter Wemm <peter@haywire.DIALix.COM>
Philippe Charnier <charnier@lirmm.fr>
Rob Snow <rsnow@txdirect.net>
Richard Stallman <rms@gnu.ai.mit.edu>
Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
Tom Samplonius <tom@misery.sdf.com>
Torbjorn Granlund <tege@matematik.su.se>
Werner Griessl <werner@btp1da.phy.uni-bayreuth.de>

These are the people who appeared in the "Submitted by:" lines of the
commit messages that I still have in my mail archive.  Since they are
my commit messages, most of them are porters and port bug-fixers.

You will probably notice at least one major "celebrity" in there.  Yes
you're right, that's him, he sent me a patch for emacs (what else? :)

By the way, if you are a committer, now may be a good time to add
yourself to this list by yourself, provided you made at least one
commit before.  We don't do that for you, you have to claim credit
for yourself. :)
1995-08-14 09:44:54 +00:00
Justin T. Gibbs
7825f18854 Correctly timeout scb instead of active_scb which is carying the bus device
reset in this case.
1995-08-14 08:29:15 +00:00
Peter Wemm
b0b86ca14f Add skeleton manpage, so that make world works......
Correct the naming of the thing.. it's sicontrol, not siconfig as I'm used
to..
1995-08-14 01:56:17 +00:00
Peter Wemm
150e023bc9 Add simple hooks to create /dev entries for the Specialix driver
Reviewed by:
Submitted by:
Obtained from:
1995-08-13 22:05:51 +00:00
Bill Paul
367157222f Take the ypchfn/ypchsh stuff that was removed from passwd
and graft it into chpass.

Chpass can now tell when it's being asked to operate on an NIS
user and it displayes the appropriate message in the editor
template ("Changing NIS information for foo"). After the changes
have been made, chpass will promte the user for his NIS password.
If the password is correct, the changes are committed to yppasswdd.

Hopefully, this should make NIS more transparent to the end user.

Note that even the superuser needs to know a user's password before
he can change any NIS information (such is the nature of yppasswdd).
Also, changes to the password field are not permitted -- that's what
yppasswd is for. (The superuser may specify a new password, but
again, he needs to know the user's original password before he can
change it.)
1995-08-13 16:12:28 +00:00
Bill Paul
a3ce11a24d Remove the ypchfn/ypchsh stuff from passwd and leave just the
yppasswd support. The rest is moving into chpass.
1995-08-13 16:07:36 +00:00
Bill Paul
d877befa37 Small NIS tweak: frob pw_error() a little so that it can say either
'NIS information unchanged' or '/etc/master.passwd unchanged'
depending on which was is being modified (conditional on -DYP).

This is to save me the trouble of writing a whole other error
routine (nis_error()?) for the upcoming changes to passwd and
chpass.
1995-08-13 16:05:06 +00:00
Peter Wemm
1cf4903ecd Slight change to the location of the default termios flags to make them
a little easier to change, and revert to the "standard" specialix behavior
with CRTSCTS enabled in the initial cflag (but configurable).
1995-08-13 15:44:37 +00:00
Peter Wemm
99dc33eb71 Add sicontrol.. I hope this is the right way.. 1995-08-13 15:28:18 +00:00
Peter Wemm
e184d9c43e Bring in first cut of the user-mode control program for the Specialix driver.
Note that this is pretty light at the moment.. It's been gutted to remove
references to older features no longer in the driver.
Curses-based port monitoring is intended for the future.. :-)
Obtained from: Andy Rutter, <andy@acronym.co.uk>
1995-08-13 15:24:23 +00:00
Peter Wemm
bb65956af3 Next round of cleanups. Some more debugging hooks added, si_softc definition
moved to the driver proper, so that <machine/si.h> can be #included by user
programs without needing to include stuff from /sys/i386/isa..
Various (now) redundant features removed, eg: the locks on IXANY and HWFLOW
as these are now done with the "initial" and "lock" termios devices.
Note that it still (for reasons unknown) appears to be masking data to
7-bit with ppp - hence the cleanup to support the debugging via 'sicontrol'
1995-08-13 15:18:05 +00:00
Stefan Eßer
d54b39155a Return an extended status of XS_TIMEOUT (instead of XS_DRIVER_STUFFUP)
in case of an unspecific error (most likely software timeout after
SCSI bus reset).
This will make the generic SCSI code retry the failed command.
1995-08-13 14:59:38 +00:00
Mike Pritchard
c4b4d74391 Restore the reference to quot(8). 1995-08-13 09:39:23 +00:00
Bruce Evans
6097a1e94f Disable fifos in sioclose(). Closes PR 576. 1995-08-13 07:49:35 +00:00
Jordan K. Hubbard
f653006611 Substantial re-write. 1995-08-12 21:33:24 +00:00
Ollivier Robert
6362f186ec Add the DOS install tips from the install notes.
Add a section on /etc/sysconfig and the new configuration scheme
Corrections from Brad Midgley and David O'Brien (from the lists).
Formatting changes for the ASCII version.
Change about Motif from SWiM to Lasermoon.

The FreeBSD goal section needs more meat, Jordan :-)
1995-08-12 18:22:34 +00:00
Joerg Wunsch
b15032c631 Make this example actually compile again. Rename the module so that
it will get a unique .o file name, and convert the module's Makefile
to use <bsd.mod.mk>.
1995-08-12 17:26:37 +00:00
Joerg Wunsch
c1f31290b8 Do not omit the Makefiles when installing the examples; they are part
of them.  Also correct the omission of CVS files by abusing the find
syntax instead of grepping.

Closes PR #bin/636.
1995-08-12 16:28:10 +00:00
Peter Wemm
f8e782eea4 Add (apparently) Larry McVoy's warning.... 1995-08-12 15:49:12 +00:00
Andreas Schulz
1f4b92cffb Submitted by: careilly@tcd.ie Colman Reilly
replace the reference of quot(8) with a reference to quota(1).
Colman Reilly noticed the missing quot, GNATS bin/671.
1995-08-12 13:52:26 +00:00
Andreas Schulz
b192d8d90b Correct a little typo in LINT. trouble is -> trouble if. 1995-08-12 13:40:42 +00:00
David Greenman
d219a12e16 Do the mountlist traversal the way it was done in 4.4-Lite2. 1995-08-11 23:40:31 +00:00