Commit f57cf733 authored by Mike Hibler's avatar Mike Hibler
Browse files

temp change for vnodes: make vn larger, put /opt on that.

All to try to avoid loopback lockups.
parent 78d64690
...@@ -91,7 +91,7 @@ my @ROOTMKDIRS = ("dev", "tmp", "var", "usr", "proc", "users", ...@@ -91,7 +91,7 @@ my @ROOTMKDIRS = ("dev", "tmp", "var", "usr", "proc", "users",
"bin", "sbin", "home", $LOCALMNTPNT); "bin", "sbin", "home", $LOCALMNTPNT);
my @ROOTMNTDIRS = ("bin", "sbin", "usr"); my @ROOTMNTDIRS = ("bin", "sbin", "usr");
my @EMUVARDIRS = ("logs", "db", "jails", "boot", "lock"); my @EMUVARDIRS = ("logs", "db", "jails", "boot", "lock");
my $VNFILESECT = 64 * ((1024 * 1024) / 512); # 64MB in 512b sectors. my $VNFILESECT = 512 * ((1024 * 1024) / 512); # 64MB in 512b sectors.
my $MAXVNDEVS = 100; my $MAXVNDEVS = 100;
my $IP; my $IP;
my $IPALIAS; my $IPALIAS;
...@@ -525,7 +525,8 @@ sub mkrootfs($) ...@@ -525,7 +525,8 @@ sub mkrootfs($)
} }
push(@mntpoints, "$path/root/$LOCALMNTPNT/$PID"); push(@mntpoints, "$path/root/$LOCALMNTPNT/$PID");
mysystem("ln -s $LOCALMNTPNT/$PID/$vnodeid $path/root/opt"); # mysystem("ln -s $LOCALMNTPNT/$PID/$vnodeid $path/root/opt");
mkdir("$path/root/opt", 0775);
} }
else { else {
mkdir("$path/root/opt", 0775); mkdir("$path/root/opt", 0775);
......
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