Solaris 10 no longer has xmemfs
authorJamie Cameron <jcameron@webmin.com>
Tue, 21 Jul 2009 21:16:45 +0000 (14:16 -0700)
committerJamie Cameron <jcameron@webmin.com>
Tue, 21 Jul 2009 21:16:45 +0000 (14:16 -0700)
mount/solaris-lib.pl

index 12586af..59f81aa 100755 (executable)
@@ -357,7 +357,9 @@ if (&running_in_zone()) {
        @fs = ( "tmpfs", "autofs", "nfs" );
        }
 push(@fs, $smbmount) if ($smbmount);
-push(@fs, "udfs", "xmemfs") if ($gconfig{'os_version'} >= 8);
+push(@fs, "udfs") if ($gconfig{'os_version'} >= 8);
+push(@fs, "xmemfs") if ($gconfig{'os_version'} >= 8 &&
+                       gconfig{'os_version'} <= 10);
 return @fs;
 }