summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add new modes.sos2006-03-151-0/+4
|
* There is no IFF_POLLING flag anymore.glebius2006-03-121-1/+1
|
* Flush stdout after printing name of created device, so it can be properlypjd2006-03-121-1/+3
| | | | | | | | read when 'ggatec create' is used in backticks or its output is piped to another command. Submitted by: Paul Schenkeveld MFC after: 3 days
* Revert to setting vlan and vlandev parametes synchronously, as soonyar2006-03-091-0/+9
| | | | | | | | | | | | | | | as both have been read from the command line. Still use the callback, but this time only to verify that both vlan and vlandev have been found on the command line. This should allow for control over the relative order of processing parameters, which is needed to satisfy some caveats of the if_vlan driver. E.g., MTU cannot be changed on a vlan interface until it's attached to its parent. PR: bin/94028 Reviewed by: ru MFC after: 3 days
* Explain why the first partition should start at offset 16.pjd2006-03-081-0/+2
| | | | Requested by: hrs
* Add some notes how to properly dump kernel onto gmirror provider.pjd2006-03-081-1/+42
| | | | | Reviewed and corrected by: brueffer MFC after: 3 days
* Revert `proto ip' back to the previous behavior. The kernel side ofume2006-03-052-5/+3
| | | | | | ipfw2 doesn't allow zero as protocol number. MFC after: 3 days
* Fix evil examples - first partition should start at offset 16.pjd2006-03-041-5/+5
| | | | MFC after: 3 days
* Print "clear" and "dump" only once.wkoszek2006-03-031-2/+2
| | | | | | Reviewed by: pjd Approved by: cognet (mentor) MFC after: 3 days
* When there are no mount options, an implicit "rw" should be printed inkeramida2006-03-031-1/+6
| | | | | | the output of ``mount -p''. Approved by: rodrigc
* use standard mode instead of 500 for /sbin/init.luigi2006-02-281-1/+0
| | | | | | | | | | | | | | | As discussed on -current, there is no sensitive info in /sbin/init to prevent reading it from non-privileged users, nor any reason to remove the 'x' bit as the first thing the program does is check the uid and exit if it is not run by root. Instead (and this is why i make the change), mode 500 prevents operation when exporting the partition without -maproot=0 to diskless clients. All previuos releases are affected by the same problem, so a merge to RELENG_6 at least would be appropriate (after proper re@ approval of course).
* Bump a date in .Dd field. Last change brought some new functionality.wkoszek2006-02-271-1/+1
| | | | | | Spotted by: brueffer Approved by: cognet (mentor) MFC after: 1 week
* Extend kldunload(8) functionality and fix minor problems:wkoszek2006-02-273-40/+50
| | | | | | | | | | | | | | | | o multiple modules can be unloaded at once (specified either by id or be module name) o exit with EX_USAGE after usage() is called. o remove unused variables, since we keep command line flags as bitmask, in 'opt'. o 'kldload -n ...' does nothing. Add comment to this options. Additionally: o Update manual page to conform new functionality. o Increace WARNS to 6. Because we can. Approved by: cognet (mentor) MFC after: 1 week
* Big style(9) fix. This commit brings no functional change.wkoszek2006-02-271-53/+56
| | | | | Approved by: cognet (mentor) MFC after: 1 week
* explain what list chan displayssam2006-02-271-4/+23
| | | | MFC after: 1 week
* Avoid moving onto a new line while testing if there is a syslog prioritydwmalone2006-02-271-1/+2
| | | | | | | | | in the buffer. This isn't exactly the patch that Stephen submitted, but is based on one of his suggestions. PR: 93841 Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu> MFC after: 2 weeks
* It has not been possible to specify a dumpdev in loader.conf since 2002,kris2006-02-271-10/+0
| | | | so don't raise false hopes here.
* o Bump date (thanks ru)imp2006-02-261-18/+11
| | | | | | | | | o Also, fdisk_pc98 appears to support -i, so add it to the man page. o Ditto -v o Change the name from PC partition table maintenance program to NEC PC-98x1 partition table maintenance program, since it is possible to have a DOS MBR formatted disk on FreeBSD/pc98 now (although we don't install any tools for this).
* Fixes and new features:imp2006-02-262-12/+62
| | | | | | | | | | | | | | | | | | o Merge the -I switch from i386 verison to initialize the partition table to use the maximum amount possible for a single FreeBSD table. o Improve warning when the geom method fails (which I think it always will until geom_pc98 is updated to respond to this ctl message) o when writing out the boot sector, we have to write out a minimum of 1024 bytes or the sector size. This is different than the i386 case where we need to write out a minimum of 512 bytes (which is also the minimum sector size). We already handle this difference on reading, but didn't in writing, so attempting to write a new partition table would fail. o Add MID to the -s output, since pc98 users are likely interested in both of these parameters. # I can now initialize disks on my pc98 machine either by -I or by # manually entering the parameters. I don't know if fdisk -B works or not, # since I'm not willing to risk my only working boot disk to test it..
* 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
OpenPOWER on IntegriCloud