summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused reference to objformat.hpeter2007-01-251-1/+0
|
* Bump .Dd.mpp2007-01-251-1/+1
|
* Add a BUGS section that shows that ids that appear to bempp2007-01-251-0/+12
| | | | | | | | negative are now ignored by the quota system and that extremely large ids may make quotacheck run for a very long time. Also mention that "options QUOTA" is required for the kernel to provide quota support.
* When the following conditions are meet:pjd2007-01-251-1/+13
| | | | | | | | | | | | | | | | - First configured key is based only on keyfile (no passphrase). - Device is attached. - User changes first key (setkey) from keyfile to passphrase and doesn't specify number of iterations (with -i option). ...geli(8) won't store calculated number of iterations in metadata. This result in device beeing unaccesable after detach. One can recover from this situation by guessing number of iterations generated, storing it in metadata and trying to attach device. Recovery procedure isn't nice, but one's data is not lost. Reported by: Thomas Nickl <T.Nickl@gmx.net> MFC after: 1 week
* Implement gctl_change_param() function, which changes value of existingpjd2007-01-252-0/+28
| | | | | | parameter. MFC after: 1 week
* Remove mount_nfs4 from SUBDIR list. The mount_nfs Makefilerodrigc2007-01-231-1/+0
| | | | links mount_nfs to mount_nfs4 now.
* Link mount_nfs -> mount_nfs4, and mount_nfs.8 -> mount_nfs4.8.rodrigc2007-01-231-0/+3
| | | | Suggested by: rees
* Merge mount_nfs4.c and mount_nfs.c into one program.rodrigc2007-01-232-7/+248
| | | | | | | | | | | If argv[0] == "mount_nfs4", then default to mounting NFSv4, otherwise if argv[0] == "mount_nfs", default to the old mount_nfs behavior. - Add a -4 option. - Add the University of Michigan copyright from mount_nfs4.c, for the code merged from mount_nfs4.c. Reviewed by: rees
* Use fseeko to seek in the file, instead of fseek to prevent seekmpp2007-01-231-2/+2
| | | | errors for extremely large uids (e.g. in the billions range).
* Make sure that unknown uids/gids that now have non-zero usage andmpp2007-01-231-7/+24
| | | | | had a previously recorded usage of zero are correctly displayed in verbose mode. Generalize the print routine a little too.
* Actually fully emulate NetBSD and print the media instance numbermarius2007-01-221-2/+3
| | | | | | | only for non-zero instances so the typical output for IFM_IEEE80211 type media doesn't overflow 80 columns. Requested by: sam
* Quota system cleanup.mpp2007-01-201-29/+137
| | | | | | | | | | | | | | | | | | | | | | | 1) Do not account for uids/gids that appear negative to prevent the creation of 131GB+ quota files. This is the same as the kernel now determines which files to provide quota accounting for. Related to PR kern/38156. This should also prevent boots from hanging if a negative uid appears in the file systems. 2) Do not count system files in the usage counts. These currently are file system snapshot and quota data files. This is how the kernel now handles those files. 3) Correctly generate new quota data files if the current files do not exist or are zero length in size. PR kern/30958. It should now be possible to newfs / mount / touch quota.{user,group} and quotaon a file system and have everything work. 4) Change some diagnostics to report the file system and type of id (uid or gid) that is being reported. 5) Truncate the quota data files if possible, instead of letting them grow to a big enough size to hold the largest UID/GID on the system (typically "nobody"). The kernel should now be able to grow the files as needed without deadlocking the system. PR: kern/30958, kern/38156
* - Display the media instance numbers and allow the user to set the activemarius2007-01-202-3/+32
| | | | | | | | one. This is based on NetBSD but unlike NetBSD this implementation prints the instance number for all media instances and doesn't skip it for the first one as I don't see a reason to suppress it except for the vague reason to preserve the output for single-instance configurations. - Fix some whitespace nits.
* Add initial support for 900MHz channels; still has some roughsam2007-01-151-7/+35
| | | | | | | edges but ifconfig ath0 list chan works and you can use ieee channel #'s to lock/select a channel. MFC after: 1 month
* Fix a parsing bug when specifying more than one address with dotted decimalmlaier2007-01-071-2/+8
| | | | | | | | netmask. Reported by: Igor Anishchuk PR: kern/107565 MFC after: 3 days
* Fix parsing of -o uid and -o gid options, so that -o uidxx and -o gidxxrodrigc2007-01-051-2/+2
| | | | | | are not accepted. Submitted by: daichi, Masanori OZAWA <ozawa ongs co jp>
* fix typo: "adaptor" -> "adapter"rse2007-01-021-1/+1
|
* Fix typo: effected -> affectedrse2007-01-021-1/+1
| | | | Submitted by: Gordon Stratton <tsr2600 (at) gmail (dot) com>
* Fix wrong markup and some wordsmithing.hrs2006-12-311-72/+84
| | | | Submitted by: ru
* Summer of Code 2005: improve libalias - part 2 of 2piso2006-12-292-9/+1022
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With the second (and last) part of my previous Summer of Code work, we get: -ipfw's in kernel nat -redirect_* and LSNAT support General information about nat syntax and some examples are available in the ipfw (8) man page. The redirect and LSNAT syntax are identical to natd, so please refer to natd (8) man page. To enable in kernel nat in rc.conf, two options were added: o firewall_nat_enable: equivalent to natd_enable o firewall_nat_interface: equivalent to natd_interface Remember to set net.inet.ip.fw.one_pass to 0, if you want the packet to continue being checked by the firewall ruleset after being (de)aliased. NOTA BENE: due to some problems with libalias architecture, in kernel nat won't work with TSO enabled nic, thus you have to disable TSO via ifconfig (ifconfig foo0 -tso). Approved by: glebius (mentor)
* Fix an off-by-one which could mean writing beyond the end of the arraybz2006-12-291-2/+2
| | | | | when copying the interface name. This code part should probably be rewritten.
* - Fix markup.ru2006-12-291-42/+44
| | | | | | | | | - Somewhat improve wording. - Change the layout of the EXAMPLES section so that descriptions come before example, as in most other manpages. - Fix a bad example that edits a label using a `c' partition.
* Add half/quarter rate 11a channel support:sam2006-12-271-15/+25
| | | | | | | | o add hack/nonstandard channel mapping for public safety band channels to mirror kernel (temporary until we have proper 802.11 state) o change ieee80211_mhz2ieee to take channel flags (unused right now) While here do some minor fixups like using IEEE80211_IS_CHAN_ANYG.
* Remove duplicate "clear" subcommand.ceri2006-12-211-4/+0
| | | | | PR: docs/106947 Submitted by: TAOKA Fumiyoshi
* Clear full-duplex when half-duplex flag is set. This actually makesjkim2006-12-191-2/+6
| | | | | 'mediaopt half-duplex' working as it should. It is now equivalent of '-mediaopt full-duplex'.
* For consistency use 'unsigned' instead of 'u_int'.pjd2006-12-183-4/+4
|
* Fix ggated for platforms with 64bit size_t. The DIOCGSECTORSIZE ioctlpjd2006-12-153-4/+4
| | | | | | | | returns u_int. Reported by: Javier Martín Rueda <jmrueda@diatel.upm.es> PR: amd64/91799 MFC after: 3 days
* - Document -u, -i, and the difference between them better.ru2006-12-121-15/+13
| | | | - Remove some historical notes about "future" decisions.
* These days P2P means peer-2-peer (also well known from serveral filesharingthompsa2006-12-112-16/+16
| | | | | | | protocols) while PointToPoint has been PtP links. Change the variables accordingly while the code is still fresh and undocumented. Requested by: bz
* Style: Shorten a couple of lines with u_int and u_long.imp2006-12-101-5/+3
|
* fix handling of ssid "-" etc; we're writing 1 byte past thesam2006-12-091-2/+3
| | | | | | | | end of the result buffer Noticed by: Sepherosa Zieha Reviewed by: cperciva MFC after: 2 weeks
* Document the following change in behavior:ru2006-12-081-2/+2
| | | | | | : fdisk.c revision 1.74 : date: 2004/06/14 07:21:19; author: phk; state: Exp; lines: +3 -3 : Make fdisk initialize the first instead of the last slice by default.
* Pass a char buffer parameter with name "errmsg" to nmount().rodrigc2006-12-071-1/+4
| | | | | | | For filesystems which use vfs_mount_error() to log an error, this char buffer will be populated with a string error message. If nmount() fails, in addition to printing out strerror(errno), print out the "errmsg" populated by vfs_mount_error().
* Add a "-D" flag to restore which puts it into "degraded" mode. Thisdwmalone2006-12-055-22/+104
| | | | | | | | | | | | | | | | | | makes restore less efficient, but it makes a bigger effore to read corrupted dumps. Specifiacally, when in degreded mode: 1) Restore shifts the input by 1 byte if it sees a problem, rather than one tape block. 2) It doesn't assume the inodes are stored in ascending order. 3) It turns some panics into warning printfs. We also verify some fields more carefully than before. There's probably more a degreded mode could do, but this seems to help a lot. Approved by: imp, iedowse, mckusick MFC after: 3 weeks
* o Correct a function prototype.maxim2006-12-041-1/+1
|
* It's confusing to say that "Command Queueing Supported" just basedmjacob2006-12-031-3/+2
| | | | | upon the scsi flag validity field. Instead, just say "Command Queueing Enabled" when it is- otherwise remain mute.
* Many, many thanks to Masanori OZAWA <ozawa@ongs.co.jp>rodrigc2006-12-023-96/+290
| | | | | | | | | | | | | and Daichi GOTO <daichi@FreeBSD.org> for submitting this major rewrite of unionfs. This rewrite was done to try to solve many of the longstanding crashing and locking issues in the existing unionfs implementation. This implementation also adds a 'MASQUERADE mode', which allows the user to set different user, group, and file permission modes in the upper layer. Submitted by: daichi, Masanori OZAWA Reviewed by: rodrigc (modified for minor style issues)
* Pass a string buffer named "errmsg" to nmount().rodrigc2006-11-291-2/+4
| | | | | | | | This will allow the NFS mount code to return a string error message in addition to returning an error integer value. Reviewed by: mohans MFC after: 1 month
* Deduce the "fstype" parameter to pass to nmount() by looking atrodrigc2006-11-291-2/+8
| | | | | | | | the "_nfs" part of argv[0]. This should facilitate unifying mount_nfs and mount_nfs4 into one binary. MFC after: 1 month Reviewed by: mohans
* - Revert signedness type changes to "struct vmtotal"; by makingru2006-11-281-15/+11
| | | | | | | | | | | | | | them unsigned I made the possible overflows hard to detect, and it only saved 1 bit which isn't principal, even less now that the underlying issue with the total of virtual memory has been fixed. (For the record, it will overflow with >=2T of VM total, with 32-bit ints used to keep counters in pages.) - While here, fix printing of other "struct vmtotal" members such as t_rq, t_dw, t_pw, and t_sw as they are also signed. Reviewed by: bde MFC after: 3 days
* Add descriptions for p2p and autop2p.thompsa2006-11-271-0/+20
|
* Bump .Dd for r1.127.ceri2006-11-271-1/+1
|
* Show the MAC address cache size and timeout.thompsa2006-11-271-14/+22
|
* Keep the command name the same as the values display name in ifconfig.thompsa2006-11-272-2/+2
|
* Sync with the OpenBSD port of RSTPthompsa2006-11-271-39/+53
| | | | | | | | | - use flags rather than sperate ioctls for edge, p2p - implement p2p and autop2p flags - define large pathcost constant as ULL - show bridgeid and rootid in ifconfig Obtained from: Reyk Floeter <reyk@openbsd.org>
* - When building world WITHOUT_LIBPTHREAD, link libthr to libpthread.ru2006-11-261-6/+2
| | | | | - Don't build ngctl(8) and cached(8) if threading libs aren't built. - Fix various issues in a cached(8) makefile.
* Fix the format specifier suitable for uintmax_t.ru2006-11-231-5/+5
|
* Detach mount_devfs, mount_ext2fs, mount_fdescfs, mount_procfs,rodrigc2006-11-221-2/+0
| | | | | mount_linprocfs, and mount_std from the build. They are no longer used, and can be replaced with "mount -t fstype".
* Cross-reference nextboot(8).jkoshy2006-11-222-0/+2
| | | | MFC after: 3 days
* Increase WARNS to 3.rodrigc2006-11-211-1/+1
|
OpenPOWER on IntegriCloud