summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Back out the totally unapproved backout of my commits.obrien2003-03-292-58/+1
|
* If IPCP is disabled, susccess of IPV6CP negotiation is sufficientume2003-03-281-0/+5
| | | | | to communicate by IPv6. So, the prompt should be `PPP' rather than `PPp'.
* Don't pass NULL in as a flags argument to libfetch's fetchGetURL()rwatson2003-03-271-1/+1
| | | | | | as this can result in a NULL pointer deference when parsing the flags later. This change fixes "pkg_add -r" on 5.0-CURRENT for me; not quite clear how the problem was introduced.
* o Add -u <username> flag to jail(8): set user context before exec.maxim2003-03-273-12/+84
| | | | | | | PR: bin/44320 Submitted by: Mike Matsnev <mike@po.cs.msu.su> Reviewed by: -current MFC after: 6 weeks
* Change DEFMX to 0. This removes the size limit for print jobs by default.eivind2003-03-272-3/+4
| | | | Discussed with: gad (now), arch (a year ago)
* Add a sample specfile listing to FILES.chris2003-03-261-0/+8
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* tightened check for the length of ND options.ume2003-03-261-2/+25
| | | | | Submitted by: jinmei@kame.net (JINMEI Tatuya) Obtained from: KAME
* Don't install wrong IPv6 route by add command.ume2003-03-262-3/+12
|
* Passing a u_char to ntohs() is guaranteed to give the wrong answer !brian2003-03-261-2/+2
| | | | Submitted by: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
* Add a ``force-scripts'' option for using chat scripts with -direct andbrian2003-03-264-20/+40
| | | | | | -dedicated links. Submitted by: Maksim Yevmenkin <myevmenk@exodus.net>
* Once ppp session is over, the route to ff02::tun0/32 wasume2003-03-251-1/+12
| | | | | deleted, and never came back. Now, the route to ff02::tun0/32 is installed at the end of IPV6CP negitiaton.
* We need filling scopeid to install routes for link-localume2003-03-251-0/+24
| | | | scope addresses.
* Since ppp.link{up,down} is invoked at the end of IPCP negotiation, ifume2003-03-251-2/+32
| | | | | | we need ppp.link{up,down}, we couldn't disable IPCP. Now, if IPCP is disabled, ppp.link{up,down} is invoked at the end of IPV6CP negotiation.
* - Add the 'b' option which causes BLOCKSIZE to be hornored whenmdodd2003-03-254-8/+29
| | | | | the 'q' or 'Q' options are present. - Document BLOCKSIZE.
* Implement the 'Q' option which is like 'q' (quiet output) exceptmdodd2003-03-254-2/+17
| | | | | | | | that it prefaces the output with the package name. This is useful for things like this: # pkg_info -Qsa | awk -F : '{print $2 "\t" $1}' | sort -rn | expand -t 10
* Use correct item to track max width of listeivind2003-03-241-1/+1
|
* Fix bug that made cdcontrol play <track> play <track> - 1eivind2003-03-241-2/+2
|
* Document the -g option in the usage message.mtm2003-03-231-0/+1
| | | | Approved by: markm (mentor)(implicit)
* Make -c only set flag_c and not a toggle. With flag_c disabled bykeramida2003-03-221-1/+1
| | | | | default, this makes the behavior of gstat more predictable when -c is specified multiple times on the command line.
* Add a small manpage.keramida2003-03-221-0/+87
|
* Add & use a usage() function.keramida2003-03-221-2/+12
|
* Add error and range checking to strtoul() to avoid ending up with akeramida2003-03-221-1/+2
| | | | delay time of ULONG_MAX when -I is passed a non-numeric arg.
* Why doesn't anybody ever tell me anything? When did we get a libsbuf ?phk2003-03-211-5/+3
| | | | | | | | Geeze, I'll just crawl back into the kernel where I know what's going on... Use libsbuf instead of pulling a file in from the kernel. Taught by: jhb
* Fixed a typo in ${.CURDIR} spelling, fatal on systemsru2003-03-211-12/+5
| | | | | | | | | without the /sys symlink pointing to the current tree. (Revision 1.2 made it non-fatal, but anyway.) Apply style.Makefile(5). Fixed ``make checkdpadd''.
* Duh! Use correct number ../phk2003-03-211-1/+1
| | | | spotted by: imp
* Add a target for the creation of a /etc/shells map and add it torobert2003-03-211-2/+12
| | | | the maps which are built by default.
* Call endwin() to restore terminal state just before exiting.keramida2003-03-211-0/+2
| | | | Approved by: phk
* Add a rudimentary gstat(8) to the system.phk2003-03-203-0/+252
| | | | | This is a small curses based program which shows the diskactivity inside GEOM.
* Add a -g option to specify a default login group.mtm2003-03-202-10/+22
| | | | Approved by: markm (mentor)(implicit)
* The -s option should not assume -U.tobez2003-03-191-0/+1
| | | | MFC After: 2 weeks
* o initialize a couple of local flags so the user can re-edit groupsmtm2003-03-191-2/+8
| | | | | | | | next time the subroutine is re-entered o s/configrun/configflag/ o Make the prompt make sense if the user was creating a configuration file Approved by: markm (mentor)(implicit)
* portmap_enable -> rpcbind_enable.maxim2003-03-181-2/+2
| | | | Spotted by: Andrew Khlebutin <andreyh@perm.ru>
* Run a revision of the devstat interface:phk2003-03-151-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel: Change statistics to use the *uptime() timescale (ie: relative to boottime) rather than the UTC aligned timescale. This makes the device statistics code oblivious to clock steps. Change timestamps to bintime format, they are cheaper. Remove the "busy_count", and replace it with two counter fields: "start_count" and "end_count", which are updated in the down and up paths respectively. This removes the locking constraint on devstat. Add a timestamp argument to devstat_start_transaction(), this will normally be a timestamp set by the *_bio() function in bp->bio_t0. Use this field to calculate duration of I/O operations. Add two timestamp arguments to devstat_end_transaction(), one is the current time, a NULL pointer means "take timestamp yourself", the other is the timestamp of when this transaction started (see above). Change calculation of busy_time to operate on "the salami principle": Only when we are idle, which we can determine by the start+end counts being identical, do we update the "busy_from" field in the down path. In the up path we accumulate the timeslice in busy_time and update busy_from. Change the byte_* and num_* fields into two arrays: bytes[] and operations[]. Userland: Change the misleading "busy_time" name to be called "snap_time" and make the time long double since that is what most users need anyway, fill it using clock_gettime(CLOCK_MONOTONIC) to put it on the same timescale as the kernel fields. Change devstat_compute_etime() to operate on struct bintime. Remove the version 2 legacy interface: the change to bintime makes compatibility far too expensive. Fix a bug in systat's "vm" page where boot relative busy times would be bogus. Bump __FreeBSD_version to 500107 Review & Collaboration by: ken
* manufacturer id is typically 4 bytesimp2003-03-141-1/+1
|
* Increase the size of the property buffer to 8192. 1024 wasn't enough tojake2003-03-141-1/+1
| | | | retrieve certain nodes.
* Remove ftp2.it.FreeBSD.org from the list of mirrors.roam2003-03-142-4/+0
| | | | | Submitted by: Alex Dupre <sysadmin@alexdupre.com> Approved by: silence on -arch
* Don't be so verbose about 'unknown' CIS tuples. We were printing eachimp2003-03-141-2/+1
| | | | | | | | | | | | | | | | one three times before we did the dump. Also, we printed 0x00 for the tuple type rather than the actual tuple type. Now, we print the actual tuple type. This appears to have no ill effects. Should get rid of the Code NN not found and code Unknown ignored messages. The ignored messages are still generated for tuples tuples who have a minimum length set and we find a tuple of that type that's shorter than the minimum length.
* - Align the function prototype of the external `crc' function withrobert2003-03-135-13/+11
| | | | | | | | | | | | | | how `crc' is actually defined. - Remove an unnecessary `extern' variable declaration. Data type corrections: - Define a variable which contains a file byte offset value as type off_t as required by the `crc' function. - Change the type of a variable carrying a CRC checksum from `u_long' to `uint32_t'. - Substitute the wrong `extern' variable declaration of `crc_total' by putting a correct one in the shared header extern.h. `crc_total' is defined as an `uint32_t', thus fixing incorrect mtree checksums on big-endian LP64 machines.
* - Align the function prototype of the external `crc' function withrobert2003-03-131-5/+10
| | | | | | | | | | | | | | how `crc' is actually defined. Data type corrections: - Define variables which contain file byte offset values as type off_t as required by the `crc' function. - Change the type of a variable carrying a CRC checksum from `u_long' to `uint32_t'. - Parse the length of a file with sscanf as `intmax_t' (as there is no conversion specifier for `off_t'). Style(9): - Put an empty line between #include directives for system and user header files.
* Break setfmac.8 into two actual man pages, and reword bits of thechris2003-03-133-66/+120
| | | | | | | setfsmac(8) documentation. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Fix two minor mismatch reporting output errors.tobez2003-03-131-2/+2
| | | | | Reviewed by: phk MFC After: 3 weeks
* Complete the endianness support -- sparc64 can now do i386.ru2003-03-131-16/+10
| | | | | Tested on: sparc64 -> i386, i386 -> sparc64 Debugged by: elfdump(1)
* Make this work on different endianness machines.ru2003-03-114-173/+100
| | | | | | | | Tested on: sparc64 : FreeBSD/i386 bootstrap loader, Revision 1.1 : (ru@panther.freebsd.org, Tue Mar 11 05:31:14 PST 2003) : Loading /boot/defaults/loader.conf
* Convert kgzip(8) to be an i386 cross-tool. This is needed forru2003-03-114-61/+262
| | | | | | | cross-releasing i386 on different architectures. This version provides an i386 version of <a.out.h>, and handles endianness. Tested on: alpha, sparc64
* Revert rev. 1.244 change -- only build kgzip(8) on i386.ru2003-03-111-1/+1
| | | | (The cross-release needs will be satisfied another way.)
* Make usage() match SYNOPSIS.ru2003-03-091-1/+1
|
* Get rid of the randomizing factor.ru2003-03-091-1/+1
|
* Print FYI messages on stderr. Previously, they were printed on stdout,des2003-03-091-1/+3
| | | | | | | | | and due to buffering they would sometimes come out after the actual error message when mkheaders() failed due to an unknown device, so you'd get an error messages followed by 20 or 30 lines of harmless warnings. There are lots of other warning messages in config(8) that are printed on stdout, but these were the most egregious (at least with LINT).
* Fix interactions between entries for a specific file vs entries forgad2003-03-091-62/+177
| | | | | | | | | a filename pattern, and also wrt filenames given on the command line. Now if a file is listed as a specific entry, it will not *also* be processed by an entry specifying a pattern. And filename-patterns will now only match existing files (ignoring directories, etc). MFC after: 3 weeks
* Remove a function prototype for `crc' and an associated comment whichrobert2003-03-092-6/+0
| | | | were useless for at least seven years and eight months.
OpenPOWER on IntegriCloud