|
|
@ -373,13 +373,13 @@ creeMV()
|
|
|
|
# # -device vfio-pci,host=0b:10.0,id=hostdev0,bus=pci.0,addr=0xa
|
|
|
|
# # -device vfio-pci,host=0b:10.0,id=hostdev0,bus=pci.0,addr=0xa
|
|
|
|
# shift
|
|
|
|
# shift
|
|
|
|
# ;;
|
|
|
|
# ;;
|
|
|
|
"-s") # Sous-volume
|
|
|
|
"-S") # Sous-volume
|
|
|
|
echo "sous-volume" # Debogage
|
|
|
|
echo "sous-volume" # Debogage
|
|
|
|
parametre="${2}"
|
|
|
|
parametre="${2}"
|
|
|
|
echo "sous-volume parametre=${parametre}" # Debogage
|
|
|
|
echo "sous-volume parametre=${parametre}" # Debogage
|
|
|
|
presenceParametre "$#" "$1"
|
|
|
|
presenceParametre "$#" "$1"
|
|
|
|
shift
|
|
|
|
shift
|
|
|
|
if [[ ${temoin_s} -ne 1 ]]; then
|
|
|
|
if [[ ${temoin_S} -ne 1 ]]; then
|
|
|
|
case ${1} in
|
|
|
|
case ${1} in
|
|
|
|
"btrfs"|"BTRFS")
|
|
|
|
"btrfs"|"BTRFS")
|
|
|
|
if [[ ! $(command -v btrfs) ]]; then
|
|
|
|
if [[ ! $(command -v btrfs) ]]; then
|
|
|
@ -388,7 +388,7 @@ creeMV()
|
|
|
|
commandes_init_a_executer+=( "initEnv sousvolume ${1}" )
|
|
|
|
commandes_init_a_executer+=( "initEnv sousvolume ${1}" )
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
temoin_s=1
|
|
|
|
temoin_S=1
|
|
|
|
else
|
|
|
|
else
|
|
|
|
die "L'option ${1} a déjà été renseignée." 3
|
|
|
|
die "L'option ${1} a déjà été renseignée." 3
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|