diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2003-11-17 15:56:00 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2003-11-17 15:56:00 +0000 |
| commit | f315f7629f0a1d44e3bd4db5a1fe64aba1d55a00 (patch) | |
| tree | 1e8eeb4e75597848166b179364d5759ad9f3916b | |
| parent | 2e472f2df6a5495825277a90cd4df43e676286de (diff) | |
Notes
| -rw-r--r-- | sbin/vinum/commands.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sbin/vinum/commands.c b/sbin/vinum/commands.c index 1fd1743ef1b1..14b8f405e073 100644 --- a/sbin/vinum/commands.c +++ b/sbin/vinum/commands.c @@ -1509,7 +1509,8 @@ vinum_concat(int argc, char *argv[], char *argv0[]) if (error != 0) perror("Can't save Vinum config"); find_object(objectname, &type); /* find the index of the volume */ - make_vol_dev(vol.volno, 1); /* and create the devices */ + if (no_devfs) + make_vol_dev(vol.volno, 1); /* and create the devices */ if (vflag) { vflag--; /* XXX don't give too much detail */ find_object(objectname, &type); /* point to the volume */ @@ -1654,7 +1655,8 @@ vinum_stripe(int argc, char *argv[], char *argv0[]) if (error != 0) perror("Can't save Vinum config"); find_object(objectname, &type); /* find the index of the volume */ - make_vol_dev(vol.volno, 1); /* and create the devices */ + if (no_devfs) + make_vol_dev(vol.volno, 1); /* and create the devices */ if (vflag) { vflag--; /* XXX don't give too much detail */ find_object(objectname, &type); /* point to the volume */ @@ -1798,7 +1800,8 @@ vinum_raid4(int argc, char *argv[], char *argv0[]) if (error != 0) perror("Can't save Vinum config"); find_object(objectname, &type); /* find the index of the volume */ - make_vol_dev(vol.volno, 1); /* and create the devices */ + if (no_devfs) + make_vol_dev(vol.volno, 1); /* and create the devices */ if (vflag) { vflag--; /* XXX don't give too much detail */ find_object(objectname, &type); /* point to the volume */ @@ -1942,7 +1945,8 @@ vinum_raid5(int argc, char *argv[], char *argv0[]) if (error != 0) perror("Can't save Vinum config"); find_object(objectname, &type); /* find the index of the volume */ - make_vol_dev(vol.volno, 1); /* and create the devices */ + if (no_devfs) + make_vol_dev(vol.volno, 1); /* and create the devices */ if (vflag) { vflag--; /* XXX don't give too much detail */ find_object(objectname, &type); /* point to the volume */ @@ -2118,7 +2122,8 @@ vinum_mirror(int argc, char *argv[], char *argv0[]) if (error != 0) perror("Can't save Vinum config"); find_object(objectname, &type); /* find the index of the volume */ - make_vol_dev(vol.volno, 1); /* and create the devices */ + if (no_devfs) + make_vol_dev(vol.volno, 1); /* and create the devices */ if (vflag) { vflag--; /* XXX don't give too much detail */ sflag = 0; /* no stats, please */ |
