From ffdec08c2c26f9d96e5887f5db3e643fd2b77817 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 3 Apr 2003 19:37:40 +0000 Subject: Retire the DIOCGMBR ioctl before anybody starts to use it. --- sys/geom/geom_mbr.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/geom') diff --git a/sys/geom/geom_mbr.c b/sys/geom/geom_mbr.c index 68b9fba..a044ce5 100644 --- a/sys/geom/geom_mbr.c +++ b/sys/geom/geom_mbr.c @@ -242,11 +242,6 @@ g_mbr_start(struct bio *bp) gio = (struct g_ioctl *)bp->bio_data; switch (gio->cmd) { - case DIOCGMBR: - /* Return a copy of the disklabel to userland. */ - bcopy(mp->sec0, gio->data, 512); - g_io_deliver(bp, 0); - return (1); case DIOCSMBR: /* * These we cannot do without the topology lock and some -- cgit v1.1