Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.24 |
|
30-Sep-2015 |
krw |
Use consistant whitespace/comments for #define'ing LABELSECTOR, LABELOFFSET and MAXPARTITIONS. Easier on the eye when scanning through all these files. No functional change.
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.23 |
|
20-Jun-2007 |
deraadt |
b_cylinder does not need to be set on the callpath down into drivers. cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
|
#
1.22 |
|
17-Jun-2007 |
krw |
Eliminate a few straggling 'labelsector' field declarations from cpu_disklabel's. 'labelsector' is not used anywhere according to grep.
'go for it' deraadt@
|
#
1.21 |
|
17-Jun-2007 |
deraadt |
significantly simplified disklabel infrastructure. MBR handling becomes MI to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
|
#
1.20 |
|
10-Jun-2007 |
krw |
No need for two *LABELSECTOR and *LABELOFFSET defines that mean the same thing. Keep LABELSECTOR and LABELOFFSET and nuke ALPHA_LABELSECTOR and ALPHA_LABELOFFSET.
Kernel still compiles and boots.
Superfluidity pointed out by deraadt@.
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.19 |
|
20-Oct-2006 |
krw |
Try again with local variable to avoid alignment issues.
"The dosparts member of cpu_disklabel was not used for any persistant data. Eliminate it, and just use the data being read in while processing MBR and EBR records.
Should be no functional change.
ok weingart@ deraadt@"
|
#
1.18 |
|
18-Oct-2006 |
deraadt |
back out disksubr changes ... since they violate strict alignment on some architectures (kaboom); that will be fixed in the next iteration hopefully!
|
#
1.17 |
|
17-Oct-2006 |
krw |
The dosparts member of cpu_disklabel was not used for any persistant data. Eliminate it, and just use the data being read in while processing MBR and EBR records.
Should be no functional change.
ok weingart@ deraadt@
|
#
1.16 |
|
04-Oct-2006 |
krw |
Zap bad144 bad sector info in disklabels. Sparsely used if at all for a few obsolete and easily replaced disk models. And didn't work anyway according to Bob, who has tried.
ok beck@
|
Revision tags: OPENBSD_4_0_BASE
|
#
1.15 |
|
09-Jul-2006 |
krw |
Remove DLT_* logic from Alpha as well, being careful to keep the checksumming of the native disklabel.
No functional change.
|
#
1.14 |
|
19-Jun-2006 |
krw |
Zap Amiga bits of disklabel.h now that Amiga bits of readdisklabel() are gone.
'go ahead' deraadt@
|
#
1.13 |
|
11-Jun-2006 |
krw |
Amiga is no longer amoung us. Some architectures were too sentimental to cut all ties when it left for the attic. Eliminate (theoretical) ability to read Amiga disklabels on those architectures.
mips64 compile tested by miod@
"whack away" deraadt@ "my amiga runs 3.2" niklas@
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE SMP_BASE SMP_SYNC_A SMP_SYNC_B UBC_BASE UBC_SYNC_A UBC_SYNC_B kame_19991208
|
#
1.12 |
|
04-Dec-1999 |
deraadt |
DOSPTYP_EXTENDL; sigh@kuzirabekon.econ.nagasaki-u.ac.jp
|
Revision tags: OPENBSD_2_5_BASE OPENBSD_2_6_BASE
|
#
1.11 |
|
23-Mar-1999 |
millert |
Add DOSMBR_SIGNATURE_OFF define, needed for last disklabel change
|
Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE
|
#
1.10 |
|
24-Feb-1998 |
deraadt |
rename some DOS MBR partition types
|
#
1.9 |
|
19-Feb-1998 |
deraadt |
add netbsd partition, rename 386BSD one to FreeBSD..
|
#
1.8 |
|
11-Jan-1998 |
provos |
disklabel spoofing for FAT32.
|
Revision tags: OPENBSD_2_2_BASE
|
#
1.7 |
|
29-Sep-1997 |
deraadt |
DOSMBR_SIGNATURE, DOSACTIVE; weingart
|
#
1.6 |
|
08-Aug-1997 |
niklas |
Use the new bounds_check_with_label API. Add generic support for reading both little and big endian BSD disklabels. Add a specific hook to read such a big-endian disklabel as it is found on amiga (normally, however, amiga uses the native RDB format, which still is not supported).
|
#
1.5 |
|
30-Jun-1997 |
niklas |
Add MBR & i386/disklabel probing in a generic fashion usable for more disklabel types, and for other architectures if they chose. Both read/write supported for both alpha and i386/arc disklabels. ISO9660 spoofing kept and tested. Add "option DISKLABEL_ALL" to your config to use.
|
Revision tags: OPENBSD_2_1_BASE
|
#
1.4 |
|
07-Apr-1997 |
millert |
16 partitions
|
#
1.3 |
|
30-Oct-1996 |
niklas |
Merge to NetBSD 961020. Retained our kernel APIs where NetBSD has changed. -Wall -Wstrict-prototypes -Wmissing-prototypes too.
|
Revision tags: OPENBSD_2_0_BASE
|
#
1.2 |
|
29-Jul-1996 |
niklas |
Add OpenBSD tags. Adapt to OpenBSD *_intr_establish calling convention
|
#
1.1 |
|
18-Oct-1995 |
deraadt |
branches: 1.1.1; Initial revision
|