summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Move savecore build enable to MD section of Makefile, currently enabledpeter2002-03-191-2/+6
| | | | | | for i386 and alpha. Although it builds on sparc64, it does not yet work. A similar hack as what is used on the sparc64 MD macros can be used to make ia64 build too, but there doesn't seem to be much point.
* Remove yet more vestiges of mount_mfs.iedowse2002-03-182-8/+0
|
* o __Pimp2002-03-181-4/+4
| | | | | | o Strict ANSI declarations. o return (foo); o main (int, char *[])
* o remove __Pimp2002-03-182-144/+96
| | | | | | o Use ANSI function definitions o const poison o remove register
* o __P removal.imp2002-03-181-41/+24
| | | | | o Use ANSI function definitions. o main(int, char *[])
* o Use real prototypes and ANSI function definitions.imp2002-03-181-12/+5
| | | | o Remove __P.
* o Use real prototypesimp2002-03-181-8/+6
| | | | | o Remove __P. o main(int, char *[])
* Fixed some style bugs (mainly ones not fixed or made worse by rev.1.44).bde2002-03-181-8/+9
| | | | | Don't use ISO string concatentation to obfuscate long single-line messages...
* Fixed some style bugs (mainly ones not fixed or made worse by rev.1.41).bde2002-03-181-12/+16
| | | | | | Old code obfuscates long (but single-line) messages by printing them in pieces using %s. Rev.1.41 obfuscated some new long messages using ISO string concatenation. This commit only fixes the new obfuscations.
* Removed vestiges of mount_mfs. Sorted the Makefile a bit.bde2002-03-182-15/+3
|
* Fixed 2 layers of breakage of WARNS. Setting WARNS unconditionally tobde2002-03-181-1/+1
| | | | 0 was bad and setting it unconditionally to 2 was worse.
* Remove __P() and register.phk2002-03-173-32/+32
| | | | | | | | Set WARNS=2 This is the beginning of a pre-UFS2 cleanup of newfs. Sponsored by: DARPA, NAI Labs
* This sounds better.ru2002-03-151-1/+1
|
* mdoc(7) police: tiny fixes.ru2002-03-151-2/+2
|
* mdoc(7) police: GC duplicate VCS ID.ru2002-03-151-3/+0
|
* mdoc(7) police: misc fixes.ru2002-03-151-5/+4
|
* mdoc(7) police: kill whitespace at eol.ru2002-03-151-1/+1
|
* mdoc(7) police: tiny fixes.ru2002-03-151-2/+3
|
* mdoc(7) police: tiny fixes.ru2002-03-151-2/+2
|
* minor grammar fixesbillf2002-03-141-2/+2
|
* Clarify the cylinder > 1023 issue, now that EDD support is automatic.rnordier2002-03-131-5/+3
| | | | | Also drop a note about undocumented features that was intended to cover the since-documented slice-selection syntax.
* Document the "slice" syntax.ru2002-03-131-4/+15
| | | | Prodded by: ambrisko
* Implement -m and -p loader(8) "boot" command options in boot2.ru2002-03-131-2/+4
| | | | | (This is more useful for 4.x where boot blocks can still load kernels, modulo the PR kern/17422.)
* Add information about multi-session CDs from the log message of r1.4.murray2002-03-131-0/+9
| | | | | | Also, add an examples section and show how to mount a Kodak Photo-CD. PR: docs/35206
* Document the existence of machdep.guessed_bootdev, as suggestedluigi2002-03-121-0/+1
| | | | | | | | | | | by Sheldon. For a detailed description look at the commit log for sysctl.c rev.1.42 -- i do not think it is appropriate to put the full description in this manpage, and the "boot" and "loader" manpages where this description might go are also missing a description of a number of similar variables, so i think this it is ok to limit documentation to this now, and update it later when I (or someone else) have a chance to revise "boot" and "loader".
* Sparc64 support.des2002-03-111-7/+7
|
* Make the handling of machdep.guessed_bootdev compiled on i386 only.luigi2002-03-111-1/+7
|
* Add complete Sparc64 support.obrien2002-03-112-34/+128
| | | | | | Submitted by: tmm Dike out vax support.
* * Support the Sparc64.obrien2002-03-112-14/+10
| | | | | * Do not default to any particular platform. Require that we explicitly support a particular platform.
* Chase sysctl name.dd2002-03-111-1/+1
| | | | Submitted by: Christopher Sharp <christopher_sharp@web.de>
* Export a (machine dependent) kernel variable bootdev asluigi2002-03-101-0/+51
| | | | | | | | | | | | | | | | | | | | | | machdep.guessed_bootdev, and add code to sysctl to parse its value and give a (not necessarily correct) name to the device we booted from (the main motivation for this code is to use the info in the PicoBSD boot scripts, and the impact on the kernel is minimal). NOTE: the information available in bootdev is not always reliable, so you should not trust it too much. The parsing code is the same as in boot2.c, and cannot cover all cases -- as it is, it seems to work fine with floppies and IDE disks recognised by the BIOS. It _should_ work as well with SCSI disks recognised by the BIOS. Booting from a CDROM in floppy emulation will return /dev/fd0 (because this is what the BIOS tells us). Booting off the network (e.g. with etherboot) leaves bootdev unset so the value will be printed as "invalid (0xffffffff)". Finally, this feature might go away at some point, hopefully when we have a more reliable way to get the same information. MFC-after: 5 days
* Check the <channel> arg a bit more.sos2002-03-102-5/+12
| | | | Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Document `sysctl variable=/dev/foo' syntax.dd2002-03-101-2/+24
| | | | | PR: 34184 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
* Remove inappropriate .Op calls in examples.dd2002-03-102-4/+4
| | | | | PR: 35689 Submitted by: Gary W. Swearingen <swear@blarg.net>
* Minor English fixes.dd2002-03-101-2/+2
| | | | | PR: 35730 Submitted by: Gary W. Swearingen <swear@blarg.net>
* Update headerssos2002-03-042-2/+2
|
* A bit of premptive GEOM POLA magic: If we don't get a virgin disklabelphk2002-03-032-12/+32
| | | | from /dev/food0, then try from /dev/f00d0c, in strange cases this work.
* Add the RAID rebuild command.sos2002-03-032-3/+14
|
* Add a new "-S" flag to dump to allow it just print out dump estimateiedowse2002-03-012-5/+20
| | | | | | | | | size and then exit. PR: bin/35450 Submitted by: Mark Hannon <markhannon@optushome.com.au> Obtained from: NetBSD MFC after: 1 week
* Show standard deviation.ume2002-03-013-10/+11
| | | | | | | PR: bin/35433 Submitted by: Morten Rodal <morten@rodal.no>, Maxim Konovalov <maxim@macomnet.ru> MFC after: 1 week
* Fix "make release.4" breakage.matusita2002-02-282-3/+6
| | | | | | | | | | | | | | | | | | | | | | src/contrib/isc-dhcp/includes/minires/resolv.h has a 'extern' definition but it makes an error when linking crunched binary just like this: dhclient.lo: In function `MRres_nquery': dhclient.lo(.text+0x2dcce): undefined reference to `__h_errno_set' dhclient.lo(.text+0x2dd5b): undefined reference to `__h_errno_set' dhclient.lo: In function `MRres_nquerydomain': dhclient.lo(.text+0x2de53): undefined reference to `__h_errno_set' The author understands this will be a problem (see comments in resolv.h). Murray said that the author will fix this, but as a temporary solution, modifying the source code and not to use __h_errno_set. BTW, I'm sorry that previous commitlog in src/sbin/dhclient/Makefile should read "Found by:" instead of "Confirmed by"; I just found that rev 1.15 has a typo so fixed. Tested on: ushi.jp.FreeBSD.org with today's 5-current source code. (belive me, "make release.4" works fine now)
* Some style(9) whitespace fixes and a correction to the copyright.brooks2002-02-281-22/+24
|
* For unbraking "make release": s/client/common/gmatusita2002-02-281-7/+7
| | | | | | (these files are sitting in src/contrib/isc-dhcp/common, not .../client.) Confirmed by: 5.0-CURRENT-20020228-JPSNAP at snapshots.jp.FreeBSD.org
* Use network byte order for the ICMP sequence number. This is onlyfenner2002-02-271-6/+8
| | | | | significant when monitoring packets on another system, since otherwise the ICMP sequence number is only used by the ping client.
* Introduce a version field to `struct xucred' in place of one of thedd2002-02-271-1/+2
| | | | | | | | | | | | spares (the size of the field was changed from u_short to u_int to reflect what it really ends up being). Accordingly, change users of xucred to set and check this field as appropriate. In the kernel, this is being done inside the new cru2x() routine which takes a `struct ucred' and fills out a `struct xucred' according to the former. This also has the pleasant sideaffect of removing some duplicate code. Reviewed by: rwatson
* Add some ifdef(RELEASE_CRUNCH) goo to explicitly list the requisitemurray2002-02-261-0/+48
| | | | | object files for crunchgen. Without this patch, release.4 will fail to build the crunched binaries for the release floppies.
* #include <sys/time.h> instead of depending on namespace pollution inbde2002-02-251-3/+3
| | | | | | | <sys/stat.h> for its prerequisite <sys/time.h>. #include <sys/param.h> in the correct place instead of bogusly including <sys/types.h>.
* Neutralize bits of ns_parse.c with bad juju.obrien2002-02-201-1/+6
|
* Style cleanup.obrien2002-02-196-33/+24
| | | | Approved by: Murray
* Makefile glue for DHCP v3 import.murray2002-02-197-20/+151
|
OpenPOWER on IntegriCloud