summaryrefslogtreecommitdiff
path: root/sbin/fdisk/mbr.h
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2001-12-15 02:12:27 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2001-12-15 02:12:27 +0000
commite4f0047cdc4f46f95218278fb4b1f492cb7b8e08 (patch)
tree195a6008c843fa665af22c948567e6fd4aae3c3c /sbin/fdisk/mbr.h
parentbba0b15838c88578990cbd8b7cb7c4b1a2146c2a (diff)
Get this damn diff out of my tree. ok from weingart@, deraadt@ and others.
Add a -u flag to fdisk which updates MBR code, but leaves the partition table intact. There are still issues with 'update' having different behavior, but I'll resolve those shortly
Diffstat (limited to 'sbin/fdisk/mbr.h')
-rw-r--r--sbin/fdisk/mbr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/fdisk/mbr.h b/sbin/fdisk/mbr.h
index ce5229fe9a4..48e9d637de3 100644
--- a/sbin/fdisk/mbr.h
+++ b/sbin/fdisk/mbr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbr.h,v 1.6 2001/08/12 12:03:01 heko Exp $ */
+/* $OpenBSD: mbr.h,v 1.7 2001/12/15 02:12:26 kjell Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -63,6 +63,7 @@ void MBR_make __P((mbr_t *, char *));
void MBR_init __P((disk_t *, mbr_t *));
int MBR_read __P((int, off_t, char *));
int MBR_write __P((int, off_t, char *));
+void MBR_pcopy __P((disk_t *, mbr_t *));
/* Sanity check */
#include <machine/param.h>