summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* More axe-work:phk2003-05-032-683/+192
| | | | | | | | | Hide all the historical fields of the label, unless people ask for them with -A, set them to intelligently chosen defaults otherwise. Distill the manual page to remove inaccuracies, misundertandings and obsolete information. It can probably still be done better but now at least it is not misinforming people.
* Some minor remodelling with a large axe.phk2003-05-031-279/+171
|
* Use new geom.ctl based OAM instead of ioctls.phk2003-05-032-95/+100
| | | | Various cleanup.
* bsd_disklabel_le_dec() takes an extra argument now.phk2003-05-021-1/+2
|
* Vastly simplify architecture handling: Use properties of label asphk2003-05-021-124/+19
| | | | | | | | recorded in global variables, rather than checks on the architecture. Drop horribly code to handle MBR/PC98's embedded in the BSD label area. If you need to have an MBR or PC98 on your disk, you should not overlap it with a BSDLABEL, if you don't need it, this code is nothing but trouble.
* Default the location to the compiled for architecture if no -m arg specified.phk2003-05-021-3/+9
|
* Add three global variables which contain the location, size and a flagphk2003-05-021-37/+20
| | | | | | | | | | | | for the alpha checksum, and set them depending on the specified architecture Don't look for disklabels every 16 bytes, look the only place they should be for the current architecture. Always read the label from the raw disk and decode it into struct disklabel rather than trust a cast from random addresses. When writing to the raw disk, encode the label properly.
* Pull in geom_bsd_enc.c from sys/geom to encode and decode our labels.phk2003-05-021-1/+3
|
* Remove the well-intentioned, but ill thought out check which prevents usphk2003-05-021-7/+0
| | | | | from dd(1)'ing the boot code off one drive and have bsdlabel write it on another.
* Update the test-script based on the sunlabel version, but put a for-loopphk2003-05-021-91/+151
| | | | in there to run over the various architectures.
* sysctlbyname takes a size_t as its 5th argument, not a pointer.imp2003-05-021-1/+1
| | | | | | | However, since NULL was used, and this is C++, this error went undetected until g++ 3.3 somehow managed to whine about it. Reported by: obrien
* Add "addspare" functionality.sos2003-05-022-3/+20
|
* bufpos is used in size_t contexts, so make it one.obrien2003-05-021-6/+5
|
* Set WARNS=1. RESOLUTION_MAX macro has major signed/unsigned issues.obrien2003-05-021-0/+1
|
* Use __FBSDID.obrien2003-05-023-10/+7
|
* Use size_t type vars in sizeof contexts.obrien2003-05-021-3/+3
|
* Removed all vestiges of KerberosIV.ru2003-05-016-21/+15
|
* Style.ru2003-05-011-2/+3
|
* Fixed the MLINKS assignment style.ru2003-05-011-1/+1
|
* De-Kerberise (KerberosIV). KerberosIV is no longer present, andmarkm2003-05-017-77/+4
| | | | | remote backups can still be done with Kerberos authentication using SSH and Kerberos 5.
* Oops, DIOCGPC98 should be DIOCSPC98.nyan2003-05-011-1/+1
|
* Merged from src/sbin/fdisk/Makefile revision 1.10.nyan2003-05-011-1/+4
|
* Merged from src/sbin/fdisk/fdisk.c revision 1.69.nyan2003-05-011-1/+6
|
* Remove VINUMDEBUG. vinum(8) always compiles with VINUMDEBUG to be ablegrog2003-05-011-1/+1
| | | | to cope with kernel modules with VINUMDEBUG.
* Add the #includes previously in individual .c files.grog2003-05-011-4/+27
| | | | Change name of history file to History to avoid name conflicts.
* Move most #includes to vext.h.grog2003-05-011-57/+38
| | | | | | | | | | | | | | | | Change name of history file to History to avoid name conflicts. Don't try to make devices unless devfs has been removed. Don't accept resetconfig command from a file. Abused by: Jens Schweikhardt <schweikh@schweikhardt.net> Remove dead code (#if 0) vinum_mirror: Don't try to create mirrors with 0 drives. Found by: mismatch between enum kw in two different files.
* Move most #includes to vext.h.grog2003-05-011-50/+33
| | | | | | | | | | | | Change name of history file to History to avoid name conflicts. Rewrite minor number decoding. Now we have only three types of object: subdisks, plexes and volumes. The encoding for plexes and subdisks no longer reflects the object to which they belong. The super devices are high-order volume numbers. This gives vastly more potential volumes (4 million instead of 256). Don't try to chown directories if they haven't been created.
* Move most #includes to vext.h.grog2003-05-011-153/+206
| | | | | | | vinum_info: Use increasing verbosity to show time spent in disk driver. Correct a comment.
* Add media types and options for ATM. While on most ATM cards media cannotharti2003-04-291-0/+34
| | | | | | | | be changed, it is very convenient to be able to toggle SDH/Sonet, idle/unassigned cells and scrambled mode and to see the carrier state. Reviewed by: -arch (if_media.h definitions)
* document mode directivesam2003-04-281-2/+14
|
* add a "mode" directive to specify the operating mode for multi-mode devices;sam2003-04-283-3/+120
| | | | | this is mostly intended for use with multi-mode 802.11 devices that support some combination of 11a, 11b, and 11g
* This file does not seem to serve any purpose. It has never been hooked uptjr2003-04-281-240/+0
| | | | | to the build, and performs a subset of the functionality that the getconf(1) utility performs.
* Fix for dynamic linking.jake2003-04-271-1/+1
| | | | Submitted by: Alex Deiter <tiamat@komi.mts.ru>
* Add .Xr's to mdmfs(8).dougb2003-04-271-0/+1
| | | | Submitted by: Scot W. Hetzel <hetzels@westbend.net>
OpenPOWER on IntegriCloud