summaryrefslogtreecommitdiffstats
path: root/sbin/bsdlabel
Commit message (Collapse)AuthorAgeFilesLines
* - 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
* Turn dkcksum() into an __inline function.phk2000-09-163-59/+1
| | | | Change its type to u_int_16_t.
* Correct typo.grog2000-08-291-1/+1
|
* Add '-DPC98' to CFLAGS if MACHINE == pc98.nyan2000-05-091-0/+5
|
* /dev/r<FOO> => /dev/<FOO>obrien2000-04-261-8/+8
|
* A local WIP snook in rev 1.31.obrien2000-04-211-6/+2
| | | | Noticed by: bde
* Found more places where 'r' was being prepended to the device name.obrien2000-04-201-4/+8
|
* Add include of errno.h where needed, remove extern int errno where not.imp2000-04-141-3/+1
| | | | These commits were inspired by a similar commit to netbsd.
* Don't prepend "r" for the raw device anymore.obrien2000-04-101-1/+1
|
* Backed out removal of vendor id and gratuitous change of tmpfile prefixbde2000-01-111-1/+2
| | | | in previous commit.
* 10 X's for mkstemp(), and don't redefine _PATH_TMPkris2000-01-102-4/+3
|
* Refreshed the silly copy of <sys/disklabel.h>. The old copy wasbde2000-01-051-160/+319
| | | | | seriously out of date. It older than Lite1 (it has an undeprecated DISKTAB but not _PATH_DISKTAB).
* Remove duplicate declarations for two internal functions.billf1999-09-251-2/+0
| | | | Remove delcaration for getenv(), we already get it from stdlib.h
* $Id$ -> $FreeBSD$peter1999-08-284-4/+4
|
* Minor style fix.mpp1999-08-151-2/+2
|
* Various man page cleanup:mpp1999-08-151-2/+2
| | | | | | | | | | | - Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Properly xref RFCs. - Be consistent with section names as outlined in mdoc(7). - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net>
* Remove inappropriate references to the wrong name for the bootstrapgrog1999-08-011-8/+1
| | | | | | | manager, thus killing two birds with one stone. Objected-to-by: bde rnordier
* Make intelligible:grog1999-07-311-138/+343
| | | | | | | | | | Describe the command formats in English. Add references to other programs (boot0cfg, fdisk). Remove some old cruft, including FUD about single-level bootstraps. Add example of output format. Not-objected-to-by: msmith rnordier
* Fix a gcc stupidity where it thought a variable was being used uninitializedbillf1999-07-211-2/+5
| | | | | Add a case for UNSPEC which is in order by the enum definition, but out of order alphabetically.
* Update for boot block location change.jkh1999-01-021-2/+2
|
* Look for boot blocks in new default location.jkh1998-12-173-36/+18
|
* Refer to "da" rather than "sd" device.rnordier1998-11-281-23/+23
| | | | Suggested by: jdp
* Oops, don't quite use RAW_PART instead of RAWPARTITION. Use 'a' + RAW_PARTbde1998-10-231-2/+2
| | | | in both places.
* Updated the error message for EXDEV to match recent kernel fixes.bde1998-10-171-11/+5
| | | | | | Fixed nearby indentation. Use RAW_PART instead of RAWPARTITION.
* Attempt to fix my breakage of the alpha makebootarea() in rev.1.19.bde1998-08-231-7/+7
| | | | | The previous attempt just converted compile time breakage to runtime breakage.
* Try to make this compile on both alpha and i386gpalmer1998-08-211-2/+2
|
* Fixed style bugs in previous commit.bde1998-08-171-37/+36
| | | | Added some comments on #endifs.
* Teach disklabel how to install a bootstrap on an alpha with SRM console.dfr1998-08-171-2/+37
|
* Fixed bugs in `disklabel -R...':bde1998-07-251-8/+21
| | | | | | | | - nonstandard sector sizes didn't work because the sector size in the ASCII label was not read before a (default, wrong) sector size was used. - the exit status was 0 after exiting early due to an invalid ASCII label. Abort `disklabel -B...' if the secondary bootstrap doesn't fit.
* Clear d_boot0 and d_boot1 in the virgin label. These are overlaid bybde1998-07-201-7/+7
| | | | | | | | | d_packname in in-core labels, so they are garbage if d_packname is initialized in the dummy label for the whole disk. dsopen() will soon initialize d_packname to "fictitious" if it is not already initialized. Fixed nearby error handling. Rev.1.7 apparently confused Perror() with perror().
* Fixed printf format errors.bde1998-06-281-43/+47
|
* Use warnx()+fprintf() to handle multi-line messages. Correct K&R support andcharnier1998-06-081-12/+10
| | | | | KNF continuation indent rule. Requested by: Bruce.
* Add section number to .Xr. Use of .Nm. Typo. Add rcsid. Remove unusedcharnier1998-06-043-71/+50
| | | | #includes. Use err(3).
* Use the correct macro for file names. Remove empty `HISTORY' section.jkoshy1998-05-291-2/+1
| | | | | PR: 6780 Submitted by: Yoshishige Arai <ryo2@on.rim.or.jp>
* Fixed annoying warning for unused sccsid.bde1998-02-241-2/+4
|
* Die and stay dead. Ya got it?!jdp1997-07-041-388/+0
|
* Import Lite2's src/sbin, except for XNSrouted and routed. All relevantbde1997-07-021-0/+388
| | | | | files in src/sbin are off the vendor branch, so this doesn't change the active versions.
* Show the real revision date and not the date that thissteve1997-06-231-2/+2
| | | | manpage is being viewed.
OpenPOWER on IntegriCloud