diff options
author | peter <peter@FreeBSD.org> | 1995-12-30 19:02:48 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-12-30 19:02:48 +0000 |
commit | 9e723d65b3dbe4a3c599923d35ce1e637e0d32e1 (patch) | |
tree | 392650eb6fe24a669868f9d9d63ff6af2040e501 /usr.sbin | |
parent | 252487f3dde38c3e41336534067ea6fe9c47d787 (diff) | |
download | FreeBSD-src-9e723d65b3dbe4a3c599923d35ce1e637e0d32e1.zip FreeBSD-src-9e723d65b3dbe4a3c599923d35ce1e637e0d32e1.tar.gz |
recording cvs-1.6 file death
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/arp/arp4.4 | 124 | ||||
-rw-r--r-- | usr.sbin/sliplogin/slip.hosts | 11 | ||||
-rw-r--r-- | usr.sbin/sliplogin/slip.login | 12 | ||||
-rw-r--r-- | usr.sbin/update/Makefile | 6 | ||||
-rw-r--r-- | usr.sbin/update/update.8 | 74 | ||||
-rw-r--r-- | usr.sbin/update/update.c | 75 |
6 files changed, 0 insertions, 302 deletions
diff --git a/usr.sbin/arp/arp4.4 b/usr.sbin/arp/arp4.4 deleted file mode 100644 index 0cd7161..0000000 --- a/usr.sbin/arp/arp4.4 +++ /dev/null @@ -1,124 +0,0 @@ -.\" Copyright (c) 1985, 1986, 1988, 1994 -.\" The Regents of the University of California. All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the University of -.\" California, Berkeley and its contributors. -.\" 4. Neither the name of the University nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" @(#)arp4.4 6.5 (Berkeley) 4/18/94 -.\" -.Dd April 18, 1994 -.Dt ARP 4 -.Os BSD 4 -.Sh NAME -.Nm arp -.Nd Address Resolution Protocol -.Sh SYNOPSIS -.Em "pseudo-device ether" -.Sh DESCRIPTION -The Address Resolution Protocol (ARP) is a protocol used to dynamically -map between Internet host addresses and 10Mb/s Ethernet addresses. -It is used by all the 10Mb/s Ethernet interface drivers. -It is not specific to Internet protocols or to 10Mb/s Ethernet, -but this implementation currently supports only that combination. -.Pp -ARP caches Internet-Ethernet address mappings. -When an interface requests a mapping for an address not in the cache, -ARP queues the message which requires the mapping and broadcasts -a message on the associated network requesting the address mapping. -If a response is provided, the new mapping is cached and any pending -message is transmitted. -ARP will queue at most one packet while waiting for a response to a -mapping request; -only the most recently ``transmitted'' packet is kept. -If the target host does not respond after several requests, -the host is considered to be down for a short period (normally 20 seconds), -allowing an error to be returned to transmission attempts during this -interval. -The error is -.Li EHOSTDOWN -for a non-responding destination host, and -.Li EHOSTUNREACH -for a non-responding router. -.Pp -The ARP cache is stored in the system routing table as -dynamically-created host routes. -The route to a directly-attached Ethernet network is installed as a -.Dq cloning -route (one with the -.Li RTF_CLONING -flag set), -causing routes to individual hosts on that network to be created on -demand. -These routes time out periodically (normally 20 minutes after validated; -entries are not validated when not in use). -An entry for a host which is not responding is a -.Dq reject -route (one with the -.Li RTF_REJECT -flag set). -.Pp -ARP entries may be added, deleted or changed with the -.Xr arp 8 -utility. -Manually-added entries may be temporary or permanent, -and may be -.Dq published , -in which case the system will respond to ARP requests for that host -as if it were the target of the request. -.Pp -In the past, -ARP was used to negotiate the use of a trailer encapsulation. -This is no longer supported. -.Pp -ARP watches passively for hosts impersonating the local host (i.e. a host -which responds to an ARP mapping request for the local host's address). -.Sh DIAGNOSTICS -.Em "duplicate IP address %x!! sent from ethernet address: %x:%x:%x:%x:%x:%x." -ARP has discovered another host on the local network which responds to -mapping requests for its own Internet address with a different Ethernet -address, generally indicating that two hosts are attempting to use the -same Internet address. -.Sh SEE ALSO -.Xr inet 4 , -.Xr route 4 , -.Xr arp 8 , -.Xr ifconfig 8 , -.Xr route 8 -.sp -.Rs -.%A Plummer, D. -.%B "An Ethernet Address Resolution Protocol" -.%T RFC826 -.Re -.Rs -.%A Leffler, S.J. -.%A Karels, M.J. -.%B "Trailer Encapsulations -.%T RFC893 -.Re - diff --git a/usr.sbin/sliplogin/slip.hosts b/usr.sbin/sliplogin/slip.hosts deleted file mode 100644 index f6ebf40..0000000 --- a/usr.sbin/sliplogin/slip.hosts +++ /dev/null @@ -1,11 +0,0 @@ -# @(#)slip.hosts 8.1 (Berkeley) 6/6/93 -# -# login local-addr remote-addr mask opt1 opt2 -# (normal,compress,noicmp) -# -Schez vangogh chez 0xffffff00 compress -Sjun vangogh 128.32.130.36 0xffffff00 normal -Sleconte vangogh leconte 0xffffff00 compress -Sleeb vangogh leeb 0xffffff00 compress -Smjk vangogh pissaro-sl 0xffffff00 compress -Soxford vangogh oxford 0xffffff00 compress diff --git a/usr.sbin/sliplogin/slip.login b/usr.sbin/sliplogin/slip.login deleted file mode 100644 index 3c70095..0000000 --- a/usr.sbin/sliplogin/slip.login +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# -# @(#)slip.login 8.1 (Berkeley) 6/6/93 - -# -# generic login file for a slip line. sliplogin invokes this with -# the parameters: -# 1 2 3 4 5 6 7-n -# slipunit ttyspeed loginname local-addr remote-addr mask opt-args -# -/sbin/ifconfig sl$1 inet $4 $5 netmask $6 -exit diff --git a/usr.sbin/update/Makefile b/usr.sbin/update/Makefile deleted file mode 100644 index ea20d05..0000000 --- a/usr.sbin/update/Makefile +++ /dev/null @@ -1,6 +0,0 @@ -# @(#)Makefile 8.1 (Berkeley) 6/6/93 - -PROG= update -MAN8= update.0 - -.include <bsd.prog.mk> diff --git a/usr.sbin/update/update.8 b/usr.sbin/update/update.8 deleted file mode 100644 index 78665fa..0000000 --- a/usr.sbin/update/update.8 +++ /dev/null @@ -1,74 +0,0 @@ -.\" Copyright (c) 1991, 1993 -.\" The Regents of the University of California. All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the University of -.\" California, Berkeley and its contributors. -.\" 4. Neither the name of the University nor the names of its contributors -.\" may be used to endorse or promote products derived from this software -.\" without specific prior written permission. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" @(#)update.8 8.3 (Berkeley) 4/19/94 -.\" -.Dd April 19, 1994 -.Dt UPDATE 8 -.Os -.Sh NAME -.Nm update -.Nd flush internal filesystem caches to disk frequently -.Sh SYNOPSIS -.Nm update -.Sh DESCRIPTION -The -.Nm update -command helps protect the integrity of disk volumes -by flushing -volatile cached filesystem data -to disk at thirty second intervals. -.Nm Update -uses the -.Xr sync 2 -function call to do the task. -.Pp -.Nm Update -is commonly invoked at startup time by -.Xr rc 8 -when the system goes multi-user. -.Sh SEE ALSO -.Xr sync 2 , -.Xr fsck 8 , -.Xr init 8 , -.Xr rc 8 , -.Xr sync 8 -.Sh BUGS -It is possible on some systems that a -.Xr sync -occurring simultaneously with a crash may cause -file system damage. See -.Xr fsck 8 . -.Sh HISTORY -An -.Nm update -command appeared in -.At v6 . diff --git a/usr.sbin/update/update.c b/usr.sbin/update/update.c deleted file mode 100644 index ae83ad1..0000000 --- a/usr.sbin/update/update.c +++ /dev/null @@ -1,75 +0,0 @@ -/*- - * Copyright (c) 1987, 1990, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - -#ifndef lint -static char copyright[] = -"@(#) Copyright (c) 1987, 1990, 1993\n\ - The Regents of the University of California. All rights reserved.\n"; -#endif /* not lint */ - -#ifndef lint -static char sccsid[] = "@(#)update.c 8.1 (Berkeley) 6/6/93"; -#endif /* not lint */ - -#include <sys/time.h> -#include <signal.h> -#include <stdlib.h> -#include <stdio.h> -#include <unistd.h> - -main() -{ - struct itimerval value; - void mysync(); - - daemon(0, 0); - - (void)signal(SIGALRM, mysync); - - value.it_interval.tv_sec = 30; - value.it_interval.tv_usec = 0; - value.it_value = value.it_interval; - if (setitimer(ITIMER_REAL, &value, NULL)) { - perror("update: setitimer"); - exit(1); - } - for (;;) - sigpause(sigblock(0L)); - /* NOTREACHED */ -} - -void -mysync() -{ - (void)sync(); -} |