summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* - Mention the size of the additional headerpav2006-01-071-1/+1
| | | | | | PR: docs/85867 Submitted by: dinoex MFC after: 1 week
* o Typo in the error message: s/invald/invalid.maxim2006-01-051-1/+1
| | | | | PR: misc/91341 Submitted by: Guy Harris
* Add a -P option to allow skipping newfs when using a vnode-backeddd2006-01-022-6/+22
| | | | | | | | | | | | | | | | | disk. Apparently some people want to use mdmfs as mount_* as a shortcut for mounting existing file-based file systems. Note that unlike in the patches from the submitters, this option is not available in compat mode. Compat mode was supposed to support only things that mount_mfs used to support. To use this option from fstab, mdmfs should be called mount_md, not mount_mfs. This distinction has not always upkept for new options, and those can't be fixed now without breaking people's systems, but new options should not usually be allowed in compat mode. (Not sure why -F is allowed there at all.) PR: 57641 Submitted by: Ruben de Groot Submitted independently by: Wojciech A. Koszek, for Urzad Miasta Czestochowa
* When printing SSID's in ifconfig(8)'s scan mode, set the width of therwatson2005-12-301-3/+3
| | | | | ssid field to 32 characters instead of 14, as long SSID's are quite common and hard to type in if you can't read them.
* Add printproto.c to libipfguido2005-12-301-2/+2
|
* document deftxkeysam2005-12-261-1/+9
|
* Kill the BUGS section, and remove a similar line noted under -T. As fartrhodes2005-12-251-14/+3
| | | | | | | as I know, Sun's NFS support works with TCP just fine. This is even hinted at in the PR. PR: 71782
* Add the example that green@ used in his commit log for the dump to aimp2005-12-231-1/+8
| | | | | pipe functionality. I've done a cvs log main.c about a dozen times now. Maybe others will find this useful.
* If we're operating without running external programs (-N) anddd2005-12-221-1/+1
| | | | | | | autonumbering is requested, set the unit to 0 instead of -1. This option is just for output, and "/dev/md-1" looks disconcerting. Submitted by: Wojciech A. Koszek
* Sort the list results by the unit number. The list returned by thedd2005-12-221-3/+13
| | | | | | | | kernel is in the order the devices were made, which is not useful to the user. Also, remove the "%d more" test since the kernel does not return the complete count in md_pad[0] (maybe it should?). Submitted by: Wojciech A. Koszek
* o Remove rev. 1.14 debug printf(3) leftovers.maxim2005-12-201-6/+1
| | | | | | PR: bin/90389 Submitted by: Gavin Atkinson OK'ed by: phk
* Fixing multi-session disc mount by passing the correct "ssector" optionavatar2005-12-191-1/+1
| | | | | | to the kernel. Submitted by: Enache Adrian <enache at rdslink dot ro>
* Rev 1.15 should have incremented the date on this manual page.jkoshy2005-12-191-1/+1
|
* Document the pfsync(4) specific maxupd parameter, with text mostly takenceri2005-12-161-1/+12
| | | | | | | | from OpenBSD's manpage. PR: docs/89256 Submitted by: Pim van Pelt <pim at ipng dot nl> MFC after: 3 days
* add control for packet burstingsam2005-12-142-1/+30
|
* o Correct usage(): delete command takes as argument array not channel.maxim2005-12-141-1/+1
| | | | | | PR: bin/90353 Submitted by: Gavin Atkinson MFC after: 1 week
* Add support for creating span ports so that one can snoop bridged trafficthompsa2005-12-142-0/+35
| | | | | | | from another interface/machine/network. Obtained from: OpenBSD MFC after: 2 weeks
* display a bssid that's zero with the -v optionsam2005-12-141-1/+1
|
* [mdoc] add missing space before a punctuation type argument.ru2005-12-131-1/+1
|
* Add a new feature for optimizining ipfw rulesets - substitution of theglebius2005-12-131-46/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | action argument with the value obtained from table lookup. The feature is now applicable only to "pipe", "queue", "divert", "tee", "netgraph" and "ngtee" rules. An example usage: ipfw pipe 1000 config bw 1000Kbyte/s ipfw pipe 4000 config bw 4000Kbyte/s ipfw table 1 add x.x.x.x 1000 ipfw table 1 add x.x.x.y 4000 ipfw pipe tablearg ip from table(1) to any In the example above the rule will throw different packets to different pipes. TODO: - Support "skipto" action, but without searching all rules. - Improve parser, so that it warns about bad rules. These are: - "tablearg" argument to action, but no "table" in the rule. All traffic will be blocked. - "tablearg" argument to action, but "table" searches for entry with a specific value. All traffic will be blocked. - "tablearg" argument to action, and two "table" looks - for src and for dst. The last lookup will match.
* For reiserfs, pass mount parameters directly to nmount() insteadrodrigc2005-12-121-1/+1
| | | | | | of forking an external mount_reiserfs program. Reviewed by: dumbbell
* add mcastrate supportsam2005-12-122-1/+25
| | | | MFC after: 1 week
* When we get a bogus hostname in an option, drop the option rather thanbrooks2005-12-101-1/+4
| | | | | | | refusing the lease. This allow obtaining leases on misadministered networks that use host names with underscores in them. MFC After: 3 days
* Cleanup _FreeBSD_version.glebius2005-12-091-3/+0
|
* Tweak -32 description and add -32 FILES.obrien2005-12-091-2/+7
|
* Teach NOP GEOM class how to gather the following statistics:pjd2005-12-082-6/+25
| | | | | | | | - number of read I/O requests, - number of write I/O requests, - number of read bytes, - number of written bytes. Add 'reset' subcommand for resetting statistics.
* - The geom(8) utility only uses three types of arguments: string (char *),pjd2005-12-0710-729/+327
| | | | | | | | | | | | | | | | | value (intmax_t) and boolean (int). Based on that provide three functions: - gctl_get_ascii() - gctl_get_int() - gctl_get_intmax() - Hide gctl_get_param() function, as it is only used internally in subr.c. - Allow to provide argument name as (fmt, ...). - Assert geom(8) bugs (missing argument is a geom(8) bug). - Clean-up and simplify the code by using new functions and assumtions (no more checking for missing argument). Tested by: regression tests
* Remove workaround for old GCC bugs.rodrigc2005-12-031-5/+0
| | | | Submitted by: ru
* Simplify parsing of mount options by passingrodrigc2005-12-031-1/+1
| | | | "rw" option down to kernel, since vfs_donmount() can now parse it.
* Remove mqueuefs from LINKS, it is no longer needed for nmount interface.davidxu2005-12-021-1/+0
| | | | Noticed by: rodrigc
* Remove unsupported "dev" option from comments of mntopts.h.rodrigc2005-12-021-1/+1
| | | | Requested by: jkoshy
* Sync usage() with SYNOPSIS.ru2005-12-011-4/+4
|
* Add -q to usage().ru2005-12-011-2/+2
|
* Fixing yet another regression introduced in rev1.37 by preserving cs_localavatar2005-12-011-0/+1
| | | | | | | pointer such that local to DOS code page conversion with combined option '-L,-D' works again. Reviewed by: rodrigc
* We couldn't specify the rule for filtering tunnel traffic since anume2005-11-292-16/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | IPv6 support was committed: - Stop treating `ip' and `ipv6' as special in `proto' option as they conflict with /etc/protocols. - Disuse `ipv4' in `proto' option as it is corresponding to `ipv6'. - When protocol is specified as numeric, treat it as it is even it is 41 (ipv6). - Allow zero for protocol as it is valid number of `ip'. Still, we cannot specify an IPv6 over an IPv4 tunnel like before such as: pass ipv6 from any to any But, now, you can specify it like: pass ip4 from any to any proto ipv6 PR: kern/89472 Reported by: Ga l Roualland <gael.roualland__at__dial.oleane.com> MFC after: 1 week
* Catch up with ip_dummynet.h rev. 1.38 and fix build.glebius2005-11-291-2/+2
|
* Garbage-collect now unused struct _ipfw_insn_pipe and flush_pipe_ptrs(),glebius2005-11-291-1/+1
| | | | | thus removing a few XXXes. Document the ABI breakage in UPDATING.
* Remove MNT_NODEV mount option. In RELENG_6, MNT_NODEV was a no-op.rodrigc2005-11-291-2/+0
| | | | | | The presence of MNT_NODEV was confusing the am-utils autoconf scripts. PR: conf/79715
* Change filesystem name from mqueue to mqueuefs for style consitent,davidxu2005-11-271-2/+2
| | | | sort LINKS list.
* Support mounting POSIX message queue filesystem.davidxu2005-11-261-1/+2
|
* It turns out that set_charset() invokes build_iovec_argf() which modifiesavatar2005-11-251-6/+6
| | | | | | | | | | | | | iov address internally through realloc(3). However, since the function parameter wasn't designed to allow the modified iov being passed back to the caller, we ended up feeding iov with several corrupted entries(this depends on how many arguments were pushed into iovec before set_charset()) to nmount(2). This commit fixes this regression introduced in rev1.37 such that mount_msdosfs(8) with code page conversion option(-W,-D) enabled works again. Reviewed by: rodrigc
* It turns out that set_charset() invokes build_iovec() which modifiesavatar2005-11-251-5/+5
| | | | | | | | | | | | iov address internally through realloc(3). However, since the function parameter wasn't designed to allow the modified iov being passed back to the caller, we end up feeding iov with several corrupted entries(depends on how many arguments were pushed into iovec before set_charset()) to nmount(2). This commit fixes this regression introduced in rev1.31 such that mount_cd9660(8) with code page conversion option(-C) enabled works again. Reviewed by: rodrigc
* Fixing a regression introduced in rev1.72 by connecting cd9660 to theavatar2005-11-241-1/+1
| | | | | | | | | external mounting program list as well; otherwise, entry like the following in /etc/fstab wouldn't work: /dev/acd0 /mnt/cdrom cd9660 ro,-C=big5 0 0 Reviewed by: rodrigc
* Add a -f configfile option to devd(8), based on a patch submitted byjkoshy2005-11-242-5/+33
| | | | | | Wojciech A. Koszek. Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl>
* Fix prototype.ru2005-11-241-1/+4
|
* s/5.5/6.0/ in HISTORY section.joel2005-11-241-1/+1
| | | | Discussed with: ru
* Remove UFS-specific parts from mount(8).rodrigc2005-11-233-136/+1
| | | | | For mounting UFS, all mount options are passed directly to nmount(), without any UFS-specific logic.
* These files were never hooked into the build, and were the startrodrigc2005-11-232-151/+0
| | | | | | of an nmount()-based mount program for UFS. Now that mount(8) calls nmount() directly for mounting UFS filesystems, they are unnecessary.
* Do not pass userquota and groupquota mount options to nmount().rodrigc2005-11-231-0/+4
| | | | | | | These options are read from fstab by quotacheck(8), but are not valid mount options that need to be passed down the the filesystem. Noticed by: maxim
* - Adding the missing 'W' option back which was accidentally removedavatar2005-11-231-2/+2
| | | | | | | | in rev1.37. - Fixing a core dump inside build_iovec_argf by providing a !NULL format string to vsnprintf(3). Reviewed by: rodrigc
OpenPOWER on IntegriCloud