X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fvserver-setup.functions;fp=scripts%2Fvserver-setup.functions;h=127f42f8340d4dcb6b9741d70eb80507c90810b0;hb=2822ba293eb308225c50d346930c47bf98d9927b;hp=03c44d631018652fe7740dad97b5fccb301fd514;hpb=2894fc5a4c8335e4d7221311fed0556f33f8047c;p=util-vserver.git diff --git a/scripts/vserver-setup.functions b/scripts/vserver-setup.functions index 03c44d6..127f42f 100644 --- a/scripts/vserver-setup.functions +++ b/scripts/vserver-setup.functions @@ -1,6 +1,6 @@ -# $Id: vserver-setup.functions 2300 2006-09-12 12:16:53Z dhozac $ --*- sh -*-- +# $Id: vserver-setup.functions,v 1.18 2005/02/25 23:32:02 ensc Exp $ --*- sh -*-- -# Copyright (C) 2003,2004,2005,2006 Enrico Scholz +# Copyright (C) 2003 Enrico Scholz # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -24,15 +24,11 @@ SETUP_LOCKFILE= SETUP_CONFDIR= SETUP_CONTEXT= SETUP_INITSTYLE= -SETUP_CPUSET= -SETUP_CPUSETCPUS= -SETUP_CPUSETMEMS= -SETUP_CPUSETVIRT= declare -a SETUP_INTERFACES=() declare -a SETUP_FLAGS=() -declare -r SETUP_OPTIONS="confdir:,lockfile:,hostname:,netdev:,netmask:,netprefix:,netbcast:,interface:,flags:,context:,initstyle:,cpuset:,cpusetcpus:,cpusetmems:,cpusetvirt" +declare -r SETUP_OPTIONS="confdir:,lockfile:,hostname:,netdev:,netmask:,netprefix:,netbcast:,interface:,flags:,context:,initstyle:" declare -r SETUP_HELPMSG=$" --context ... the static context of the vserver [default: none; a dynamic context will be assumed] @@ -59,19 +55,6 @@ declare -r SETUP_HELPMSG=$" this becomes a per vserver limit) private: No other process can join this security context. Even root - --cpuset - ... declares the CPUSET this vserver will run in [default: none] - --cpusetcpus ]> - ... sets which cpus belong to the CPUSET, - exclusive is a flag (0|1) prohibiting any other cpuset from - using those cpus - --cpusetmems ]> - ... sets which memory pools belong to the CPUSET, - exclusive is a flag (0|1) prohibiting any other cpuset from - using those memory pools - --cpusetvirt - ... virtualize cpuset (guest will see only CPUs defined in cpuset) - Requires kernel patch from http://www.bullopensource.org/cpuset/ --initstyle