summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Make tunefs use libufs, it seems to do well enough for printing / settingjmallett2003-01-202-108/+15
| | | | things.
* Kill initialisation and shadow warnings. Half-hearted cleanup (e.g. only thejmallett2003-01-191-20/+21
| | | | | | | more important ones) of format warnings. XXX Lots of this assumes int32 can be printed with %d. Yuck. Reviewed by: bde
* Add support to marshal a filesystem to a newfs(8) command that could be usedjmallett2003-01-192-18/+94
| | | | | | to create it. A small number of options are not marshalled as they are things it would be dumb to spit out, as they are used by internal computations, and newfs may change them, or they may not be directly apparent.
* Let libufs handle all the work with regard to going through a list of cgs, now.jmallett2003-01-191-8/+7
|
* Use libufs to read one cylinder group from the disk at a time.jmallett2003-01-191-7/+2
|
* Simplify the main function now that libufs will hunt for the disk for us.jmallett2003-01-191-13/+7
|
* Fix two errorchecks to check for negative error returns.phk2003-01-181-2/+2
|
* Consistentify output whitespace.jmallett2003-01-181-1/+1
|
* Simplify conditional.jmallett2003-01-181-6/+4
|
* Find places to store the previously implicityly passed unit number inphk2003-01-172-18/+21
| | | | | | | | | | | | | | | | | | | the three configuration ioctls which need a unit number. Add a "ccd.ctl" device for config operations. Implement ioctls on ccd.ctl which rely on the explicityly passed unit numbers. Update ccdconfig to use the new ccd.ctl interface. Add code to the kernel to detect old ccdconfig binaries, and whine about it. Add code to ccdconfig to detect old kernels, and whine about it. These two compatibility measures will be retained only for a limited period since they are in the way of GEOM'ification of ccd.
* Fix various details so we get to WARNS=3.phk2003-01-172-83/+33
| | | | Center operation on unit number rather than path name.
* While being here, remove a couple of unused "default:" labels in switchjoerg2003-01-161-4/+0
| | | | | | statements, now that gcc loudly complains about them. MFC after: 1 week
* Make vinum disk-related devices readable by group "operator" to matchjoerg2003-01-161-0/+15
| | | | | | | | | | the configuration of any other disk-like devices. This is the non-DEVFS part which is normally not used in 5.x, but due for MFC into 4.x. PR: bin/28294, bin/32588 MFC after: 1 week
* Clear part_set, part_size_type and part_offset_type before parsing thedes2003-01-162-0/+6
| | | | | | | | ascii label; otherwise checklabel() might report spurious errors because of leftovers from a previous pass. Reviewed by: bde MFC after: 1 week
* really, this time for sure. Fix formatting in usage().dillon2003-01-131-2/+2
|
* Grr. I keep forgetting things. Include -C in dump's usage() .dillon2003-01-131-1/+1
|
* Add support for obsolete option form for -Cdillon2003-01-131-0/+1
|
* Add a caching option to dump. Use -C. Note that NetBSD has a caching optiondillon2003-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
* Mention the oddities and requirements for mount operations executed byjoerg2003-01-131-0/+4
| | | | | | | | non-root users. PR: docs/42651 Submitted by: Thomas Seck <tmseck@netcologne.de> MFC after: 3 days
* Add the /boot prefix. I forgot this when updating the location.trhodes2003-01-131-2/+2
| | | | Neglected by: trhodes
* Update the kernel location in FILES.trhodes2003-01-131-2/+2
| | | | PR: 47015
* It turns out that we do not need to add a new ioctl to unbreak adillon2003-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
* Cleanup the formatting from the last commit, convert everything todillon2003-01-111-8/+21
| | | | a more human-readable 'kilobytes' instead of pages.
* Make 'sysctl vm.vmtotal' work properly using updated patch from Hiten.dillon2003-01-111-0/+26
| | | | | | | (the patch in the PR was stale). PR: kern/5689 Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* I don't know where we got this ccd creation example from... or if it wasobrien2003-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.
* Add TAPE to the ENVIRONMENT section and standardize the section, using asheldonh2003-01-101-3/+6
| | | | | | list instead of prose. MFC after: 1 month
* Add TAPE to the ENVIRONMENT section.sheldonh2003-01-101-0/+2
| | | | MFC after: 1 month
* Add an ENVIRONMENT section so that the reader knows that the TMPDIR envarsheldonh2003-01-101-0/+5
| | | | | | | is honoured. Reported by: des MFC after: 1 month
* These are OBE. devd.conf now lives in /etc.imp2003-01-092-126/+0
|
* Change this:peter2003-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.
* Terminate the usage message with \n.imp2003-01-061-1/+1
| | | | Submitted by: joe
* MFp4: make it workimp2003-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
* devd not devddimp2003-01-061-1/+1
| | | | submitted by: joe
* Fix a reference to the order of SYNOPSIS lines.keramida2003-01-051-1/+1
| | | | | | Submitted by: Olivier Cherrier <Olivier.Cherrier@cediti.be> on freebsd-net MFC after: 3 days
* Rename the dos_partition structure for pc98 to pc98_partition.nyan2003-01-043-14/+35
|
* Remove CCDF_SWAP and CCDF_PARITY. They have never been implemented.phk2003-01-032-4/+0
|
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-0110-15/+15
| | | | especially in troff files.
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-303-4/+4
| | | | Add FreeBSD Id tag where missing.
* Remove hack from rev 1.15; getbsize(3)'s original interface has beenmike2002-12-301-3/+1
| | | | restored.
* This really isn't WARNS clean.obrien2002-12-301-2/+1
|
* Make the first argument to getbsize(3) a `size_t *'. This is a hackmike2002-12-301-3/+4
| | | | since getbsize(3) should have `int *' as its first parameter.
* Make fdisk work on active GEOM devices.phk2002-12-291-8/+33
|
* Add 'swapctl' - as a hardlink to swapon/swapoff, and augment swapon withdillon2002-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>
* english(4) police.schweikh2002-12-2712-191/+191
|
* Spelling: s/then/than/ where appropriate.ru2002-12-241-1/+1
|
* mdoc(7) police: Deal with self-xrefs.ru2002-12-242-2/+2
|
* Make preprocessor support more generic by passing all command-line optionskbyanc2002-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
* Fixed the abuses of .Ql visible on stderr in troff mode.ru2002-12-234-7/+7
| | | | PR: docs/37176
* mdoc(7) police: fixed the misplaced .Bl call.ru2002-12-231-1/+1
|
* mdoc(7) police: markup nits.ru2002-12-231-19/+31
|
OpenPOWER on IntegriCloud