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

When looking for existing extrafs, match on xvd in addition to hd/sd.

parent f6de0f3a
#!/usr/bin/perl -wT
#
# Copyright (c) 2000-2014 University of Utah and the Flux Group.
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -2393,7 +2393,7 @@ sub os_mountextrafs($)
# XXX this is a most bogus hack right now, we look for partition 4
# in /etc/fstab.
#
my $fstabline = `grep -E '(hda|sda)4' /etc/fstab`;
my $fstabline = `grep -E '(hda|sda|xvda)4' /etc/fstab`;
if ($fstabline =~ /^\/dev\/\S*4\s+(\S+)\s+/) {
$mntpt = $1;
return $mntpt;
......
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