diff options
author | 2010-04-23 15:25:20 +0000 | |
---|---|---|
committer | 2010-04-23 15:25:20 +0000 | |
commit | d8b1e0ec2dbc403b285d5ef241509edd31fbdde8 (patch) | |
tree | 04bb028f5c45627307a0309e695988420803b660 /sys/dev/raidframe/rf_openbsdkintf.c | |
parent | When converting A-Z into a control character, want to subtract 64 not (diff) | |
download | wireguard-openbsd-d8b1e0ec2dbc403b285d5ef241509edd31fbdde8.tar.xz wireguard-openbsd-d8b1e0ec2dbc403b285d5ef241509edd31fbdde8.zip |
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/dev/raidframe/rf_openbsdkintf.c')
-rw-r--r-- | sys/dev/raidframe/rf_openbsdkintf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_openbsdkintf.c b/sys/dev/raidframe/rf_openbsdkintf.c index a6d785600a5..971a07a9a53 100644 --- a/sys/dev/raidframe/rf_openbsdkintf.c +++ b/sys/dev/raidframe/rf_openbsdkintf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rf_openbsdkintf.c,v 1.53 2009/10/13 19:33:17 pirofti Exp $ */ +/* $OpenBSD: rf_openbsdkintf.c,v 1.54 2010/04/23 15:25:21 jsing Exp $ */ /* $NetBSD: rf_netbsdkintf.c,v 1.109 2001/07/27 03:30:07 oster Exp $ */ /*- @@ -2082,9 +2082,7 @@ raidgetdefaultlabel(RF_Raid_t *raidPtr, struct raid_softc *rs, strncpy(lp->d_typename, "raid", sizeof(lp->d_typename)); lp->d_type = DTYPE_RAID; strncpy(lp->d_packname, "fictitious", sizeof(lp->d_packname)); - lp->d_rpm = 3600; lp->d_flags = 0; - lp->d_interleave = 1; lp->d_version = 1; DL_SETPOFFSET(&lp->d_partitions[RAW_PART], 0); |