summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorhaad <haad@NetBSD.org>2009-03-01 23:16:51 +0000
committerhaad <haad@NetBSD.org>2009-03-01 23:16:51 +0000
commitf8faf523ece958ad5884aa6c896cea6724732f64 (patch)
tree2e03ca76c78737e8b69afe935a864ae97038c136 /sys/dev
parentf048f56f717ac5fb15a6f3605880128632babe7d (diff)
Change comment and add description of line used to configure mirror device.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/dm/dm_target_mirror.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/dm/dm_target_mirror.c b/sys/dev/dm/dm_target_mirror.c
index 3e2ae1b846e..9ef02df0681 100644
--- a/sys/dev/dm/dm_target_mirror.c
+++ b/sys/dev/dm/dm_target_mirror.c
@@ -1,4 +1,4 @@
-/*$NetBSD: dm_target_mirror.c,v 1.4 2009/02/19 23:07:33 haad Exp $*/
+/*$NetBSD: dm_target_mirror.c,v 1.5 2009/03/01 23:16:51 haad Exp $*/
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -98,7 +98,11 @@ dm_target_mirror_modcmd(modcmd_t cmd, void *arg)
#endif
-/* Init function called from dm_table_load_ioctl. */
+/*
+ * Init function called from dm_table_load_ioctl.
+ * start length mirror log_type #logargs logarg1 ... logargN #devs device1 offset1 ... deviceN offsetN
+ * 0 52428800 mirror clustered_disk 4 253:2 1024 UUID block_on_error 3 253:3 0 253:4 0 253:5 0
+ */
int
dm_target_mirror_init(dm_dev_t *dmv, void **target_config, char *argv)
{