summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* Remove whitespace at EOL.dd2001-07-1549-356/+356
|
* Constify, de-register-ify, and set WARNS=2.dd2001-07-152-12/+15
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Constify, de-register-ify, __unused-ify, and set WARNS=2.dd2001-07-152-10/+12
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Constify and set WARNS=2.dd2001-07-152-1/+3
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Fix a prototype and set WARNS=2.dd2001-07-152-2/+9
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* add -a to usage()billf2001-07-141-1/+1
| | | | | Submitted by: Ashley Penney <ashp@unloved.org> MFC after: 3 days
* After some (long-standing ;-) critics from Bruce, throw away the oldjoerg2001-07-134-78/+130
| | | | | | | | | | | | | | device search code i introduce nearly six years ago in rev 1.8. Bruce suggested to rather use the device name of the root filesystem instead which is certainly the most sensible default. Since there are many possible cases for a root filesystem name (device with and without slices, consider /dev/vinum/root even though it currently could not work as such), there's some heuristic using a RE in order to find out the canonical device name from the mounted name. This probably won't quite fit for a NFS root (can't test that right now), but then, there's hard to find a good default for those machines anyway. ;-) This unbreaks the functionality of rev 1.2 i once broke in 1.8. :)
* mdoc(7) police: -xwidth has been fold into -width.ru2001-07-131-1/+1
|
* Due to the documented bug in inet_aton(3), it wasn't possibleru2001-07-111-2/+3
| | | | | | | | | | | to use 0xffffffff (INADDR_NONE) as a netmask value. The fix is to use inet_addr(3) which doesn't suffer from this problem. PR: bin/28873 Also, while here, fixed the bug when netmask value was ignored (RTF_HOST flag was set) if the "destination gateway netmask" syntax is used, e.g. ``route add 1.2.3.4 127.1 255.255.255.255''.
* mdoc(7) police: fixed markup and program name.ru2001-07-111-13/+16
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-1056-56/+56
|
* mdoc(7) police: minor markup tweaks.ru2001-07-101-2/+4
|
* mdoc(7) police:ru2001-07-101-11/+25
| | | | | Restored .Pa for ``dumpdates'' (it's still a file). Also, removed duplicate ``file'' words.
* Fix rule parsing breakage introduced in 1.103 cleanup. 'tcp' andcjc2001-07-101-5/+8
| | | | | | | 'icmp' rules could drop into infinite loops when given bad arguments. Reviewed by: ru, des Approved by: ru
* Fix disordering.obrien2001-07-091-1/+1
|
* Add fsck_msdosfsobrien2001-07-091-0/+1
|
* Style tweaks.obrien2001-07-091-2/+4
|
* Add fsck_msdosfs.obrien2001-07-099-0/+2716
| | | | Obtained from: NetBSD
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-0912-17/+0
|
* Fix the type of the NULL arg to execl()brian2001-07-092-2/+2
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Add manual page and usage for dump -D (supplied by Dima Dorfman) (will alsodillon2001-07-092-10/+24
| | | | | | be MFC'd) Submitted by: Dima Dorfman <dima@unixfreak.org>
* Oops, forgot to add 'D' to the option morphing block.dillon2001-07-081-0/+1
|
* Add a -D option to dump, allowing the path for the /etc/dumpdates file to bedillon2001-07-081-2/+6
| | | | | | | changed, so independant entities backing up the same thing to different media can be made not to trip over each other. MFC after: 3 days
* Ian Dowse writes:mjacob2001-07-071-16/+7
| | | | | | | | | | | The original code was certainly broken; it knows that whereto is to be used for a sockaddr_in, so it should be declared as such. To support multiple protocols, there is also a sockaddr_storage struct that can be used; I don't think struct sockaddr is supposed to be used anywhere other than for casts and pointers. Submitted by: Ian Dowse <iedowse@maths.tcd.ie> MFC after: 3 weeks
* Fix unaligned access faults on alpha.mjacob2001-07-071-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This one is strange and goes against my rusty compiler knowledge. The global declaration struct sockaddr whereto; produces for both i386 && alpha: .comm whereto,16,1 which means common storage, byte aligned. Ahem. I though structs were supposed to be ALDOUBLE always? I mean, w/o pragma packed? Later on, this address is coerced to: to = (struct sockaddr_in *)&whereto; Up until now, we've been fine on alpha because the address just ended up aligned to a 4 byte boundary. Lately, though, it end up as: 0000000120027b0f B whereto And, tra la, you get unaligned access faults. The solution I picked, in lieu of understanding what the compiler was doing, is to put whereto as a union of a sockaddr and sockaddr_in. That's more formally correct if somewhat awkward looking.
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-065-10/+10
|
* mdoc(7) police: cosmetics.ru2001-07-061-1/+1
|
* mdoc(7) police: fix markup.ru2001-07-051-101/+159
|
* Update the dmesg man page to reflect the recent changes to dmesg.tmm2001-07-051-8/+14
| | | | Reviewed by: ru
* mdoc(7) police: fixed formatting.ru2001-07-051-37/+33
|
* Make open_disk() fail nicely upon encountering an ENOENT so to notjoerg2001-07-052-4/+8
| | | | | | | | | | prematurely terminate the search for a usable disk. ENOENT is quite normal in particulare now with the advent of devfs. While being here, also remove /dev/wd0 and /dev/od0 from the list of disks to search since we don't have them anymore. MFC after: 1 week
* Spelling police: extention -> extension.dd2001-07-051-1/+1
|
* mdoc(7) police:ru2001-07-041-1/+1
| | | | Keep document title (.Dt) in CAPITALS, as required by the mdoc(7) manpage.
* mdoc(7) police: don't xref to itself.ru2001-07-041-3/+2
|
* mdoc(7) police: cosmetics.ru2001-07-041-1/+2
|
* Use the kern.msgbuf sysctl to get the message buffer on a runningtmm2001-07-032-32/+44
| | | | kernel, and remove setgid kmem, which is not needed any more.
* Fix a typo: "must be have" -> "must have"yar2001-07-031-1/+1
| | | | MFC after: 5 days
* Document continuation line support.dd2001-07-021-0/+2
| | | | | PR: 8479 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
* Correct handling of continuation lines. Instead of treating thedd2001-07-021-0/+4
| | | | | | | | backslash as nothing, treat it like a space so that adjacent lines aren't glued together. PR: 8479 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
* Support network device cloning via create and destroy options.brooks2001-07-022-12/+162
| | | | | | Reviewed by: ru, ume Obtained from: NetBSD MFC after: 1 week
* Add __printflike() to those static functions which need it.kris2001-07-011-3/+3
|
* Correct grammar.dd2001-07-011-2/+2
|
* Silence format string warnings.kris2001-07-011-11/+11
| | | | MFC after: 2 weeks
* Convert two instances of a lseek()+read() combination to a pread().mikeh2001-07-011-8/+4
| | | | | PR: bin/17640 MFC after: 2 weeks
* Modify ping so that it increases the send socket buffer size if therwatson2001-06-301-0/+5
| | | | | | | | | user runs with privilege, allowing the sending of icmp packets with larger size (up to 48k, the default receive buffer size in ping), which is useful for network driver development testing, as well as experimentation with fragmentation. Reviewed by: wpaul
* Properly cast a size argument to an unsigned type.roam2001-06-291-1/+2
| | | | Thanks to: dd for noticing the need for a cast.
* - fixed typoume2001-06-291-4/+4
| | | | | | | - a wording improvement in BUGS (ping vs ping6 issue) Obtained from: KAME MFC after: 1 week
* sync usage/description with reality.ume2001-06-292-3/+7
| | | | | Obtained from: KAME MFC after: 1 week
* stop sending echo packets whenever the upper limit is specified by the -cume2001-06-291-7/+10
| | | | | | | | option, regardless of the -f option. based on a comment from Tomohide Nagashima <tomohide@japan-telecom.co.jp>. Obtained from: KAME MFC after: 1 week
OpenPOWER on IntegriCloud