diff options
author | peter <peter@FreeBSD.org> | 2000-02-06 02:40:22 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-02-06 02:40:22 +0000 |
commit | e5f21c38e30491045aeeda37623a6de3da4f7cbd (patch) | |
tree | 49aac38fbf952bad66eac2bb0dafb0e062c40065 /sbin/vinum | |
parent | b57f9be4b788fc9ec1fdcfb1979d076f6dfb6be6 (diff) | |
download | FreeBSD-src-e5f21c38e30491045aeeda37623a6de3da4f7cbd.zip FreeBSD-src-e5f21c38e30491045aeeda37623a6de3da4f7cbd.tar.gz |
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
Diffstat (limited to 'sbin/vinum')
-rw-r--r-- | sbin/vinum/commands.c | 2 | ||||
-rw-r--r-- | 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 494132d..f46b543 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 95e31fb..55c2747 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) { |