Commit graph

1889 commits

Author SHA1 Message Date
Kris Kennaway afb5459b5d 10 X's for mktemp(). This seems to be free from race conditions. 2000-01-10 09:33:37 +00:00
Kris Kennaway aaae3130c9 10 X's for mkstemp(), and don't redefine _PATH_TMP 2000-01-10 09:25:32 +00:00
Peter Wemm d0e1503b8e - Style/bde changes.
- Don't use realpath as stat does the right thing.
  - Only check ufs filesystems in getmntpt.
  - Dont' bother checking that the ufs-mounted-on
    device is a special file.  It *must* be a special
    file, or ufs wouldn't have mounted it.

Submitted by:	Paul Saab <ps@yahoo-inc.com>
2000-01-10 08:21:22 +00:00
Peter Wemm 6920536967 - Forgot to nuke hotroot completely.
Submitted by:	Paul Saab <ps@yahoo-inc.com>
2000-01-10 08:18:18 +00:00
Andrey A. Chernov 80b50ed288 Add Latin2 conversion table
Submitted by:	Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
2000-01-08 17:17:32 +00:00
Andrey A. Chernov f26775b4f3 Allow #-comments in conversion table file 2000-01-08 16:47:55 +00:00
Yoshinobu Inoue 1e6f93d8f5 Merge bug fix from KAME repository.
This fix enables inet6 default route addition.

Suggested by: itojun
2000-01-08 14:28:46 +00:00
Boris Popov 0e6daab328 Some code cleanup based on the ideas from submitter.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
2000-01-08 11:21:51 +00:00
Luigi Rizzo 8c020cb775 Support per-flow queueing in dummynet.
Implement masks on UDP/TCP ports.
Large rewrite of the manpage.

Work supported by Akamba Corp.
2000-01-08 11:19:19 +00:00
Mike Smith 3285f64159 Don't try to include ipsec support if we are building for the install
floppy image.
2000-01-07 19:06:54 +00:00
Alexey Zelkin eee003f78e Document a waring that tunefs(8) emits when enabling/disabling
soft updates on an unmounted filesystem.

PR:		docs/15657
Submitted by:	Mark Ovens <mark@ukug.uk.FreeBSD.org>
2000-01-07 13:05:04 +00:00
Yoshinobu Inoue 9a4365d0e0 libipsec and IPsec related apps. (and some KAME related man pages)
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-06 12:40:54 +00:00
David E. O'Brien 2dc152529e Add chown(8)-like functionality. This will allow us to not use chown(8)
in MAKEDEV(8) -- removing the need of having /usr mounted.
2000-01-06 05:20:14 +00:00
Greg Lehey dac2aaa459 make_devices(): Create devices with permissions 640, not 740.
Pointed-out-by:	"Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
2000-01-05 23:56:33 +00:00
Matt Jacob 25412fdf38 Cast myminor/mymajor results to u_int so
comparisons to longs work correctly on
alpha.
2000-01-05 20:18:16 +00:00
Bruce Evans 90d1989e2a Refreshed the silly copy of <sys/disklabel.h>. The old copy was
seriously out of date.  It older than Lite1 (it has an undeprecated
DISKTAB but not _PATH_DISKTAB).
2000-01-05 17:34:00 +00:00
Greg Lehey ee5a9cbce2 Describe 'move' function.
Submitted-by:	Marius Bendiksen <marius@marius.scancall.no>

Describe state transitions in more detail, in particular how to revive
subdisks.
2000-01-05 05:59:08 +00:00
Greg Lehey 3bceb06958 Change parameters of some declarations.
Add declaration for vinum_mv.
2000-01-05 05:58:01 +00:00
Greg Lehey af5f43cbd7 makedev: Give all devices permissions 740.
Suggested-by:	Bernd Walter (ticso@cicely.de)

Add key pairs for 'mv' and 'move' (a synonym for 'mv').  Required for
the move command code submitted by Marius Bendiksen
<marius@marius.scancall.no>

make_devices: Don't create symlinks for drives if they are only
referenced.  Previously, spurious symlinks appeared in the current
directory.

Problem-reported-by:	Bernd Walter (ticso@cicely.de)

No longer create character devices, now that there is no difference.
Make the devices as character devices, not block devices.
2000-01-05 05:57:31 +00:00
Greg Lehey 95b9eac9db Explicitly type large scalar parameters to avoid compilation warnings
on alpha.

Submitted-by:	Bernd Walter <ticso@cicely.de>

Replace %q formats with %lld.

Desired-by:	bde

Remove #ifdef RAID5

vinum_lsi: If a subdisk is in 'reviving' state, check the status of
the revive and report the status of the revive.  In verbose mode,
display the pid of the reviver.
2000-01-05 05:56:47 +00:00
Greg Lehey 2768093ea6 Explicitly type large scalar parameters to avoid compilation warnings
on alpha.

Submitted-by:	Bernd Walter <ticso@cicely.de>

