summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Simplify the GEOM OAM api: Drop the request type, and let everythingphk2003-06-013-12/+14
| | | | | | | | hinge on the "verb" parameter which the class gets to interpret as it sees fit. Move the entire request into the kernel and move changed parameters back when done.
* Add pc98 arch to test set.phk2003-06-011-2/+2
| | | | Remove ktrace which leaked out of test-setup.
* Protext copyright[].obrien2003-05-311-3/+2
|
* mdoc(7) fixes.ru2003-05-242-28/+31
| | | | Approved by: re (blanket)
* Add amd64 to the MACHINE_ARCH list of systems that link bsdlabel topeter2003-05-231-1/+2
| | | | | | | | disklabel. I just got burnt again by having an old disklabel binary kicking around. Discussed with: phk Approved by: re (safe amd64 stuff)
* When newfs'ing a partition with UFS2 that had previously been newfs'eddougb2003-05-221-0/+24
| | | | | | | | | | | | | | | | | with UFS1, the UFS1 superblocks were not deleted. This allowed any RELENG_4 (or other non-UFS2-aware) fsck to think it knew how to "fix" the file system, resulting in severe data scrambling. This patch is a more advanced version than the one originally submitted. Lukas improved it based on feedback from Kirk, and testing by me. It blanks all UFS1 superblocks (if any) during a UFS2 newfs, thereby causing fsck's that are not UFS2 aware to generate the "SEARCH FOR ALTERNATE SUPER-BLOCK FAILED" message, and exit without damaging the fs. PR: bin/51619 Submitted by: Lukas Ertl <l.ertl@univie.ac.at> Reviewed by: kirk Approved by: re (scottl)
* mdoc(7) fixes: Fixed the markup in the BUGS section, bumped document date.ru2003-05-191-4/+5
|
* mdoc(7) fixes: Fix the markup in the recently added ENVIRONMENT section.ru2003-05-191-6/+6
|
* mdoc(7) fixes: Mark "gated" with the .Nm macro.ru2003-05-191-6/+6
| | | | Approved by: re (blanket)
* Add a newline at end of file.ru2003-05-191-1/+1
| | | | Approved by: re (blanket)
* Fixed troff(1) and mdoc(7) warnings.ru2003-05-181-3/+1
| | | | Approved by: re (blanket)
* Clarify setting sysctl variables via loader(8) tunablesbrueffer2003-05-181-4/+8
| | | | | | | * s/can not/cannot/ Submitted by: ru (*) Approved by: re (rwatson)
* mdoc(7) markup overhaul.ru2003-05-171-43/+55
|
* Fixed the markup in the recently added ENVIRONMENT section.ru2003-05-171-6/+6
|
* mdoc(7) fix: Add the forgotten paragraph command.ru2003-05-171-0/+1
| | | | Approved by: re (blanket)
* mdoc(7) fixes: Expand contraction.ru2003-05-171-1/+1
|
* Add fdisk for $MACHINE_ARCH == amd64peter2003-05-171-0/+4
|
* Style fixes.ru2003-05-171-13/+8
| | | | | Reviewed by: phk Approved by: re (scottl)
* Moved libgeom.so dependencies to where they belong.ru2003-05-173-6/+6
| | | | | Reviewed by: phk Approved by: re (scottl)
* Add information about setting sysctl variables via loader(8) andbrueffer2003-05-171-1/+9
| | | | | | | | | loader.conf(5) PR: 38426 (slightly modified) Submitted by: Phil Pennock <pdp@nl.demon.net> Approved by: re (bmah) MFC after: 3 days
* Allow zero or more actions in an action list, rather than requiringimp2003-05-151-0/+3
| | | | | | | | | | | | | | | | | | | one or more actions in the list. This makes constructs like: attach 10 { // echo "Driver $device_name attached" }; to be accepted by the parser. It will be treated as if the user had entered: // attach 10 { // echo "Driver $device_name attached" // }; (eg totally ignored). Approved by: re@ (rwatson)
* mdoc(7) police: fix more breakages from rev. 1.69.ru2003-05-141-6/+6
|
* Add pc98 archtecture entry.phk2003-05-131-0/+4
| | | | Approved by: re/rwatson
* Fix broken comment line introduced in rev 1.69.sheldonh2003-05-131-1/+1
| | | | Found with: nroff -mandoc ifconfig.8 > /dev/null
* Remove -p from getopt args.trhodes2003-05-121-1/+1
| | | | | | | PR: 37221 Submitted by: Joshua Goodall <joshua@roughtrade.net> Reviewed by: rwatson Approved by: re (jhb)
* Understand GEOM. This makes growfs work again, but it really needs rewriting.grog2003-05-121-28/+57
| | | | | Submitted by: Lukas Ertl <l.ertl@univie.ac.at> Approved by: re (scottl)
* Remove remnants of the -p option. While I'm here, remove wording abouttrhodes2003-05-111-6/+0
| | | | | | | | -P which could be interpreted as 'this option must be specified'. PR: 37221 && 51886 Discussed with: bmah Approved by: re (blanket)
* Put back the error checking in wtfs() that was lost when newfs wasiedowse2003-05-101-1/+2
| | | | | | | | | | | | | | changed to use libufs in revision 1.71. Without this, any write failures in newfs were silently ignored. Note that this will display a meaningless errno string in the case of a short write as opposed to a write error, since bwrite()'s return value does not allow the caller to determine if errno is valid. Reported by: Lukas Ertl <l.ertl@univie.ac.at> Reviewed by: jmallett Approved by: re (bmah)
* Before reading an ascii label, initialize with defaults so thatphk2003-05-091-0/+1
| | | | | | getasciipartspec() has a sectorisize in case it needs one. Approved by: re/jhb
* Sigh, this shows just how much one can be conditioned my the environment:phk2003-05-091-9/+7
| | | | | | | | Just because we for the last ten years have fought for every byte in the boot code on i386, doesn't mean that other architectures could not actually have space to spare there. Remore debugging message.
* Describe the pattern filenames must be in before they are added to the hintstrhodes2003-05-081-0/+3
| | | | | | | file. PR: 46271 Approved by: re (blanket)
* vinum_read: Don't lock configuration from userland. If vinum(8)grog2003-05-081-7/+1
| | | | | | | | crashes, the config remains locked and causes all subsequent start or read attempts to fail. This is part of a fix for the recently reported hangs. Approved by: re (scottl)
* Bring the dumpon(8) man page closer to reality:hmp2003-05-071-11/+15
| | | | | | | | | | | | | | | | | | | - dumpon utility has not used kern.dumpdev sysctl since rev. 1.14 (sbin/dumpon/dumpon.c) when phk@ updated it to use the DIOCSKERNELDUMP ioctl [1] - remove obsolete reference to sysctl(3) While I am there, fix two style nits: - use .Nm instead of `dumpon' - change NOTES to IMPLEMENTATION NOTES, to bring it in line with recommended section headings in mdoc(7) Original patch by: Martin Faxer <gmh003532brfmasthugget.se> [1] PR: docs/39293 Approved and Reviewed by: des (mentor), re (scottl, bmah)
* Dump is hard-wired to believe that it can read disks onmckusick2003-05-072-4/+48
| | | | | | | | | | | | | | | | | | 1024-byte boundaries. For many years this was a reasonable assumption. However, in recent years we have begun seeing devices with 2048-byte sectors. These devices return errors when dump tries to read starting in the middle of a sector or when it tries to read only the first half of a sector. Rather than change the native block size used by dump (and thus create an incompatible dump format), this fix checks for transfer requests that start and/or end on a non-sector boundary. When such a read is detected, the new code reads the entire sector and copies out just the part that dump needs. Reviewed by: Poul-Henning Kamp <phk@critter.freebsd.dk> Approved by: re (John Baldwin <jhb@FreeBSD.org>) Sponsored by: DARPA & NAI Labs.
* Add an example of how to create an fstab entry.dougb2003-05-051-0/+4
|
* Centralize _PATH_* definitions.obrien2003-05-054-46/+4
| | | | Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me)
* Compile bsdlabel on all platforms.phk2003-05-052-6/+11
| | | | | | | Install a link to the disklabel(8) name on i386 and alpha platforms. Leave old disklabel(8) sources intact but disconnected from the build for now.
* Typo in last commit.phk2003-05-051-1/+1
| | | | Spotted by: mbr
* Add a BUGS section which explains that & why vinum volumes can not bephk2003-05-051-0/+6
| | | | encrypted with gbde(8).
* DOnt allow getting caps from other than master and slave device :)sos2003-05-051-0/+3
|
* vinum_start: Call vinum_read with correct number of parameters.grog2003-05-051-1/+1
|
* vinum_readpol: Get this right.grog2003-05-051-19/+20
| | | | | | Submitted by: Allan Saddi <allan@saddi.com> vinum_read: White space cleanup.
* Finally implement read policies. The previous "implementation" didn'tgrog2003-05-051-3/+7
| | | | | | | | | | | | | | | | | | | | | | work because it referred to plexes which were almost invariably when referred to. Instead, deprecate the "prefer" keyword for volumes (though it's still there for the moment) and add a keyword "preferred" to the plex definition. The relationship is like this: Old: vol foo ... prefer foo.p3 New: plex foo.p3 volume foo preferred printconfig: Print out the "preferred" keyword for plexes where appropriate. Still print out "prefer" for volumes. The kernel module continues to accept this version, but it's probably not going to live much longer.
* Add transparent handling of mbroffset for backwards compatibility.phk2003-05-041-1/+25
|
* Added more descriptive error outputs.sos2003-05-041-13/+39
| | | | PR: 46096
* On getting status print the stripesize on RAID0's.sos2003-05-041-2/+4
|
* Note that gated is a commercial routing product now, and removemurray2003-05-041-11/+12
| | | | | | | | | references to it's man page, which is almost never installed on a FreeBSD system. The information about using this command with gated has been retained. I have just made it clear that gated is not a part of FreeBSD. PR: docs/51407
* Rewrite of startup code:grog2003-05-041-56/+13
| | | | | | | | | | | vinum_read: Accept 0 parameters, hand an empty string to the kernel if so. Use new ioctl VINUM_READCONFIG, not VINUM_CREATE, to read config. vinum_start: When passed 0 parameters, drop the devstat kludge and call vinum_read instead. It's no longer necessary to distinguish between "start" and "read" if no parameters are passed, and probably one of them should go away.
* Fix the misspelling of DPADD, then fix "make checkdpadd".ru2003-05-031-1/+1
|
* Use __FBSDID() to quiet GCC 3.3 warnings.obrien2003-05-0342-160/+130
|
OpenPOWER on IntegriCloud