diff options
author | phk <phk@FreeBSD.org> | 1995-04-29 04:00:57 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-04-29 04:00:57 +0000 |
commit | 093fd20263c83b8fbfb88a7cdb49236a80c9448a (patch) | |
tree | 11c2e7145c25cef4f5bba439fe31fdbe93c53551 /lib/libdisk/libdisk.h | |
parent | f7bf327ed4f468193062d32f7b6bb2cc4b521e9b (diff) | |
download | FreeBSD-src-093fd20263c83b8fbfb88a7cdb49236a80c9448a.zip FreeBSD-src-093fd20263c83b8fbfb88a7cdb49236a80c9448a.tar.gz |
Next Iteration, getting better.
Made an All_FreeBSD() function.
Added a cmd-line interface (lowest rank) to the tst01 program.
The tst01 program is harmless (worst it can do is coredump), but it
is instructive to run, you can see what the slice-code things of your
disk...
Diffstat (limited to 'lib/libdisk/libdisk.h')
-rw-r--r-- | lib/libdisk/libdisk.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h index 2946f90..e4412cf 100644 --- a/lib/libdisk/libdisk.h +++ b/lib/libdisk/libdisk.h @@ -6,14 +6,14 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id$ + * $Id: libdisk.h,v 1.2 1995/04/29 01:55:23 phk Exp $ * */ typedef enum {whole, foo, fat, freebsd, extended, part, unused, reserved} chunk_e; #define CHAR_N static char *chunk_n[] = { \ - "whole","foo","fat","freebsd","extended","part","unused","reserved"}; + "whole","foo","fat","freebsd","extended","part","unused","reserved",0}; struct disk { char *name; @@ -103,6 +103,11 @@ Create_Chunk(struct disk *disk, u_long offset, u_long size, chunk_e type, int su /* Create a chunk with the specified paramters */ +void +All_FreeBSD(struct disk *d); + /* Make one FreeBSD chunk covering the entire disk + */ + char * CheckRules(struct disk *); /* Return char* to warnings about broken design rules in this disklayout |