summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* o Fix style(9) for previous.maxim2006-08-251-1/+1
|
* A bunch of fixes from NetBSD:maxim2006-08-251-17/+23
| | | | | | | | | | | | | | | | | | o Restore owner/group/mode/atime/mtime of symbolic links, rev. 1.30. o Extract file flags of symbolic link, rev. 1.42. o Call getfile() before altering file attributes. Open file with mode 0600 instead of 0666 so that file won't remain group or world readable/writable even if getfile() terminated. Move skipfile() before altering file attributes in IF{CHR,BLK} and IFIFO case for symmetry, rev. 1.32. o Use file mode 0600 when creating special file or fifo, revs. 1.33, 1.34. o Remove redundant -N check. PR: bin/101660 Submitted by: Andrey V. Elsukov Obtained from: NetBSD, enami@netbsd MFC after: 6 weeks
* Add a note that the btime command only works on UFS2.ceri2006-08-241-1/+4
| | | | Suggested by: maxim (who had also done the btime patch independently).
* Allow fsdb to manipulate the birthtime entries on UFS2.ceri2006-08-233-3/+29
| | | | | Approved by: jhb MFC after: 1 month
* A pipe bandwidth of 10MBits/s should probablydwmalone2006-08-231-1/+2
| | | | | | | be understood as 10Mbits/s not 10MBytes/s. Submitted by: Gavin McCullagh <gavin.mccullagh@nuim.ie> MFC after: 1 week
* (media_status): Factor common code between IFM_ETHER and IFM_ATM cases.thomas2006-08-221-21/+9
| | | | | | | | | (print_media_word, print_media_word_ifconfig): Remove unnecessary goto following test for null desc. PR: bin/102354 Submitted by: Ricardo Nabinger Sanchez <rnsanchez@gmail.com> MFC after: 1 week
* Remove alpha left-overs.ru2006-08-223-6/+2
|
* Revert the addition of -p. It's flawed in that dhclient should not runbrian2006-08-212-25/+7
| | | | | | | on an interface without carrier. devd should be used instead to handle link up/down events. Put on the right path by: brooks, sam
* Implement 'camcontrol reportluns'. This allows users to send the SCSIken2006-08-212-2/+300
| | | | | | | | | | | | | | | | | | REPORT LUNS command to a device. camcontrol.[c8]: Implement reportluns. This tries to print the LUNs out in a reasonable format. Only the periph addressing method has been tested, since very little hardware that I know of supports the other methods. scsi_all.[ch]: Revamp the report luns CDB structure and helper functions. This constitutes a little bit of an API change, but since the old CDB length was 10 bytes, and the REPORT LUNS CDB length is actually 12 bytes, it's clear that no one was using this API in the first place. MFC After: 1 week
* Regigle parens to try and get the intended affect. This should fix peopledwmalone2006-08-201-6/+6
| | | | | | | | | having trouble with the "me6" keyword. Also, we were using inet_pton on the wrong variable in one place. Reviewed by: mlaier (previous version of patch) Obtained from: Sascha Blank (inet_pton change) MFC after: 1 week
* Fix typo.julian2006-08-201-1/+1
|
* comply with style policejulian2006-08-182-18/+19
| | | | | Submitted by: ru MFC after: 1 month
* Allow ipfw to forward to a destination that is specified by a table.julian2006-08-172-11/+60
| | | | | | | | | | | | | | | | | for example: fwd tablearg ip from any to table(1) where table 1 has entries of the form: 1.1.1.0/24 10.2.3.4 208.23.2.0/24 router2 This allows trivial implementation of a secondary routing table implemented in the firewall layer. I expect more work (under discussion with Glebius) to follow this to clean up some of the messy parts of ipfw related to tables. Reviewed by: Glebius MFC after: 1 month
* Bump the document date. s/dhclient/.Nm/brian2006-08-171-4/+7
| | | | Suggested by: ru
* Correct usage()brian2006-08-171-1/+1
|
* Add a -p switch to dhclient. The switch tells dhclient to persistbrian2006-08-172-5/+20
| | | | | | | | | | despite the interface link status. Add dhclient_flags_iface and background_dhclient_iface rc.conf options. (where iface is a specific interface). These can be used to give interface specific flags to dhclient. Reviewed by: brooks@
* Regularly scheduled patch to unbreak regularly scheduled post-ipfilterkan2006-08-171-1/+1
| | | | | | | buildworld breakage. Exclude loglevel.c from the build. It does not appear to be used by anything in the tree and buildworld succeeds just fine without it.
* Take IP_FIREWALL_EXTENDED out of the man page too.julian2006-08-171-8/+0
| | | | MFC after: 1 week
* Clarify documentation of '-L' command line switch: the snapshot isthomas2006-08-161-1/+2
| | | | | | | | | unlinked as soon as the dump starts (and removed when the dump is completed, and the dump process exits). Previous wording was confusing because users might expect the snapshot to be visible in the .snap subdirectory while dump is running. MFC after: 1 week
* Adapt to ipf 4.1.13guido2006-08-161-2/+2
|
* If rawname returns NULL, deal with it appropriately.mjacob2006-08-151-0/+2
| | | | | | PR: 94045 Submitted by: Andrey Elsukov MFC after: 1 week
* Fix printing of integer Kelvins broken in rev. 1.71, which isru2006-08-151-3/+3
| | | | | | fatal on sizeof(int) != sizeof(long) systems (such as amd64). MFC after: 1 day
* Print packet loss figures with one decimal place. ping6 already doesdd2006-08-141-4/+4
| | | | | this, and OpenBSD and NetBSD pings do it too. This is primarily useful for comparing low levels of packet loss.
* Add an extension to the UINT & ULONG types. The XINT & XLONG types behaveobrien2006-08-121-2/+10
| | | | the same, except sysctl(8) will print out the values in hex.
* Restore the "plumb" compatibility command, which was lostyar2006-08-121-0/+1
| | | | due to the recent change by sam@ to clone operations in ifconfig(8).
* fixup list station support:sam2006-08-101-4/+23
| | | | | | o add sanity check to avoid possible looping o use intended api for IEEE80211_IOC_STA_INFO o when operating in sta mode get the sta info for the ap
* o Spell.maxim2006-08-101-1/+1
| | | | Submitted by: ru
* o Strip eol whitespaces.maxim2006-08-091-2/+2
|
* o New sentence, new line.maxim2006-08-091-2/+3
| | | | o Touch Dd for -r.
* Allow geli to operate on read-only providers.pjd2006-08-092-4/+7
| | | | | Initial patch from: vd MFC after: 2 weeks
* Add missing #.pjd2006-08-071-1/+1
|
* Eliminate a pair of unneeded parentheses slipped in from previous version ofmarck2006-08-061-1/+1
| | | | | | fix. Noticed by: ru
* strlen(3) returns size_t, which is not strictly equivalent to int an 64-bitmarck2006-08-061-3/+4
| | | | | | | archs, hence printf(3) warning. Fix this. Noticed by: tinderbox Approved by: rse
* Use the SLIST_NEXT macro instead of sle_next.stefanf2006-08-051-2/+2
| | | | Checked with: cmp(1)
* Do not pass-through the tailing newline character from the ctime(3)rse2006-08-051-3/+5
| | | | | | | | output to setproctitle(3) in order to get rid of the ugly two-character escape sequence "\n" in the ps(1) output of a dump(8) process: << [...] finished in 0:00 at Sat Aug 5 14:44:39 2006\n (dump) >> [...] finished in 0:00 at Sat Aug 5 14:44:39 2006 (dump)
* Use floating point instead of hacking something together. Suggested bynjl2006-08-041-10/+8
| | | | | | bde@. Fix nearby int conversion and a couple style bugs. MFC after: 1 day
* Block a variety of signals which may afffect reboot(8), before killingbms2006-08-021-2/+15
| | | | | | | | | | init(8), to avoid losing a race to them and dying before being able to call reboot(2). PR: bin/64664 Submitted by: maxim Obtained from: NetBSD MFC after: 30 days
* Block SIGHUP before killing init(8), to avoid a race condition which maybms2006-08-021-3/+3
| | | | | | | | kill the current process and hang the system when attempting reboot. PR: bin/64664 Reviewed by: ssouhal, phk (historic) MFC after: 30 days
* Add eye candy while I'm here: a blank line betweenyar2006-07-271-0/+1
| | | | the license and the $FreeBSD$ line.
* INET6 has no effect on rtsol, it's an IPv6-only tool with itsyar2006-07-271-7/+0
| | | | | | | | code independent of the macro. This utility is just omitted from the build as a whole by ../Makefile if MK_INET6 is set to false. Pointed out by: ume Tested with: cmp(1)
* rtsol is just a stripped-down version of rtsold and as such it shouldyar2006-07-271-1/+2
| | | | | | be built only if MK_INET6 is true: it's specific to IPv6. Pointed out by: ume
* These IPv6-only tools have no explicit dependency on the INET6 macro.yar2006-07-271-1/+1
| | | | Tested with: cmp(1)
* Obey MK_INET6_SUPPORT.yar2006-07-273-9/+28
| | | | This is also a good chance to apply style.Makefile(5) in some cases.
* add beacon miss threshold controlsam2006-07-262-1/+29
| | | | | Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> MFC after: 2 weeks
* Specify correct argument range for tag/untag keywords.oleg2006-07-251-2/+2
| | | | Approved by: glebius (mentor)
* Fix printing of negative decimal values in Kelvin to Celsius conversion.njl2006-07-251-2/+6
| | | | MFC after: 3 days
* style.Makefile(5): Remove -Wall from CFLAGS.stefanf2006-07-171-1/+1
|
* Remove duplicated assignment.stefanf2006-07-171-1/+0
|
* Teach mount(8) about a 'late' keyword, which means the file system shoulddes2006-07-122-7/+38
| | | | | | | | | | | | | | | | | | not be mounted unless the -l flag was specified. Add an rc script, mountlate, which basically runs 'mount -a -l'. It runs after DAEMON but before LOGIN. This is useful for things like loopback mounts, because mountcritremote runs before mountd / nfsd (since /usr might be a remote file system), so an attempt to mount a loopback network file system in mountcritremote will fail. Also add a progress message to mountcritlocal, for the sake of symmetry with similar messages in mountcritremote and mountlate. Reviewed by: freebsd-rc MFC after: 3 weeks
* o replace special handling of clone operations by a clone callbacksam2006-07-094-100/+127
| | | | | | | mechanism o change vlan cloning to use callback and pass all vlan parameters on create using the new SIOCREATE2 ioctl o update vlan set logic to match existing practice
OpenPOWER on IntegriCloud