Add function vinum_mv, which moves subdisks to different drives.  This
function just does the low-level configuration changes; the resultant
subdisk is stale if it previously had any contents, otherwise it is
empty (i.e. in need of initializing if it's RAID-5).  We still need to
handle getting the contents moved over, but the current version will
suffice to migrate subdisks from a disk which has failed.

Submitted-by:	Marius Bendiksen <marius@marius.scancall.no>

vinum_start:  Get the revive block size right.
2000-01-05 05:55:57 +00:00
Poul-Henning Kamp 9f68791143 The dumpon sysctl only accept cdevs thse days.
Submitted by:	bde
2000-01-04 12:52:52 +00:00
Marcel Moolenaar c292cf660e Remove -g compiler flag. 2000-01-03 12:01:30 +00:00
Peter Wemm 571b29ee9b Make fsck(8) do a MNT_RELOAD after cleaning for all read-only mounted
filesystems, not just for the root fs.

Reviewed by:	mckusick
Submitted by:	Paul Saab <ps@yahoo-inc.com>
1999-12-30 16:32:40 +00:00
Ruslan Ermilov 749daf9e05 - do not dereference a null pointer.
- minor sanity.

PR:		15318
1999-12-29 13:53:13 +00:00
Yoshinobu Inoue 9b59fde4e0 Small bug fix and improvements
(1)added error check of if_nameindex() return value at getaddrinfo().
  (2)print out more detailed information when getaddrinfo() error value
     is EAI_SYSTEM.(in this case system error num is kept in errno)

(1) is Discovered by: jinmei@kame.net in KAME environment.
1999-12-28 05:37:39 +00:00
Yoshinobu Inoue 7d56d3747c Getaddrinfo(), getnameinfo(), and etc support in libc/net.
Several udp and raw apps IPv6 support.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-28 02:37:14 +00:00
Eivind Eklund 2b184c5087 Fix tab completion mounts (like /cdrom/)
Submitted by:	Martin Blapp <mb@imp.ch>
1999-12-26 16:34:53 +00:00
David E. O'Brien 7c815b0db8 Fix bogus initialization of using a sledge hammer to quite -Wall, bad
indention, and size issue between 32 and 64bit machines.

Submitted by:	bde
1999-12-21 07:41:07 +00:00
Bill Fumerola cf1cb03897 'clri' takes an argument.
Reviewed by:	phk
1999-12-20 07:47:57 +00:00
Kenneth D. Merry b9e3972ac6 Fix the example in the bugs section. 1999-12-17 00:28:05 +00:00
Nik Clayton ae11003873 Document that securelevel >= 2 clamps time changes to at most one second.
PR:             docs/14449
Submitted by:   James FitzGibbon <james@targetnet.com>
1999-12-16 02:15:53 +00:00
Bill Fumerola dfed87fcea Spelling fix (manuall -> manual)
Submitted by:	Jeroen C. van Gelderen <jeroen@vangelderen.org>
1999-12-16 01:25:17 +00:00
Bill Fumerola f06590f690 Spelling correction (adress -> address) 1999-12-16 01:05:48 +00:00
Guido van Rooij 659c54f0bd Add MAINTAINER tag.
The Makefiles in sbin/{ipfstat,ipmon,ipnat} were repository copied
from the respective directories in usr.sbin
1999-12-15 19:48:02 +00:00
Yoshinobu Inoue 57a40e9ee7 Enable INET6 by default.
This should be OK on non INET6 enabled kernel.
1999-12-15 05:13:22 +00:00
Semen Ustimenko daabca392e First version of HPFS stuff. 1999-12-09 19:10:13 +00:00
David E. O'Brien 3eb8166fc0 When erroring out that there is not enough space to write the corefile,
tell the user how much space is avaible for writing the corefile, and how
much space we wanted.
1999-12-08 06:22:58 +00:00
Yoshinobu Inoue cfa1ca9dfa udp IPv6 support, IPv6/IPv4 tunneling support in kernel,
packet divert at kernel for IPv6/IPv4 translater daemon

This includes queue related patch submitted by jburkhol@home.com.

Submitted by: queue related patch from jburkhol@home.com
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-07 17:39:16 +00:00
Guido van Rooij 46eae78a17 Move basic ifilter utils to sbin where they shold have been committed by
me in the first place. While we're at it: add MAINTAINER line
1999-12-06 20:50:04 +00:00
Sheldon Hearn f0f4f75620 Correct the ttys.5 and init.8 manpages with respect to the incorrect
assumption that only getty processes can be managed.  Describe the
SysV-like ability to keep arbitrary long-running processes alive
using a non-device first field in /etc/ttys.

PR:		12767
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-12-06 09:07:14 +00:00
Archie Cobbs 56345b0f5c Turn on 'ipfw tee'. Update man page. Please note (from the man page):
Packets that match a tee rule should not be immediately accepted,
    but should continue going through the rule list.  This may be fixed
    in a later version.

I hope to fix this soon in a separate commit.
1999-12-06 01:00:24 +00:00
Marcel Moolenaar fb2ef61513 Properly align the columns of the header on Alpha. 1999-12-04 13:36:22 +00:00
David E. O'Brien 2963da13bf Add -q quite mode. 1999-12-04 01:29:43 +00:00
Semen Ustimenko 9300c69625 Added ntfs filesystem to be exported. 1999-12-03 20:23:53 +00:00
Kirk McKusick 461bb71e4f Print out the filesystem read counts now collected by the kernel.
Submitted by:	Craig A Soules <soules+@andrew.cmu.edu>
Reviewed by:	Kirk McKusick <mckusick@mckusick.com>
1999-12-01 02:16:51 +00:00
Andrey A. Chernov c34957baa7 Accept both types of devices to work with older kernels too
Fix confusing message
1999-11-30 16:27:30 +00:00
Andrey A. Chernov 4805de8700 Allow character devices too 1999-11-30 03:48:04 +00:00
Poul-Henning Kamp ee072c08d0 Convert dumpon to work on character devices instead of block devices.
NB: You may need to change your /etc/rc.conf!
1999-11-28 16:25:17 +00:00
Poul-Henning Kamp ff180522d8 Make fsck even more char/blk dev tolerant. 1999-11-27 20:02:27 +00:00