From ae17da70d201e05e4725e35d1de27a2d1ff7ea1c Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Tue, 20 Sep 2011 12:20:45 +0000 Subject: Mark softraid crypto volumes as being capable of auto assembly, since they are if used with a key disk. --- sys/dev/softraid_crypto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/softraid_crypto.c b/sys/dev/softraid_crypto.c index 409dfc0f004..270b6ba855a 100644 --- a/sys/dev/softraid_crypto.c +++ b/sys/dev/softraid_crypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_crypto.c,v 1.74 2011/09/20 12:19:22 jsing Exp $ */ +/* $OpenBSD: softraid_crypto.c,v 1.75 2011/09/20 12:20:44 jsing Exp $ */ /* * Copyright (c) 2007 Marco Peereboom * Copyright (c) 2008 Hans-Joerg Hoexer @@ -114,7 +114,7 @@ sr_crypto_discipline_init(struct sr_discipline *sd) /* Fill out discipline members. */ sd->sd_type = SR_MD_CRYPTO; - sd->sd_capabilities = SR_CAP_SYSTEM_DISK; + sd->sd_capabilities = SR_CAP_SYSTEM_DISK | SR_CAP_AUTO_ASSEMBLE; sd->sd_max_wu = SR_CRYPTO_NOWU; for (i = 0; i < SR_CRYPTO_MAXKEYS; i++) -- cgit v1.2.3