Commit 9fce1f4b authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add Mike change to build "vn" devices early.

parent 74ed5e40
......@@ -128,6 +128,16 @@ if (!REMOTE()) {
system("mkextrafs.pl $vndir");
}
#
# Make sure enough vn devices exist
#
for (my $i = 0; $i < scalar(@vnodes); $i++) {
my $dev = "vn${i}";
if (! -e "/dev/${dev}c") {
system("(cd /dev; ./MAKEDEV $dev)");
}
}
foreach my $vnode (keys(%curvnodelist)) {
my $jailflag = "";
if ($curvnodelist{$vnode}) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment