Commit f94a924d authored by Leigh Stoller's avatar Leigh Stoller

On linux, do not do the mkextrafs call; handled in the libvnode

library at the moment. Maybe that library should export a boottime
method?
parent 43cd3bda
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2008 University of Utah and the Flux Group.
# Copyright (c) 2000-2009 University of Utah and the Flux Group.
# All rights reserved.
#
use Getopt::Std;
......@@ -215,12 +215,20 @@ sub prebootvnodes($$)
{
my ($cvn, $nvn) = @_;
#
# XXX OS dependent stuff. Should move elsewhere.
#
if ($islinux) {
# This is handled in the libvnode libraries.
return;
}
#
# For local vnodes, create the extra FS for filesystems and other state.
# This will fail if it already exists, so just keep going.
#
if (!REMOTE()) {
my $mntdir = $islinux ? "/vservers" : $vndir;
my $mntdir = $vndir;
system("mkextrafs.pl $mntdir");
}
......@@ -231,13 +239,6 @@ sub prebootvnodes($$)
system("ln -s " . LOCALROOTFS() . " /local");
}
#
# XXX OS dependent stuff. Should move elsewhere
#
if ($islinux) {
return;
}
#
# Make sure enough vn devices exist
#
......
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