Commit Graph

21113 Commits

Author SHA1 Message Date
Joerg Wunsch 7d322c735e For multi-session CD-ROMs, we have to account for previous sessions as
well in volume_space_size.  Otherwise, NFS exports won't work.
1997-04-29 17:11:51 +00:00
Joerg Wunsch d6ef03d3fa Userland part of ISO9660 multi-session support. mount_cd9660(8) will
now by default mount the last data track (thus last session), as
opposed to the very first session it has been mounting previously.
This is consistent with the ISO9660 multi-session idea, and the way
other operating systems are working.

There's support to mount arbitrary sessions using the -s option.  This
way, you can simulate multi-session CDs on something like vn devices
that don't support CDIO* ioctl commands.  You can also force the
historic behaviour with

	mount -t cd9660 -o -s=0 /dev/cd0a /cdrom
1997-04-29 15:56:40 +00:00
Joerg Wunsch 3e1cf43148 Add support for ISO9660 multi-session CD-ROMs. This is just nothing
but searching the directory on something else than the default
location.

NB: this comprises an interface change to the mount_cd9660(8)
utility (commit will follow).  You need to rebuild both.

I've got similar patches for RELENG_2_2, should i commit them too?
1997-04-29 15:52:53 +00:00
David Nugent ea4e54b942 Adds anon ftp virtual host capability to ftpd, using /etc/ftphosts for
definition of a system's virtual hosts.
1997-04-29 12:42:08 +00:00
Doug Rabson e9dff5569a Enable whiteout code since we now have the lite2 support for them. 1997-04-29 10:03:10 +00:00
Jordan K. Hubbard 8681ebdcd1 YAMF22 1997-04-29 09:14:24 +00:00
Doug Rabson a0bc68a48e Don't try to look up unionfs' <above>, <below> keywords as hostnames. 1997-04-29 09:10:11 +00:00
John-Mark Gurney 24685462af add an Id line, minor mdoc fix ups
add ftp to list of facilities in syslog.conf
Closes PR#3389
Submitted-by: Pius Fischer
1997-04-29 09:09:40 +00:00
Doug Rabson 64a094f9de Use realpath() on the source as well as the target otherwise it can be
impossible to unmount a union which was mounted with a relative pathname.
1997-04-29 09:09:09 +00:00
Doug Rabson 4b15c06830 Fix so that amd can build with hesiod support.
Submitted by:	Kevin Van Maren <vanmaren@marker.cs.utah.edu>
1997-04-29 08:43:52 +00:00
Doug Rabson f7411a35d2 Fix makefiles so they work without having to 'make depend' 1997-04-29 08:42:34 +00:00
John-Mark Gurney 2c0d39ad75 add md5(1) to SEE ALSO section.
Closes PR#3409
Submitted-by: Josh Gilliam
1997-04-29 08:41:26 +00:00
Jordan K. Hubbard 6a2d726b82 Dynamically adjust size of displayed username to the longest username which
appears, not the longest _maximum_ username (this should probably also go
into 2.2, for the day when we bump up the username length there too).

Submitted-By: Terry Lambert <terry@lambert.org>
1997-04-29 05:26:05 +00:00
John Polstra 298c8e3d6b Fix a bug that caused some false mismatches when both FNM_PATHNAME
and FNM_LEADING_DIR were specified and the pattern ended with "*".
Example: pattern="src/usr.sbin/w*", string="src/usr.sbin/watch/watch.8,v".
This should match, but did not.
1997-04-29 03:24:57 +00:00
KATO Takenori 1a0345d543 Synchronize with sys/i386/conf/options.i386 and sys/i386/isa/wd.c
revisions 1.43 and 1.129, respectively.
1997-04-29 03:15:47 +00:00
Steve Passe 6b178bfd1b added mptable to directory list of usr.sbin programs. 1997-04-29 03:09:01 +00:00
Steve Price 86bdf9bc0b #include <stdlib.h> in the C++ case and declare getenv and realloc
in the C case so that we don't have to depend on stdlib.h being
present.

Submitted by:	Bruce Evans <bde@freefall.freebsd.org>
1997-04-29 03:07:45 +00:00
Steve Passe 2b33a0f919 add a userland program for SMP support
mptable examines and displays the MP table of an SMP motherboard.
1997-04-29 03:06:35 +00:00
Steve Price 600e3340ca Keep style consistent.
Submitted by:	Bruce Evans <bde@freefall.freebsd.org>
1997-04-29 03:05:38 +00:00
John Polstra 3b9d3fa4fa Set the N_EXT (external) flag for all weak symbols. It makes no
sense to have a weak symbol that is not externally visible.  This
fixes many of the "relocation burb" warnings produced when compiling
C++ code with "-fpic".  Beyond eliminating warnings, it also makes
some things work that didn't work before.
1997-04-29 02:11:48 +00:00
KATO Takenori a9320ff3bd Revised fix for locking violation when unionfs calls vput with
UN_KLOCK flag.

