aboutsummaryrefslogtreecommitdiff
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* really, this time for sure. Fix formatting in usage().Matthew Dillon2003-01-131-2/+2
| | | | Notes: svn path=/head/; revision=109190
* Grr. I keep forgetting things. Include -C in dump's usage() .Matthew Dillon2003-01-131-1/+1
| | | | Notes: svn path=/head/; revision=109189
* Add support for obsolete option form for -CMatthew Dillon2003-01-131-0/+1
| | | | Notes: svn path=/head/; revision=109188
* Add a caching option to dump. Use -C. Note that NetBSD has a caching optionMatthew Dillon2003-01-136-6/+175
| | | | | | | | | | | | | | | | | | | | | | called -r but it takes 512 byte blocks instead of megabytes, and I felt a megabytes specification would be far more useful so I did not use the same option character. This will *greatly* improve dump performance at the cost of possibly missing filesystem changes that occur between passes, and does a fairly good job making up for the loss of buffered block devices. Caching is disabled by default to retain historical behavior. In tests, dump performance improved by about 40% when dumping / or /usr. Beware that dump forks and the cache may wind up being larger then you specify, but a more complex shared memory implementation would not produce results that are all that much better so I kept it simple for now. MFC after: 3 days Notes: svn path=/head/; revision=109187
* Mention the oddities and requirements for mount operations executed byJoerg Wunsch2003-01-131-0/+4
| | | | | | | | | | | non-root users. PR: docs/42651 Submitted by: Thomas Seck <tmseck@netcologne.de> MFC after: 3 days Notes: svn path=/head/; revision=109186
* Add the /boot prefix. I forgot this when updating the location.Tom Rhodes2003-01-131-2/+2
| | | | | | | Neglected by: trhodes Notes: svn path=/head/; revision=109184
* Update the kernel location in FILES.Tom Rhodes2003-01-131-2/+2
| | | | | | | PR: 47015 Notes: svn path=/head/; revision=109180
* It turns out that we do not need to add a new ioctl to unbreak aMatthew Dillon2003-01-122-0/+43
| | | | | | | | | | | | | | | | default-to-deny firewall. Simply turning off IPFW via a preexisting sysctl does the job. To make it more apparent (since nobody picked up on this in a week's worth of flames), the boolean sysctl's have been integrated into the /sbin/ipfw command set in an obvious and straightforward manner. For example, you can now do 'ipfw disable firewall' or 'ipfw enable firewall'. This is far easier to remember then the net.inet.ip.fw.enable sysctl. Reviewed by: imp MFC after: 3 days Notes: svn path=/head/; revision=109126
* Cleanup the formatting from the last commit, convert everything toMatthew Dillon2003-01-111-8/+21
| | | | | | | a more human-readable 'kilobytes' instead of pages. Notes: svn path=/head/; revision=109113
* Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten.Matthew Dillon2003-01-111-0/+26
| | | | | | | | | | (the patch in the PR was stale). PR: kern/5689 Submitted by: Hiten Pandya <hiten@unixdaemons.com> Notes: svn path=/head/; revision=109097
* I don't know where we got this ccd creation example from... or if it wasDavid E. O'Brien2003-01-101-2/+9
| | | | | | | | ever correct. It certainly hasn't been correct for *years*, and it conflicts with the FAQ. So update this example to match the FAQ. Notes: svn path=/head/; revision=109076
* Add TAPE to the ENVIRONMENT section and standardize the section, using aSheldon Hearn2003-01-101-3/+6
| | | | | | | | | list instead of prose. MFC after: 1 month Notes: svn path=/head/; revision=109067
* Add TAPE to the ENVIRONMENT section.Sheldon Hearn2003-01-101-0/+2
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=109066
* Add an ENVIRONMENT section so that the reader knows that the TMPDIR envarSheldon Hearn2003-01-101-0/+5
| | | | | | | | | | is honoured. Reported by: des MFC after: 1 month Notes: svn path=/head/; revision=109065
* These are OBE. devd.conf now lives in /etc.Warner Losh2003-01-092-126/+0
| | | | Notes: svn path=/head/; revision=108985
* Change this:Peter Wemm2003-01-081-4/+4
| | | | | | | | | | | | | | #include <strings.h> ... foo = (char *)strdup(...); To: #include <string.h> foo = strdup(...); because the former segfaults on an ia64 since there is no prototype for strdup() in strings.h. Converting an "int" to a pointer is fatal. Notes: svn path=/head/; revision=108929
* Terminate the usage message with \n.Warner Losh2003-01-061-1/+1
| | | | | | | Submitted by: joe Notes: svn path=/head/; revision=108799
* MFp4: make it workWarner Losh2003-01-061-41/+181
| | | | | | | | | | | | | | | | | o Expand variables correctly. o Set variables for each event. o rewrite event loop to execute the commands in the config file, rather than the hard wired generic command o better(?) debug when running -d o sort vectors of actions so that we just have to search for the first one to match rather than the best one that matches. o better attempts to clear all resources used on 'restart' o Remove now bogus comments MFC After: 1 centiyear Notes: svn path=/head/; revision=108783
* devd not devddWarner Losh2003-01-061-1/+1
| | | | | | | submitted by: joe Notes: svn path=/head/; revision=108781
* Fix a reference to the order of SYNOPSIS lines.Giorgos Keramidas2003-01-051-1/+1
| | | | | | | | | Submitted by: Olivier Cherrier <Olivier.Cherrier@cediti.be> on freebsd-net MFC after: 3 days Notes: svn path=/head/; revision=108691
* Rename the dos_partition structure for pc98 to pc98_partition.Yoshihiro Takahashi2003-01-043-14/+35
| | | | Notes: svn path=/head/; revision=108650
* Remove CCDF_SWAP and CCDF_PARITY. They have never been implemented.Poul-Henning Kamp2003-01-032-4/+0
| | | | Notes: svn path=/head/; revision=108592
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-0110-15/+15
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/Jens Schweikhardt2002-12-303-4/+4
| | | | | | | Add FreeBSD Id tag where missing. Notes: svn path=/head/; revision=108470
* Remove hack from rev 1.15; getbsize(3)'s original interface has beenMike Barcroft2002-12-301-3/+1
| | | | | | | restored. Notes: svn path=/head/; revision=108459
* This really isn't WARNS clean.David E. O'Brien2002-12-301-2/+1
| | | | Notes: svn path=/head/; revision=108430
* Make the first argument to getbsize(3) a `size_t *'. This is a hackMike Barcroft2002-12-301-3/+4
| | | | | | | since getbsize(3) should have `int *' as its first parameter. Notes: svn path=/head/; revision=108425
* Make fdisk work on active GEOM devices.Poul-Henning Kamp2002-12-291-8/+33
| | | | Notes: svn path=/head/; revision=108395
* Add 'swapctl' - as a hardlink to swapon/swapoff, and augment swapon withMatthew Dillon2002-12-283-65/+257
| | | | | | | | | | | | | | swapctl functionality. The idea is to create a swapctl command that is fairly close to the OpenBSD and NetBSD version. FreeBSD does not implement swap priority (and it would be a mistake if we did) so we didn't bother with that part of it. Submitted by: Eirik Nygaard <eirikn@bluezone.no> Augmented by: dillon (extensively) Reviewed by: David Schultz <dschultz@uclink.Berkeley.EDU> Notes: svn path=/head/; revision=108375
* english(4) police.Jens Schweikhardt2002-12-2712-191/+191
| | | | Notes: svn path=/head/; revision=108317
* Spelling: s/then/than/ where appropriate.Ruslan Ermilov2002-12-241-1/+1
| | | | Notes: svn path=/head/; revision=108260
* mdoc(7) police: Deal with self-xrefs.Ruslan Ermilov2002-12-242-2/+2
| | | | Notes: svn path=/head/; revision=108257
* Make preprocessor support more generic by passing all command-line optionsKelly Yancey2002-12-233-50/+32
| | | | | | | | | | | | | after -p except for the last (the ruleset file to process) to the preprocessor for interpretation. This allows command-line options besides -U and -D to be passed to cpp(1) and m4(1) as well as making it easier to use other preprocessors. Sponsored By: NTT Multimedia Communications Labs MFC after: 1 week Notes: svn path=/head/; revision=108231
* Fixed the abuses of .Ql visible on stderr in troff mode.Ruslan Ermilov2002-12-234-7/+7
| | | | | | | PR: docs/37176 Notes: svn path=/head/; revision=108221
* mdoc(7) police: fixed the misplaced .Bl call.Ruslan Ermilov2002-12-231-1/+1
| | | | Notes: svn path=/head/; revision=108219
* mdoc(7) police: markup nits.Ruslan Ermilov2002-12-231-19/+31
| | | | Notes: svn path=/head/; revision=108218
* Solve another bug in the mapping code: correctly skip lock sectors.Poul-Henning Kamp2002-12-182-1/+7
| | | | | | | | | | | | Make sure sector zero is protected if it contains metadata. Lower WARNS for gbde to 3 on non-i386 archs. rijndael-fst is evil but appearntly does the right thing and passes the test-vectors. MFC Candidate. Notes: svn path=/head/; revision=108060
* Fix two blunders in the mapping functions which can lead to corrupt data,Poul-Henning Kamp2002-12-181-1/+21
| | | | | | | | | | | for request sizes larger than the sectorsize or for multi-key setups. See warning mailed to current@ for details of recovery. Found by: Marcus Reid <marcus@blazingdot.com> Notes: svn path=/head/; revision=108052
* Untwist a twisty bit of logic which gcc for some reason cannot seePoul-Henning Kamp2002-12-181-4/+4
| | | | | | | through on ia64. Notes: svn path=/head/; revision=108020
* Latest snapshot of devd. This one adds re-matching and stringWarner Losh2002-12-182-17/+89
| | | | | | | expansion. Notes: svn path=/head/; revision=108014
* Back out the previous commit, since there could be dire consequences ifBrian Feldman2002-12-171-4/+0
| | | | | | | /etc/rc were accidentally executed (as requested by other committeers). Notes: svn path=/head/; revision=108002
* /home/green/tmp/cvsSFosXgBrian Feldman2002-12-171-0/+4
| | | | Notes: svn path=/head/; revision=107994
* Straighten out a compound if() to improve readability marginally.Poul-Henning Kamp2002-12-171-1/+4
| | | | Notes: svn path=/head/; revision=107987
* A couple of stylistic improvements.Poul-Henning Kamp2002-12-172-5/+6
| | | | Notes: svn path=/head/; revision=107982
* Add PERIPH and XPT debug options to camcontrol. This makes all CAM debugNate Lawson2002-12-172-4/+22
| | | | | | | | | | options tunable from userland. Approved by: ken MFC after: 3 days Notes: svn path=/head/; revision=107966
* This is David Schultz's swapoff code which I am finally able to commit.Matthew Dillon2002-12-153-26/+56
| | | | | | | | | | This should be considered highly experimental for the moment. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 3 weeks Notes: svn path=/head/; revision=107913
* Add a list of currently supported modes && an EXAMPLES section.Tom Rhodes2002-12-141-0/+34
| | | | | | | | PR: 40465 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> Notes: svn path=/head/; revision=107873
* MFp4: Make ifs consistant with rest of file.Warner Losh2002-12-131-3/+3
| | | | Notes: svn path=/head/; revision=107829
* mdoc(7) police: sort xrefs in SEE ALSO.Ruslan Ermilov2002-12-131-1/+1
| | | | Notes: svn path=/head/; revision=107826
* Remove the incorrect information about dump(8) and snapshots. All theTom Rhodes2002-12-131-6/+0
| | | | | | | | | | | dump(8) issues are assumed to be fixed. PR: 46224 Submitted By: Chris Knight <chris@aims.com.au> Approved By: re (murray) Notes: svn path=/head/; revision=107825