summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/disk.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-03 17:38:00 +0000
committerjkh <jkh@FreeBSD.org>1995-05-03 17:38:00 +0000
commit3864ecd3821e90681b8f8f986a168b06f9538a6a (patch)
tree42aeca4f576eedcc94f4679038feaacca3acec46 /lib/libdisk/disk.c
parent687339a1f2d61a6d320ab967f1ec2109472db608 (diff)
downloadFreeBSD-src-3864ecd3821e90681b8f8f986a168b06f9538a6a.zip
FreeBSD-src-3864ecd3821e90681b8f8f986a168b06f9538a6a.tar.gz
Export the chunk names properly.
Diffstat (limited to 'lib/libdisk/disk.c')
-rw-r--r--lib/libdisk/disk.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 03c30c5..884a3ae 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: disk.c,v 1.12 1995/05/02 20:16:16 jkh Exp $
+ * $Id: disk.c,v 1.13 1995/05/03 06:30:55 phk Exp $
*
*/
@@ -26,6 +26,18 @@
#define DOSPTYP_EXTENDED 5
#define DOSPTYP_ONTRACK 84
+char *chunk_n[] = {
+ "whole",
+ "unknown",
+ "fat",
+ "freebsd",
+ "extended",
+ "part",
+ "unused",
+ "reserved",
+ NULL
+};
+
struct disk *
Open_Disk(char *name)
{
OpenPOWER on IntegriCloud