diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2010-04-23 15:25:22 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2010-04-23 15:25:22 +0000 |
commit | 38fc778c9782dbaa70fa6da92cfd8daaaa43d6fe (patch) | |
tree | ae3cdf39a2c58715ddd572c6ba0e0e6d72ea4ce2 /sys/arch/vax/vsa | |
parent | ed069888a3c009f9af5ecffb1dd73b037a5b95c2 (diff) |
Recycle unused disklabel fields in order to create a disklabel unique
identifier, allowing the disk to be identified without relying on the
device name.
ok deraadt@ krw@ beck@ marco@ todd@
Diffstat (limited to 'sys/arch/vax/vsa')
-rw-r--r-- | sys/arch/vax/vsa/hdc9224.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/vax/vsa/hdc9224.c b/sys/arch/vax/vsa/hdc9224.c index be06500f518..891123ab065 100644 --- a/sys/arch/vax/vsa/hdc9224.c +++ b/sys/arch/vax/vsa/hdc9224.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hdc9224.c,v 1.26 2009/09/05 15:37:04 deraadt Exp $ */ +/* $OpenBSD: hdc9224.c,v 1.27 2010/04/23 15:25:21 jsing Exp $ */ /* $NetBSD: hdc9224.c,v 1.16 2001/07/26 15:05:09 wiz Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -852,7 +852,6 @@ hdmakelabel(struct disklabel *dl, struct hdgeom *g) dl->d_typename[p++] = n + '0'; dl->d_typename[p] = 0; dl->d_type = DTYPE_MSCP; /* XXX - what to use here??? */ - dl->d_rpm = 3600; dl->d_secsize = DEV_BSIZE; DL_SETDSIZE(dl, g->lbn_count); @@ -867,7 +866,6 @@ hdmakelabel(struct disklabel *dl, struct hdgeom *g) DL_SETPOFFSET(&dl->d_partitions[0], 0); DL_SETPOFFSET(&dl->d_partitions[2], 0); - dl->d_interleave = 1; dl->d_version = 1; dl->d_magic = dl->d_magic2 = DISKMAGIC; dl->d_checksum = dkcksum(dl); |