diff options
author | phk <phk@FreeBSD.org> | 1995-05-03 06:30:59 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-05-03 06:30:59 +0000 |
commit | af83fa703c134aa38db0de2662d3a56819a501f9 (patch) | |
tree | 85625b62bb713949dc08bb262bb93941e5c861bb /lib/libdisk/libdisk.h | |
parent | 8f856ffcfd3b5de2138f01c117f1b30a60e0cf7d (diff) | |
download | FreeBSD-src-af83fa703c134aa38db0de2662d3a56819a501f9.zip FreeBSD-src-af83fa703c134aa38db0de2662d3a56819a501f9.tar.gz |
Make the target for tst01 more sensible.
Remove bogus targets.
Allocate partition letters as follows:
lowest offset "flags & CHUNK_IS_ROOT" gets 'a',
lowest offset "subtype==FS_SWAP" gets 'b'
the rest is allocated in offset order from this sequence "defghab".
This will generally make sense.
Added rules to complain if more than one CHUNK_IS_ROOT or more than one
FS_SWAP per FreeBSD chunk.
Set CHUNK_IS_ROOT on the 'a' partition in Open_Disk.
Run Fixup_Names in Open_Disk.
Diffstat (limited to 'lib/libdisk/libdisk.h')
-rw-r--r-- | lib/libdisk/libdisk.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h index 9995696..8758178 100644 --- a/lib/libdisk/libdisk.h +++ b/lib/libdisk/libdisk.h @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: libdisk.h,v 1.7 1995/04/30 11:04:14 phk Exp $ + * $Id: libdisk.h,v 1.8 1995/05/01 21:30:24 jkh Exp $ * */ @@ -53,6 +53,8 @@ struct chunk { # define CHUNK_BAD144 4 /* this chunk has bad144 mapping */ # define CHUNK_ALIGN 8 +# define CHUNK_IS_ROOT 16 + /* This 'part' is a rootfs, allocate 'a' */ }; struct disk * |