Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Turn dkcksum() into an __inline function. | phk | 2000-09-16 | 1 | -1/+0 |
| | | | | Change its type to u_int_16_t. | ||||
* | A local WIP snook in rev 1.31. | obrien | 2000-04-21 | 1 | -6/+2 |
| | | | | Noticed by: bde | ||||
* | Found more places where 'r' was being prepended to the device name. | obrien | 2000-04-20 | 1 | -4/+8 |
| | |||||
* | Add include of errno.h where needed, remove extern int errno where not. | imp | 2000-04-14 | 1 | -3/+1 |
| | | | | These commits were inspired by a similar commit to netbsd. | ||||
* | Don't prepend "r" for the raw device anymore. | obrien | 2000-04-10 | 1 | -1/+1 |
| | |||||
* | 10 X's for mkstemp(), and don't redefine _PATH_TMP | kris | 2000-01-10 | 1 | -1/+1 |
| | |||||
* | Remove duplicate declarations for two internal functions. | billf | 1999-09-25 | 1 | -2/+0 |
| | | | | Remove delcaration for getenv(), we already get it from stdlib.h | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 1 | -1/+1 |
| | |||||
* | Fix a gcc stupidity where it thought a variable was being used uninitialized | billf | 1999-07-21 | 1 | -2/+5 |
| | | | | | Add a case for UNSPEC which is in order by the enum definition, but out of order alphabetically. | ||||
* | Look for boot blocks in new default location. | jkh | 1998-12-17 | 1 | -17/+5 |
| | |||||
* | Oops, don't quite use RAW_PART instead of RAWPARTITION. Use 'a' + RAW_PART | bde | 1998-10-23 | 1 | -2/+2 |
| | | | | in both places. | ||||
* | Updated the error message for EXDEV to match recent kernel fixes. | bde | 1998-10-17 | 1 | -11/+5 |
| | | | | | | Fixed nearby indentation. Use RAW_PART instead of RAWPARTITION. | ||||
* | Attempt to fix my breakage of the alpha makebootarea() in rev.1.19. | bde | 1998-08-23 | 1 | -7/+7 |
| | | | | | The previous attempt just converted compile time breakage to runtime breakage. | ||||
* | Try to make this compile on both alpha and i386 | gpalmer | 1998-08-21 | 1 | -2/+2 |
| | |||||
* | Fixed style bugs in previous commit. | bde | 1998-08-17 | 1 | -37/+36 |
| | | | | Added some comments on #endifs. | ||||
* | Teach disklabel how to install a bootstrap on an alpha with SRM console. | dfr | 1998-08-17 | 1 | -2/+37 |
| | |||||
* | Fixed bugs in `disklabel -R...': | bde | 1998-07-25 | 1 | -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 by | bde | 1998-07-20 | 1 | -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. | bde | 1998-06-28 | 1 | -43/+47 |
| | |||||
* | Use warnx()+fprintf() to handle multi-line messages. Correct K&R support and | charnier | 1998-06-08 | 1 | -12/+10 |
| | | | | | KNF continuation indent rule. Requested by: Bruce. | ||||
* | Add section number to .Xr. Use of .Nm. Typo. Add rcsid. Remove unused | charnier | 1998-06-04 | 1 | -56/+34 |
| | | | | #includes. Use err(3). | ||||
* | Add Id. Use err(3). Costmetic in usage string. | charnier | 1997-06-10 | 1 | -56/+53 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -1/+1 |
| | | | | posix standard on the topic. | ||||
* | Use mkstemp rather than mktemp to prevent a small race. | imp | 1997-03-24 | 1 | -11/+11 |
| | | | | Obtained from: OpenBSD | ||||
* | Moved initialization of defaults for the label for the whole disk from | bde | 1996-06-17 | 1 | -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. | ||||
* | Try to preserve the fdisk table in the primary bootstrap, should it | joerg | 1996-02-03 | 1 | -0/+27 |
| | | | | | | | 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 the | joerg | 1996-01-22 | 1 | -1/+47 |
| | | | | | | | | | | | 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. | joerg | 1996-01-21 | 1 | -33/+75 |
| | |||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 1 | -2/+2 |
| | |||||
* | Don't clobber d_secperunit in `disklabel -e'. `disklabel -e' replaces all | bde | 1995-02-22 | 1 | -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) | gibbs | 1995-01-04 | 1 | -1/+16 |
| | | | | for LFS filesystems. | ||||
* | disklabel will dump core if you give it too few numbers to process | pst | 1994-09-26 | 1 | -4/+10 |
| | | | | Obtained from: NetBSD misc/490 - John Kohl | ||||
* | BSD 4.4 Lite sbin Sources | rgrimes | 1994-05-26 | 1 | -0/+1314 |
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin. |