summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* If we specify: mount -u (update), without specifying anrodrigc2006-02-251-11/+7
| | | | | | | | | | | | additional -r (read-only) flag or or -w (read-write) flag, then assume we want, mount -u -w. When doing a mount update, this will implicitly pass a "noro" mount option down to the VFS layer. vfs_mergeopts() in vfs_mount.c will then remove the "ro" mount option if it exists in the mount options for a mounted file system. This means that "mount -u" works the same as "mount -u -w" and will convert a read-only mount to read-write.
* Update text to reflect that:rodrigc2006-02-251-9/+31
| | | | | | | | - mount(8) now calls the nmount(2) system call directly, not mount(2) - specifying a filesystem type with -t will not automatically invoke an external /sbin/mount_XXXX program....this only happens for certain file system types. For all other file system types, nmount(2) is called directly.
* Revert a minor glitch of revision 1.69keramida2006-02-241-2/+2
| | | | | Submitted by: Andriy Tkachuk <andrit@ukr.net> X-MFC after: RE approval
* cleanup line break formattingsam2006-02-231-95/+95
| | | | MFC after: 1 week
* Use kld(3) for loading geom_md.ko.pjd2006-02-181-20/+3
|
* Add new -E option, which allows to specify location of the mdconfig(8)sobomax2006-02-162-8/+20
| | | | | | utility instead of using default _PATH_MDCONFIG (/sbin/mdconfig). MFC after: 1 week
* add miss args to mac:del and mac:kicksam2006-02-151-3/+3
| | | | | Submitted by: Anders Hanssen MFC after: 3 days
* fix off by one malloc sizessam2006-02-141-3/+3
| | | | | Submitted by: Michal Mertl MFC after: 1 week
* oops, mismerge from working sources.. not only add new code,julian2006-02-141-2/+0
| | | | but remove old code!
* Stop ipfw from aborting when asked to delete a table entry thatjulian2006-02-142-1/+13
| | | | | | | | doesn't exist or add one that is already present, if the -q flag is set. Useful for "ipfw -q /dev/stdin" when the command above is invoked from something like python or TCL to feed commands down the throat of ipfw. MFC in: 1 week
* s/Februari/February/.joel2006-02-121-1/+1
|
* Add a simple manpage.marcel2006-02-112-1/+74
|
* Add an example how to use keyfiles for encrypted providers which should bepjd2006-02-111-1/+37
| | | | | | attached before the root file system is mounted. MFC after: 3 days
* - Allow to use -b without passphrase or with keyfiles as it will bepjd2006-02-111-20/+16
| | | | | | | | | | | | | | supported for a moment. - Don't allow to use -i when no passphrase is given. Now if iterations is equal to -1 (not set), we know that we should not ask for the passphrase on boot. It still doesn't handle situation when one key is protected with passphrase and the other is not. There is no quick fix for this. The complete solution will be to make number of iterations a per-key value. Because this need metadata format change and is only needed for devices attached on boot, I'll leave it as it is for now. MFC after: 3 days
* really truncate long ssid's when !verbosesam2006-02-081-1/+1
| | | | MFC after: 1 week
* Teach gbde(8) to use a key file in addition to a passphrase. Thiscperciva2006-02-082-25/+85
| | | | | | | | makes it practical to use GBDE for "something you have plus something you know" security together with a USB flash drive. Reviewed by: phk MFC after: 7 days
* Correct RFC for NTP.jcamou2006-02-061-1/+1
| | | | | | | PR: docs/92629 Submitted by: Daniel Gerzo <danger@rulez.sk> Noticed by: Michal F. Hanula <f@7f000001.org> Approved by: trhodes (mentor)
* Fix a markup glitch.ru2006-02-031-1/+1
|
* Document carp(4) arguments.jcamou2006-02-031-1/+26
| | | | | | | | PR: docs/92653 Submitted by: Jeremy C. Reed <reed@reedmedia.net> Reviewed by: ru Approved by: trhodes (mentor) MFC after: 5 days
* Deny init/attach/setkey subcommands when no key components are given.pjd2006-02-011-1/+4
| | | | | MFC after: 3 days Tested with: prove /usr/src/tools/regression/geom_eli
* Expand contractions.joel2006-02-011-2/+2
|
* Remove trailing spaces.pjd2006-02-0112-28/+28
|
* Remove unused argument.pjd2006-01-311-3/+2
| | | | MFC after: 3 days
* Use pidfile(3).pjd2006-01-303-12/+35
| | | | OK'ed by: imp
* Allow to specify only one disk. This is helpful when we want to extendpjd2006-01-302-5/+16
| | | | | | our concatenated device later. MFC after: 1 week
* Add support for Cronyx TAU-PCI/32 ce(4).rik2006-01-301-16/+68
|
* Recognize new VLAN_HWCSUM flag.glebius2006-01-301-1/+2
|
* Do address assignment/removal operations after callbacks.yar2006-01-301-7/+6
| | | | | | | | | | | | | | | Presently, ifconfig callbacks are used for L2 configuration, media and vlan, so actions associated with address assignment, like sending out a gratuitous ARP, should go when L2 is running already. This also should fix the problem with setting up vlan interfaces from rc.conf, when both IP and vlan+vlandev parameters are passed to ifconfig at once. Future work: Consider introducing several ifconfig callback lists to invoke callbacks orderly. MFC after: 1 week
* Remove accidental debug leftovers.sos2006-01-301-1/+0
|
* Fix an off-by-one error.maxim2006-01-291-1/+1
| | | | Reviewed by: sam
* Add a reference to geli(8).pjd2006-01-291-0/+3
| | | | MFC after: 3 days
* Fix rev 1.12.brooks2006-01-261-1/+1
| | | | | | | | | | | | | /tmp may not be writeable yet when dhclient is first run via /etc/rc.d/netif so using it may not work. Also, writing to a predictable file in /tmp as root is a really bad idea since a malicious user may be able to win a race and insert a symlink which will allow them to cause any file to be overwritten. To solve these problems, create the tempory file in /var/run which will exist this early and is writable only by root. Security: Local risk if users can cause dhclient to run on demand (such as by unplugging and replugging the network cable).
* Crank WARNS up to 6, just because we can.dougb2006-01-251-1/+1
|
* s/<space><tab>/<tab>/pjd2006-01-241-1/+1
|
* Give the TIMEOUT case a chance to work by using -t # instead of thebrooks2006-01-241-1/+1
| | | | | | | | OpenBSD -w # when invoking ping. PR: bin/92187 Submitted by: "Shin'ya Kumabuchi" <kumabu at t3 dot rim dot or dot jp> MFC After: 6 days
* Update copyright header to match rest of ATA.sos2006-01-231-3/+1
|
* Make dhclient-script more agreeable with read-only /etc.wes2006-01-231-9/+10
| | | | | | PR: 90518 Submitted by: John E. Hein <jhein@timing.com> MFC after: 3 days
* don't widen the ssid field by default, this screws up other formatting;sam2006-01-181-6/+8
| | | | make it available with the -v option
* Resolve the mount point's path with realpath(2) before checking if filepjd2006-01-181-1/+8
| | | | | | | | | | | system is mounted. This prevevents duplicated mounts. The change I made against the original patch is to fall back to the given path on realpath(2) failure instead of exiting with an error. Submitted by: Andreas Kohn <andreas@syndrom23.de> PR: bin/89782 MFC after: 3 days
* Properly print the SATA protocal version.sos2006-01-181-4/+9
|
* Revert previous change, "getopts" (with an 's') is a builtin inwes2006-01-181-23/+8
| | | | /bin/sh.
* Fix an 11 year old mistake: Let the hash functions take a void* insteadphk2006-01-171-1/+1
| | | | of unsigned char* argument.
* Fix a "free(): error: chunk is already free" under certaindougb2006-01-171-3/+10
| | | | | | | | circumstances that include circular dependencies. PR: bin/91789 PR submitted by: Frank Behrens <frank@pinky.sax.de> Patch submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
* Remove dependency on getopts because it is on /usr and we want towes2006-01-161-8/+23
| | | | use 'nextboot -D' in rc. Option parsing cribbed from vgrind.sh.
* Remove scary warning, since nullfs works fine thesedays.kris2006-01-161-13/+0
| | | | MFC after: 1 week
* Fix an off-by-one bug.ru2006-01-151-1/+1
| | | | Submitted by: Ulrich Spoerlein
* Forget about ipfw1 and ipfw2. We aren't in RELENG_4 anymore.glebius2006-01-131-139/+6
|
* Document 'tablearg' keyword.glebius2006-01-131-1/+31
| | | | Wording by: emaste
* Grab the media from the passed in structure to put it into theambrisko2006-01-111-0/+1
| | | | | | | global structure. PR: bin/91399 Submitted by: Spencer Minear
* - Xref mount_reiserfs(8)pav2006-01-101-0/+1
| | | | | | PR: docs/90902 Submitted by: Scott Robbins <scottro@nyc.rr.com> MFC after: 3 days
OpenPOWER on IntegriCloud