When UN_KLOCK is set, VOP_UNLOCK should keep uppervp locked and clear
UN_ULOCK flag.  To do this, when UN_KLOCK is set, (1) union_unlock
clears UN_ULOCK and does not clear UN_KLOCK, (2) union_lock() does not
access uppervp and does not clear UN_KLOCK, and (3) callers of
vput/VOP_UNLOCK should clear UN_KLOCK.  For example, vput becomes:

	SETKLOCK(union_node);
	vput(vnode);
	CLEARKLOCK(union_node);

where SETKLOCK macro sets UN_KLOCK and CLEARKLOCK macro clears
UN_KLOCK.
1997-04-29 02:06:07 +00:00
Stefan Eßer 862b403b04 Move CMD640 option from kernel Makefile into opt_wd.h
Submitted by:		Wolfgang Helbig <helbig@mx.ba-stuttgart.de>
1997-04-28 19:26:18 +00:00
KATO Takenori e17f70a00d Synchronize with sys/i386/isa/isa.c revision 1.83. 1997-04-28 15:51:15 +00:00
KATO Takenori 9a2660b252 Synchornize with sys/i386/conf/options.i386 revision 1.42. 1997-04-28 15:49:55 +00:00
KATO Takenori 4c59a618e7 Synchronize with sys/i386/conf/Makefile.i386 revision 1.95. 1997-04-28 15:48:49 +00:00
Bill Paul 27cfb28087 Back out unnecessary overly-paranoid paranoia test from here too; yp_access()
does the right thing already.
1997-04-28 14:22:31 +00:00
Bill Paul cc7ff6f503 Back out one of my paranoia tests from the last commit here; yp_access()
already deals with it appropriately. (You know you've been working too
hard when you forget how your own code works.)
1997-04-28 14:18:38 +00:00
Garrett Wollman aeb83a466a Condition SO_PRIVSTATE twiddling on the definedness of SO_PRIVSTATE.
(This was done as a #ifdef to keep source compatibility between 2.2 and 3.0.)
1997-04-28 13:55:07 +00:00
Jordan K. Hubbard 3de5b08eda Adapt to rc.conf file format. 1997-04-28 10:31:14 +00:00
Jordan K. Hubbard 2056a6faec YAMF22 1997-04-28 10:14:45 +00:00
Jordan K. Hubbard 675a840372 YAMF22 1997-04-28 10:07:21 +00:00
Jordan K. Hubbard 593230d218 Back out mount change here (which is the only branch it should have
occupied in the first place :)
1997-04-28 09:35:59 +00:00
Jordan K. Hubbard 0f10d94d32 Mount MFS read/write as in days of yore. 1997-04-28 09:15:18 +00:00
Steve Passe 7b2a188c7a cleaned out an old FIXME. 1997-04-28 08:39:48 +00:00
Jordan K. Hubbard 91c0a4322b YAMF22 1997-04-28 07:35:37 +00:00
Jordan K. Hubbard 7499a04abf YAMF22 1997-04-28 06:15:49 +00:00
Jordan K. Hubbard 4a2d437732 YAMF22 1997-04-28 05:51:57 +00:00
Steve Price 939a4c24e5 Change spelling of ECBDIC to EBCDIC. Closes PR #3402
Submitted by:	h-nokubi@nmit.mt.nec.co.jp
1997-04-28 04:07:29 +00:00
Steve Price 5382d20cf1 Turn on the new type builtin. 1997-04-28 03:50:07 +00:00
Steve Price 7dce0a1e9f Fix problems using -Wwrite-strings and -Wcast-qual with yacc generated
parsers.  Closes PR #2792.

Submitted by:	Tim Vanderhoek
1997-04-28 03:36:13 +00:00
Steve Price 96522b887c Sync with NetBSD's revision 1.29 of this file.
Obtained from: NetBSD
1997-04-28 03:28:43 +00:00
Steve Price f4eb55ba86 Remove an extra semicolon and nuke register keyword usage. 1997-04-28 03:27:12 +00:00
Steve Price 79f569479b Fix redirection of unopened file descriptors and nuke register
keyword usage.

Obtained from: NetBSD
1997-04-28 03:25:13 +00:00
Steve Price 7920a31db6 Revert changes from rev 1.16 to 1.17 for now. Closes PR 2879. 1997-04-28 03:22:09 +00:00
Steve Price ab72124fb4 mdoc-ify and cleanup UNIMPLEMENTED messages. Closes PR 2880. 1997-04-28 03:20:09 +00:00
Steve Price 115359949d Reorder declarations slightly. 1997-04-28 03:17:51 +00:00
Steve Price 904a3dc819 Avoid a possible NULL pointer dereference, nuke register usage,
and remove an unnecessary reset.

Obtained from: NetBSD
1997-04-28 03:16:12 +00:00
Steve Price 7e461ef4f3 Nuke register keyword usage, #if -> #ifdef, and avoid void *
arithmetic.

Obtained from: NetBSD
1997-04-28 03:14:04 +00:00
Steve Price 4ca7fe3b96 Nuke register keyword usage, rename pread to preadfd, and open
input files FD_CLOEXEC.

Obtained from: NetBSD
1997-04-28 03:11:52 +00:00
Steve Price 62730a71b9 When NO_HISTORY is defined and the history command is used
show an error message.

Inspired by: NetBSD
1997-04-28 03:10:31 +00:00