summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed DPADD.ru2001-06-231-2/+2
| | | | Submitted by: bde
* WARNS= -> WARNS?=dd2001-06-221-1/+1
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Make it much more obvious that the use of NQNFS is discouraged (theiedowse2001-06-221-9/+6
| | | | | | | | | | | NQNFS code is ancient, bug-ridden, and should probably be removed). The wording here was very confusing; it was easy to get the impression that NQNFS is an extension to NFSv3 when in fact it just uses some NFSv3-like extensions on top of NFSv2. As witnessed by the mailing lists and PRs, some people were reading the description and deciding that NQNFS was what they wanted to use. MFC after: 1 week
* Fix compilation error on alpha.mjacob2001-06-211-1/+1
|
* Revert the previous commit on objection from the maintainer. Ijoe2001-06-211-3/+2
| | | | | | missed that natd has a -v option that will give similar functionality. Requested by: ru
* When reporting that a packet can't be written back, usually becausejoe2001-06-211-2/+3
| | | | | | | of a restrictive firewall rule, also report detail on the packet that caused the failure. MFC after: 3 days
* Constify mdmaybeload(), add a prototype for usage(), and get rid of add2001-06-212-3/+6
| | | | sizeof(int) == sizeof(long) assumption; clamp down with WARNS=2.
* Don't assume the length of MD_NAME is 2.dd2001-06-211-2/+2
|
* Fail if -s isn't specified for an MD_MALLOC or MD_SWAP disk; thedd2001-06-211-1/+7
| | | | | | | | | | driver itself obviously won't configure such a disk, but the error returned (EDOM) is more cryptic to the average user than it should be. Also assert that the argument to -u is in fact a valid unit; don't just accept any string to mean 0. Approved by: phk
* Add a missing word.dd2001-06-201-1/+1
| | | | Submitted by: Alexander Leidinger <Alexander@Leidinger.net>
* Document the interactive command `what'.mikeh2001-06-201-0/+4
| | | | | Reviewed by: ru MFC after: 2 weeks
* Fix typo which could lead to memory leak.mikeh2001-06-201-1/+1
| | | | | PR: misc/28283 MFC after: 2 weeks
* Add a SEE ALSO section.dd2001-06-201-0/+6
|
* Miscellaneous mdoc(7) fixes; also expand contractions.dd2001-06-201-22/+19
| | | | Submitted by: ru
* This command has more than four options.dd2001-06-191-1/+1
|
* Hook mdmfs into the build.dd2001-06-181-0/+1
|
* Introduce mdmfs(8), a wrapper around mdconfig(8), disklabel(8),dd2001-06-184-0/+930
| | | | | | | newfs(8), and mount(8) that mimics the command line option set of the deprecated mount_mfs(8). Approved by: jkh, phk, -hackers
* modfied sysctl command to allow setting values > 2GB if the mib supports it.pirzyk2001-06-181-1/+19
| | | | | | PR: kern/21132 Reviewed by: no objections to by -arch MFC after: 1 month
* Pick up the correct headers from sys/contrib/ipfilter/netinet.ru2001-06-183-3/+9
|
* This commit was generated by cvs2svn to compensate for changes in r78344,obrien2001-06-168-0/+1800
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import the NetBSD 1.5 RC system.obrien2001-06-168-0/+1800
| | | | | | | | | | Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names.
* | Allow route(8) to create "proxy only" published ARP entries.ru2001-06-123-5/+24
| | | | | | | | | | PR: bin/12357 Submitted by: Craig Leres <leres@ee.lbl.gov>
* | Fixed the -iface breakage introduced with the latest KAME mergeru2001-06-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in revision 1.48. It is pretty valid and often feasible to use a non-point-to-point interface as the gateway. One might, for example, use this to route some hosts through an ARP on a local interface, without having to assign an additional IP address: Script started on Tue Jun 12 16:16:09 2001 # ifconfig rl0 inet rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.4.115 netmask 0xffffff00 broadcast 192.168.4.255 # netstat -arn -finet | grep -w rl0 192.168.4 link#1 UC 3 0 rl0 => 192.168.4.65 0:d0:b7:16:9c:c6 UHLW 1 0 rl0 1197 # route add -net 192.168.100 -iface rl0 add net 192.168.100: gateway rl0 # ping 192.168.100.1 PING 192.168.100.1 (192.168.100.1): 56 data bytes 64 bytes from 192.168.100.1: icmp_seq=0 ttl=255 time=0.551 ms 64 bytes from 192.168.100.1: icmp_seq=1 ttl=255 time=0.268 ms ^C --- 192.168.100.1 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.268/0.410/0.551/0.142 ms # netstat -arn -finet | grep -w rl0 192.168.4 link#1 UC 3 0 rl0 => 192.168.4.65 0:d0:b7:16:9c:c6 UHLW 1 0 rl0 1165 192.168.100 link#1 UCSc 1 0 rl0 => 192.168.100.1 0:d0:b7:16:9c:c6 UHLW 1 4 rl0 1192 Script done on Tue Jun 12 16:17:12 2001
* | Backout previous change (removal of -I${.CURDIR}/../../sys/netinet).ru2001-06-113-3/+3
| | | | | | | | | | | | | | | | | | | | This is needed to pick up the right headers. Wrong headers from src/contrib/ipfilter are used otherwise. The right fix would be to fix contrib/ipfilter C sources to pick up headers from <sys/netinet>. Noticed by: peter
* | Sync with recent KAME.ume2001-06-1111-679/+1833
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge. TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT. Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks
* | Add 'SKIP' as an action so that verification works for multivolume restores.mjacob2001-06-111-1/+1
| | | | | | | | | | | | | | | | Tested with filesystem files. PR: 27218 Submitted by: mad1@tapil.com MFC after: 3 weeks
* | Correct typo.grog2001-06-111-2/+2
| | | | | | | | Submitted by: Normand Leclerc <leclercn@videotron.ca>
* | Since we use getopt (in rev. 1.12), there's no need for the case's fordd2001-06-091-2/+0
| | | | | | | | | | | | | | | | the individual options to increment argv and decrement argc. This caused the -T option to swallow an extra argument. PR: 27982 Submitted by: Samuel Greear <sgreear@vsni.com>
* | Normalize the use of sizeof according to style(9).dd2001-06-091-19/+19
| | | | | | | | Reviewed by: md5(1)
* | dumpmag is 'u_long dumpmag' in the kernel, not 'int'. If this worked onpeter2001-06-091-4/+6
| | | | | | | | | | | | the Alpha, it was because of luck that it was little endian. Tidy up the dumpsize/dumppages confusion and the out of date comments.
* | Fix a "this sentence no verb" grammar bogon.schweikh2001-06-081-1/+1
| | | | | | | | MFC after: 1 week
* | When changing an indirect route, kernel routing code allocatesru2001-06-082-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a route to the gateway and caches it in the route structure. It may happen (if the routing table is screwed) that the gateway route is the same route as the one being modified, in which case a kernel reports EDQUOT. Be more verbose about this: # route add -net 10 192.168.4.65 add net 10: gateway 192.168.4.65 # netstat -rn -finet Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.4.65 UGSc 1 7 rl0 10 192.168.4.65 UGSc 0 0 rl0 127.0.0.1 127.0.0.1 UH 0 178 lo0 192.168.4 link#1 UC 2 0 rl0 => 192.168.4.65 0:d0:b7:16:9c:c6 UHLW 2 0 rl0 1123 Before: # route change -net 10 10.0.0.1 route: writing to routing socket: Disc quota exceeded change net 10: gateway 10.0.0.1: Disc quota exceeded After: # ./route change -net 10 10.0.0.1 route: writing to routing socket: Disc quota exceeded change net 10: gateway 10.0.0.1: gateway uses the same route PR: bin/1093, misc/26833
* | Change the host/bits syntax introduced in route.c,v 1.24 to theru2001-06-082-9/+8
| | | | | | | | | | | | | | net/bits syntax, for consistency with netstat(1) in particular. OK'ed by: phk MFC after: 1 week
* | Remove xref to blackhole(4). sysctl has nothing to do withdd2001-06-081-1/+0
| | | | | | | | | | | | | | | | | | | | blackhole(4), except that blackhole(4) uses sysctl's. This xref obviously isn't appropriate unless we want to xref all the other man pages which mention sysctls, which we obviously don't (we may want to list those sysctls, but that's another story). PR: 27937 Submitted by: yar
* | 'int dumpsize; /* memory size in bytes */' is not good for machinespeter2001-06-081-3/+5
| | | | | | | | with 2GB or more of ram.
* | cleanup to get rid of most warnings on alphatomsoft2001-06-073-134/+152
| | | | | | | | | | | | | | and yes now it also works on alpha Reviewed by: chm MFC after: 3 weeks
* | Correct cross-reference:sobomax2001-06-072-2/+2
| | | | | | | | | | | | portmap.8 --> rpcbind.8 Submitted by: .Xr testing script
* | - Exit 1 if "add", "change", or "delete" operation fails.ru2001-06-072-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | PR: bin/12489 - Use inet_ntoa(3) where it should have been used. This part of code simply wasn't converted to the "new" style after the routename() function was converted from the protocol-generic version to protocol-specific version in CSRG revision 5.6. MFC after: 1 week
* | Mention Alexandre Peixoto's share/examples/ipfw/change_rules.sh in thechris2001-06-061-0/+3
| | | | | | | | | | | | checklist. MFC after: 1 week
* | Fix a byteorder problem in a diagnostic message.phk2001-06-061-1/+2
| | | | | | | | | | PR: 16625 Submitted by: Peter Jeremy <peter.jeremy@ALCATEL.COM.AU>
* | fix a bug of a only partitally initialization which could resulttomsoft2001-06-051-1/+2
| | | | | | | | | | | | | | in an unclean filesystem after growing by a large amount of cylinder groups Reviewed by: chm
* | Invert the meaning of the -d option (i.e. default to *not* list dynamic rules,des2001-06-042-1119/+1160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but list them if -d was specified). Avoid listing expired dynamic rules unless the (new) -e option was specified. If specific rule numbers were listed on the command line, and the -d flag was specified, only list dynamic rules that match the specified rule numbers. Try to partly clean up the bleeding mess this file has become. If there is any justice in this world, the responsible parties (you know who you are!) should expect to wake up one morning with a horse's head in their bed. The code still looks like spaghetti, but at least now it's *properly intented* spaghetti (hmm? did somebody say "tagliatelle"?).
* | ARP works on networks other than Ethernet.dd2001-06-021-2/+5
| | | | | | | | | | | | PR: 22062 Submitted by: Christian Weisgerber <naddy@mips.inka.de>, Brooks Davis <brooks@one-eyed-alien.net>
* | Mention the 'ether' parameter.dd2001-06-021-0/+4
| | | | | | | | | | | | PR: 23767 Submitted by: Maxime Henrion <mux@qualys.com>, Brooks Davis <brooks@one-eyed-alien.net>
* | - VFS_SET(msdos) -> VFS_SET(msdosfs)ru2001-06-0113-709/+20
| | | | | | | | | | | | - msdos.ko -> msdosfs.ko - mount_msdos(8) -> mount_msdosfs(8) - "msdos" -> "msdosfs" compatibility glue in mount(8)
* | Remove vestiges of MFS.ru2001-06-013-8/+6
| |
* | Remove unused variable (descr) in show_var().dd2001-06-011-1/+1
| | | | | | | | | | PR: 22582 Submitted by: Giorgos Keramidas <charon@gray.westgate.gr>
* | Don't link ${BINDIR}/newfs to nowhere.bde2001-05-301-3/+1
| | | | | | | | | | Don't clutter this Makefile (not to mention the error output) with $(BDECFLAGS}.
* | Remove -DMFS from CFLAGS.dd2001-05-291-1/+1
| |
* | Remove all references to MFS.dd2001-05-291-92/+2
| |
OpenPOWER on IntegriCloud