swapoff avec label
This commit is contained in:
@@ -332,10 +332,11 @@ Si tu veux, au lieu d'utiliser `gparted`, tu pourrais le faire en ligne de comma
|
||||
|
||||
set -e
|
||||
|
||||
swapoff /dev/sdb6
|
||||
declare -i PARTCODE=2
|
||||
declare DEVICE=/dev/sdb
|
||||
|
||||
swapoff -L "swap$PARTCODE"
|
||||
|
||||
sgdisk \
|
||||
--clear \
|
||||
--new 1::+1M \
|
||||
|
Reference in New Issue
Block a user