summaryrefslogtreecommitdiffstats
path: root/sbin/bsdlabel
Commit message (Collapse)AuthorAgeFilesLines
* $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.
* Add Id. Use err(3). Costmetic in usage string.charnier1997-06-102-56/+55
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Use mkstemp rather than mktemp to prevent a small race.imp1997-03-241-11/+11
| | | | Obtained from: OpenBSD
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sort cross references.wosch1997-01-131-2/+3
|
* Moved initialization of defaults for the label for the whole disk frombde1996-06-171-10/+4
| | | | | | | disklabel(8) to the kernel (dsopen()). Drivers should initialize the hardware values (rpm, interleave, skews). Drivers currently don't do this, but it usually doesn't matter since rotational position stuff is normally disabled.
* Correct some man page cross references and file location references.mpp1996-04-071-3/+3
|
* Try to preserve the fdisk table in the primary bootstrap, should itjoerg1996-02-032-0/+47
| | | | | | | already exist. Mention the cases where this doesn't work in the BUGS section of the man page.
* Finally implement the "auto" disktype. It attempts to get all thejoerg1996-01-222-1/+68
| | | | | | | | | | | required information from the driver, and produce a virgin disklabel for it. The latter might be further edited with `disklabel -e' to satisfy the user's need. The magic sequence is: disklabel -r -w sdX auto disklabel -e sdX
* Declare functions, resolve printf-format warnings.joerg1996-01-211-33/+75
|
* recording cvs-1.6 file deathpeter1995-12-301-384/+0
|
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Don't clobber d_secperunit in `disklabel -e'. `disklabel -e' replaces allbde1995-02-221-0/+11
| | | | | | | | | the values that it doesn't print by defaults. This seems wrong. I want to be able to see the total number of sectors more than edit it. The default d_secperunit of (sectors/track * tracks/cylinder * cylinders) is bogus if sectors/track is only an approximation and more bogus if sectors/track and tracks/cylinder are dummy values such as 4096 and 1 to defeat ufs's pessimizations.
* Allow for the specification of bsize, fsize, and bps (blocks per segment)gibbs1995-01-041-1/+16
| | | | for LFS filesystems.
* disklabel will dump core if you give it too few numbers to processpst1994-09-261-4/+10
| | | | Obtained from: NetBSD misc/490 - John Kohl
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-052-1/+386
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* Remove stuff for building manual pages the old way.rgrimes1994-05-281-7/+0
|
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-266-0/+2148
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud