From ea3ea274b1da60899c819be0d4754e391701d359 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 6 Feb 2000 02:40:22 +0000 Subject: [PATCH] Don't use /dev/vinum/rsd/XXX for init as it doesn't exist any more. Without this change, you cannot do the required init on a new raid5 volume. Reviewed by: grog Approved by: jkh --- sbin/vinum/commands.c | 2 +- sbin/vinum/v.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/vinum/commands.c b/sbin/vinum/commands.c index 494132d5bcf..f46b54377a7 100644 --- a/sbin/vinum/commands.c +++ b/sbin/vinum/commands.c @@ -447,7 +447,7 @@ initsd(int sdno, int dowait) openlog("vinum", LOG_CONS | LOG_PERROR | LOG_PID, LOG_KERN); get_sd_info(&sd, sdno); sdsize = sd.sectors * DEV_BSIZE; /* size of subdisk in bytes */ - sprintf(filename, VINUM_DIR "/rsd/%s", sd.name); + sprintf(filename, VINUM_DIR "/sd/%s", sd.name); setproctitle("initializing %s", filename); /* show what we're doing */ syslog(LOG_INFO | LOG_KERN, "initializing subdisk %s", filename); if ((sdfh = open(filename, O_RDWR, S_IRWXU)) < 0) { /* no go */ diff --git a/sbin/vinum/v.c b/sbin/vinum/v.c index 95e31fbe0ee..55c27475b58 100644 --- a/sbin/vinum/v.c +++ b/sbin/vinum/v.c @@ -607,7 +607,7 @@ make_plex_dev(int plexno, int recurse) } } -/* Create the contents of /dev/vinum/sd and /dev/vinum/rsd */ +/* Create the contents of /dev/vinum/sd */ void make_sd_dev(int sdno) {