summaryrefslogtreecommitdiffstats
path: root/sbin/bsdlabel
Commit message (Collapse)AuthorAgeFilesLines
* The .Nm utilitycharnier2002-07-061-4/+14
|
* Apply __FBSDID(); fix local variable(names) that stomp on globalmarkm2002-07-031-23/+28
| | | | definitions; fix some const strings; fix some signedness issues.
* Oops, unbreak parsing of the `type' field in getasciilabel(). I hadiedowse2002-06-051-1/+3
| | | | | | | changed a `goto' to a `continue' in revision 1.52, but it continued the wrong loop. Noticed by: bde
* correct comment (replace i386 with __i386__)alfred2002-05-301-2/+2
|
* Fix some serious brain damage in the default block/frag/cpg parametersiedowse2002-05-301-9/+7
| | | | | | | | | | | | | that are used if none at all are specified for a partition. Don't keep replaying the last field if we run out of fields when processing a line. Use a 8:1 frag:block ratio for both defaults. More work here is required. I think disklabel should not attempt to choose default filesystem parameters, and instead let newfs pick any defaults if required. PR: i386/38703 Reported by: Martin Kraemer <Martin.Kraemer@Fujitsu-Siemens.com>
* Split out the code for parsing the partition specification linesiedowse2002-05-301-129/+134
| | | | into a separate function to avoid some over-long lines.
* Spread the word of PowerPC.benno2002-05-211-1/+1
|
* more file system > filesystemtrhodes2002-05-162-9/+9
|
* Retire the bogus uses of the disklabel field d_sbsize and begin tophk2002-05-121-7/+1
| | | | | | | initialize it to zero so we don't have to have everbody and their aunt including FFS specific header files. Sponsored by: DARPA & NAI Labs.
* disklabel(8) manual page:trhodes2002-04-151-27/+25
| | | | | | | | | | | | | --change "-s newboot" to "-s newboot2" in an example --Fixed spelling --Fixed some confusion between slice/parition/primary partition and other things. PR: 35947 and 35951 Noticed by: Gary W. Swearingen <swear@blarg.net> Reviewed by: keramida Thanks to: grog MFC after: 2 days
* Don't set WARNS to 2, we're default compatible now.phk2002-04-081-1/+0
| | | | Noticed by: bde
* Get us to WARNS=2 with a bit of constification and some printf fiddling.phk2002-04-072-26/+19
| | | | | | | Pick up the c-partitions magicness from sys/disklabel.h instead of defining our own magicness for it, remove trivial comment. Sponsored by: DARPA and NAI Labs.
* Nuke a totally pointless optional debug optionphk2002-04-071-15/+0
| | | | Sponsored by: DARPA and NAI Labs.
* Remove remaining traces of d_boot[01]phk2002-04-042-21/+1
|
* Kill only usage of the undocumnted and unuse d_boot[01] fields ofphk2002-04-031-28/+0
| | | | | | struct disklabel. Sponsored by: DARPA & NAI Labs.
* Remove stray registerimp2002-03-191-1/+1
|
* De-__P the man page, but I suspect that we need to freshly importimp2002-03-191-13/+13
| | | | sys/disklabel.h since the one in here looks a little crunchy.
* o remove __Pimp2002-03-181-72/+48
| | | | | | o Use ANSI function definitions o const poison o remove register
* Add complete Sparc64 support.obrien2002-03-111-17/+64
| | | | | | Submitted by: tmm Dike out vax support.
* * Support the Sparc64.obrien2002-03-111-7/+5
| | | | | * Do not default to any particular platform. Require that we explicitly support a particular platform.
* Remove inappropriate .Op calls in examples.dd2002-03-101-2/+2
| | | | | PR: 35689 Submitted by: Gary W. Swearingen <swear@blarg.net>
* A bit of premptive GEOM POLA magic: If we don't get a virgin disklabelphk2002-03-031-6/+16
| | | | from /dev/food0, then try from /dev/f00d0c, in strange cases this work.
* In the words of the submitter:dd2002-01-071-1/+1
| | | | | | | | | | | disklabel(8)'s "Reading the disk label" section starts out "To examine or save the label on a disk drive,...". This is confusing. The given command (disklabel [-r] disk) doesn't save anything (except to standard out, but that should go without saying). It reads as if the command might save something on the disk drive. PR: 32452 Submitted by: Gary W. Swearingen <swear@blarg.net>
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* -r is implied with -B.ru2001-10-101-2/+1
|
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-1/+1
|
* The defaults for bsize and fsize were interchanged.ru2001-09-051-4/+4
| | | | PR: docs/30330
* Silence non-constant format string warnings by marking functionskris2001-08-191-1/+1
| | | | | | | as __printflike()/__printf0like(), adding const, or adding missing "%s" format strings, as appropriate. MFC after: 2 weeks
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-1/+3
|
* Remove whitespace at EOL.dd2001-07-152-37/+37
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* Fix the type of the NULL arg to execl()brian2001-07-091-1/+1
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Nuke unused variables.dd2001-06-241-3/+0
|
* mdoc(7) police: fix markup in revision 1.27.ru2001-05-151-2/+5
|
* Clarify the currently used partition types.grog2001-05-141-5/+19
| | | | Add cross-references to ccd(4) and vinum(8).
* Say "add -r" rather than 'use -r' since the former is more correct.imp2001-04-241-2/+1
| | | | | The latter implies to many people that they use only -r, which is incorrect.
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-2/+1
| | | | - MAN[1-9] -> MAN.
* mdoc(7) police: misc formatting fixes.ru2001-03-051-28/+50
| | | | (This page still needs a lot of work.)
* First attempt to not overflow in disk space calculations. Use off_timp2001-03-051-5/+5
| | | | | for the size variable used to calculate the size of the partition. Also use ULL suffix for constants to ensure that we use 64 bit math.
* Fix style nit.obrien2001-03-041-1/+1
|
* Allow for easier configuration when using disklabel. A samplejwd2001-02-252-159/+558
| | | | | | | | | | | | | | | | | | | | | | | | | being: # size offset fstype [fsize bsize bps/cpg] a: 400M 0 4.2BSD 4096 16384 75 # (Cyl. 0 - 812*) b: 1G * swap c: * * unused e: 204800 * 4.2BSD f: 5g * 4.2BSD g: * * 4.2BSD These patches are the original work of Randell Jesup, and I believe Matt Dillon, with additional work by Warner Losh. Please let me know if I've left someone out. Incorporated into this is the fix for PR bin/22727. This patchset still has style issues and a possible problem on large disks. However, it was a agreed to get these committed before performing major surgery on them. PR: bin/22727 Submitted by: Randell Jesup <rjesup@wgate.com>
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-2/+2
|
* typo: modifes -> modifieshoek2000-12-281-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-181-3/+3
|
* Fix typos and layout problem.ben2000-11-281-5/+6
| | | | | PR: 23109 Submitted by: Jimmy Olgeni <olgeni@uli.it>
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-22/+22
|
* Use Fx macro wherever possible.ru2000-11-141-8/+26
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-36/+59
|
* Add support for virgin disklabelsjkh2000-10-312-34/+149
| | | | Submitted by: dillon
OpenPOWER on IntegriCloud