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/hp300 | |
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/hp300')
-rw-r--r-- | sys/arch/hp300/dev/hd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/hp300/dev/hd.c b/sys/arch/hp300/dev/hd.c index 5d43b09034e..7d383a501dd 100644 --- a/sys/arch/hp300/dev/hd.c +++ b/sys/arch/hp300/dev/hd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hd.c,v 1.59 2009/08/24 08:52:13 jasper Exp $ */ +/* $OpenBSD: hd.c,v 1.60 2010/04/23 15:25:20 jsing Exp $ */ /* $NetBSD: rd.c,v 1.33 1997/07/10 18:14:08 kleink Exp $ */ /* @@ -505,8 +505,6 @@ hdgetdisklabel(dev, rs, lp, spoofonly) strncpy(lp->d_packname, "fictitious", sizeof lp->d_packname); DL_SETDSIZE(lp, hdidentinfo[rs->sc_type].ri_nblocks); - lp->d_rpm = 3600; - lp->d_interleave = 1; lp->d_flags = 0; lp->d_version = 1; |