summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Respect the protocol when looking the port up by service name.ru2000-10-041-15/+22
| | | | PR: 21742
* Do not force argument to ``ipid'' modifier be in hex, andru2000-10-031-9/+11
| | | | accept value of zero as valid for IP Identification field.
* Fixed the printing of TCP flags.ru2000-10-031-1/+1
|
* Add new fields for more granularity:billf2000-10-021-6/+169
| | | | | | | IP: version, tos, ttl, len, id TCP: seq#, ack#, window size Reviewed by: silence on freebsd-{net,ipfw}
* - Documented the host/bits syntax for destination argument.ru2000-09-291-3/+13
| | | | - Documented that netmask could be specified with third argument.
* Interpret the address argument as network-type address for `destination'ru2000-09-291-13/+12
| | | | | | argument only. Before that, the `route add default gateway' first tried the `gateway' as network address and passed its name to getnetbyname(3), which in the BIND resolution case does the T_PTR lookup on that name.
* Fixed the case where argument of 0.0.0.0/8 would match the default route.ru2000-09-291-4/+4
|
* Document that net.inet.ip.fw.one_pass only affects dummynet(4).ru2000-09-291-3/+5
| | | | Noticed by: Peter Jeremy<peter.jeremy@alcatel.com.au>
* Remove superfluous code:des2000-09-281-78/+29
| | | | | | | | | | | 1) use devname() instead of searching /dev for the dump device 2) use fopen() instead of open() so we don't need to differentiate between compressing and not compressing when writing the core file or the kernel (zopen() returns a FILE *, so we just use fwrite() in both cases) There should be no functional changes.
* Add 'setupstate' to RAID-10 example.grog2000-09-231-2/+7
| | | | Tripped-over-by: Nicole Harrington <nicole@picturetrail.com>
* Adjust 'camcontrol negotiate -v' so it prints out the initiator ID from theken2000-09-171-0/+2
| | | | Path Inquiry CCB.
* Turn dkcksum() into an __inline function.phk2000-09-167-120/+5
| | | | Change its type to u_int_16_t.
* Improve the clarification of the handling of the securelevel.sheldonh2000-09-131-6/+2
| | | | Submitted by: bde
* Fix sign extension.mjacob2000-09-121-1/+1
| | | | | PR: 21232 Obtained from: Christian Weisgerber <naddy@mips.inka.de>
* Clarify the handling of the securelevel.sheldonh2000-09-121-8/+13
| | | | PR: 20974
* Fix comment to match previous commit, as per bde.des2000-09-071-1/+1
|
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* Don't warn about unknown mount types, since they most likely simply meandes2000-09-061-3/+1
| | | | | that the right module hasn't been loaded yet (and mount(8) will do so when necessary).
* /modules -> /boot/kernelache2000-09-061-2/+2
|
* Bring LDADD in line with DPADD.grog2000-09-061-1/+1
| | | | Reported by: bde
* I'm not sure what changed to cause this, but using 'dirname' as a variablepeter2000-09-031-8/+8
| | | | | was colliding with dirname() in libc.a and causing a Sig 10/bus error. Just change dirname to savedir and be done with it.
* Clean up now that setproctitle() is in libc.grog2000-09-033-3/+1
| | | | Submitted by: brian
* Don't use libutil now that setproctitle() is in libcbrian2000-09-022-3/+0
|
* Correct typo.grog2000-08-292-2/+2
|
* No more hunting around for ipnat.conf(5) man page.n_hibma2000-08-281-0/+1
|
* Explain the notion that additional mount options may be describedsheldonh2000-08-282-12/+22
| | | | | | | in mount_XXX manual pages. Remove explicit mention of NFS mount options, since they are accurately described by this rule. PR: 20814
* Mount DEVFS with no options.phk2000-08-261-1/+1
|
* - When adjusting the end of a partition to lie on a cylinder boundary, don'tjhb2000-08-242-92/+188
| | | | | | | | | | | adjust the size, but the actual end. - Break out some of the sanity checks on partitions into a sanitize_partition function. - When adjusting partitions, always adjust the start "up", and the end "down" so that we stay within the boundaries of the original request. - Various small nits found by bde. Reported by: bde, imp, rgrimes
* Only print information about reads and writes when the -v flag (forsheldonh2000-08-232-12/+16
| | | | | | | | verbose mode) is specified. This should really have been the case when this extra cruft was first introduced in rev 1.23. PR: 20710 Reported by: Mike Meyer <mwm@mired.org>
* optreset is declared in unistd.h, so we don't need to declare it here again.imp2000-08-161-2/+0
| | | | Reviews by: ken
* optreset is declared in unistd.h now.imp2000-08-163-3/+0
|
* Remove redundant code left over on removal of /dev/rXXX handlingrnordier2000-08-151-2/+0
| | | | in r1.12.
* Partially revert r1.12, in which a warnx() if the device is not arnordier2000-08-151-1/+1
| | | | | character device is changed to an errx(). This unnecessarily compromises device independence.
* Explain why adding ``options NFSKERB'' breaks the kernel build.sheldonh2000-08-112-0/+6
| | | | | | PR: 10642 Reported by: Stefan Eggers <seggers@semyam.dinoco.de> Submitted by: johan
* Add text from NetBSD's rev 1.12 which should have accompaniedsheldonh2000-08-111-0/+22
| | | | | | | the changes made to our own source on 1997-01-01. PR: 20445 Submitted by: Jon Masami Kuroda <jkuroda@eecs.berkeley.edu>
* Add $FreeBSD$.sheldonh2000-08-111-0/+2
|
* Resolve conflicts.sheldonh2000-08-104-4/+9
|
* Fix an order-of-operations bug and properly shift page_control values forkbyanc2000-08-101-6/+8
| | | | comparison with SMS_PAGE_CTRL_* macros.
* Include new modepage list (-l) option in the verbose usage.kbyanc2000-08-091-0/+1
|
* Fix a typo in the last commit so that this compiles.jhb2000-08-091-1/+1
|
* Fix some whitespace errors.kbyanc2000-08-081-12/+12
| | | | Pointed out by: ps
* Replace -l with .Fl lkbyanc2000-08-081-1/+3
| | | | Pointed out by: sheldonh
* This is an overhaul of the mode page handling in camcontrol as well askbyanc2000-08-086-739/+823
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | related patches. These include: * Mode page editting can be scripted. This involves two things: first, if stdin is not a tty, changes are read from stdin rather than invoking $EDITOR. Second, and more importantly, not all modepage entries must be included in the change set. This means that camcontrol can now gracefully handle more intrusive editting from the $EDITOR, including removal or rearrangement of lines. It also means that you can do stuff like: # echo "WCE: 1" | camcontrol modepage da3 -m 8 -e # newfs /dev/da3 # echo "WCE: 0" | camcontrol modepage da3 -m 8 -e * Range-checking on user-supplied input values. modeedit.c now uses the field width specifiers to determine the maximum allowable value for a field. If the user enters a value larger than the maximum, it clips the value to the max and warns the user. This also involved patching cam_cmdparse.c to be more consistent with regards to the "count" parameter to arg_put (previously is was the length of strings and 1 for all integral types). The cam_cdbparse(3) man page was also updated to reflect the revised semantics. * In the process, I removed the 64 entry limit on mode pages (not that we were even close to hitting that limit). This was a nice side-effect of the other changes. * Technically, the new mode editting functionality allows editting of character array entries in mode pages (type 'c' or 'z'), however since buff_encode doesn't grok them it is currently useless. * Camcontrol gained two new options related to mode pages: -l and -b. The former lists all available mode pages for a given device. The latter forces mode page display in binary format (the default when no mode page definition was found in scsi_modes). * Added support for mode page names to scsi_modes. Allows names to be displayed alongside mode numbers in the mode page listing. Updated scsi_modes to use the new functionality. This also adds the semicolon into the scsi_modes syntax as an optional mode page definition terminator. This is needed to name pages without providing a page format definition. * Updated scsi_all.h to include a structure describing mode page headers. * Added $FreeBSD$ line to scsi_modes. Inspired by: dwhite Reviewed by: ken
* Add a "-i" option ("insecure") which disables the checks forjdp2000-08-074-35/+36
| | | | | | | root ownership, etc. I will soon commit a companion knob for "/etc/rc.conf". Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
* 0xA0 = Suspend to disk.joe2000-08-072-0/+2
|
* Consistency fix.rnordier2000-08-061-1/+1
|
* Fix world-breakage: warnx("..') --> warnx("...")alex2000-08-051-1/+1
| | | | | | Submitted by: Alain Thivillon <Alain.Thivillon@hsc.fr>, Udo Erdelhoff <ue@nathan.ruhr.de> Approved by: green
* Don't call errx() without a format string, to protect against possiblekris2000-08-051-4/+4
| | | | | | % characters in localized error messages from ipsec_strerror(). Obtained from: OpenBSD
* Don't call warnx() without a format string (localized error messageskris2000-08-051-4/+4
| | | | | | could conceivably cause a crash). Obtained from: OpenBSD
* Resolve conflicts from vendor merge.sheldonh2000-08-026-17/+19
|
OpenPOWER on IntegriCloud