From afdc2f678601db0de21c1f0e347fe0273eaee9c9 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 26 Jan 2003 21:49:44 +0000 Subject: [PATCH] Add ioctl which overwrites the first BBSIZE bytes of a BSD labeled disk. --- sys/sys/disklabel.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index c59f117041a..b0c15e138ac 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -302,6 +302,7 @@ static const char *fstypenames[] = { #define DIOCWLABEL _IOW('d', 109, int) /* write en/disable label */ #endif +#define DIOCBSDBB _IOW('d', 110, void *) /* write bootblocks */ #ifdef _KERNEL