aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-05-21 19:50:04 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-05-21 19:50:04 +0000
commit3abe4a80a5b1c8af62c41d12ed09d34bd7b4018b (patch)
treebe13846f2b1a245bfdcf4c7bba0be562dae554da /sys
parentdb40007d42fa5f449ed312499635957a39a21d03 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/geom/geom_bsd.c2
-rw-r--r--sys/geom/geom_dev.c4
-rw-r--r--sys/geom/geom_disk.c2
-rw-r--r--sys/geom/geom_mbr.c4
-rw-r--r--sys/geom/geom_pc98.c2
-rw-r--r--sys/geom/geom_sunlabel.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/sys/geom/geom_bsd.c b/sys/geom/geom_bsd.c
index b42bd37438ba7..9b94e45425941 100644
--- a/sys/geom/geom_bsd.c
+++ b/sys/geom/geom_bsd.c
@@ -57,7 +57,7 @@
#include <geom/geom.h>
#include <geom/geom_slice.h>
-#define BSD_CLASS_NAME "BSD-class"
+#define BSD_CLASS_NAME "BSD"
struct g_bsd_softc {
off_t labeloffset;
diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c
index 0c34f7cd50a16..f3be90cd43235 100644
--- a/sys/geom/geom_dev.c
+++ b/sys/geom/geom_dev.c
@@ -79,7 +79,7 @@ static g_taste_t g_dev_taste;
static g_orphan_t g_dev_orphan;
static struct g_class g_dev_class = {
- "DEV-class",
+ "DEV",
g_dev_taste,
NULL,
G_CLASS_INITSTUFF
@@ -291,7 +291,7 @@ g_dev_ioctl(dev_t dev, u_long cmd, caddr_t data, int fflag, struct thread *td)
if (error != 0 && cmd == DIOCGDVIRGIN) {
g_topology_lock();
- gp = g_create_geomf("BSD-class", cp->provider, NULL);
+ gp = g_create_geomf("BSD", cp->provider, NULL);
g_topology_unlock();
}
PICKUP_GIANT();
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c
index 6abb492d2dd45..b8430231700c9 100644
--- a/sys/geom/geom_disk.c
+++ b/sys/geom/geom_disk.c
@@ -57,7 +57,7 @@
static g_access_t g_disk_access;
struct g_class g_disk_class = {
- "DISK-class",
+ "DISK",
NULL,
NULL,
G_CLASS_INITSTUFF
diff --git a/sys/geom/geom_mbr.c b/sys/geom/geom_mbr.c
index 0dc6c320a4d56..2143bf0404cab 100644
--- a/sys/geom/geom_mbr.c
+++ b/sys/geom/geom_mbr.c
@@ -58,8 +58,8 @@
#include <geom/geom.h>
#include <geom/geom_slice.h>
-#define MBR_CLASS_NAME "MBR-class"
-#define MBREXT_CLASS_NAME "MBREXT-class"
+#define MBR_CLASS_NAME "MBR"
+#define MBREXT_CLASS_NAME "MBREXT"
static void
g_dec_dos_partition(u_char *ptr, struct dos_partition *d)
diff --git a/sys/geom/geom_pc98.c b/sys/geom/geom_pc98.c
index a89bf36452a74..12837b7441f43 100644
--- a/sys/geom/geom_pc98.c
+++ b/sys/geom/geom_pc98.c
@@ -57,7 +57,7 @@
#include <geom/geom_slice.h>
#include <machine/endian.h>
-#define PC98_CLASS_NAME "PC98-class"
+#define PC98_CLASS_NAME "PC98"
struct g_pc98_softc {
int foo;
diff --git a/sys/geom/geom_sunlabel.c b/sys/geom/geom_sunlabel.c
index 3363f4e325c36..b966e5b6a3baf 100644
--- a/sys/geom/geom_sunlabel.c
+++ b/sys/geom/geom_sunlabel.c
@@ -57,7 +57,7 @@
#include <geom/geom_slice.h>
#include <machine/endian.h>
-#define SUNLABEL_CLASS_NAME "SUNLABEL-class"
+#define SUNLABEL_CLASS_NAME "SUN"
struct g_sunlabel_softc {
int foo;