From 43cc4d84bc3e3a3d38cf54762969f48fde52fd00 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 30 Nov 2012 11:15:39 +0100 Subject: [PATCH] change for "udevadm control": s/--reload-rules/--reload/g --- test/TEST-01-BASIC/create-root.sh | 2 +- test/TEST-02-SYSTEMD/create-root.sh | 2 +- test/TEST-03-USR-MOUNT/create-root.sh | 2 +- test/TEST-04-FULL-SYSTEMD/create-root.sh | 2 +- test/TEST-10-RAID/create-root.sh | 2 +- test/TEST-11-LVM/create-root.sh | 2 +- test/TEST-12-RAID-DEG/create-root.sh | 2 +- test/TEST-13-ENC-RAID-LVM/create-root.sh | 2 +- test/TEST-15-BTRFSRAID/create-root.sh | 2 +- test/TEST-30-ISCSI/create-root.sh | 2 +- test/TEST-40-NBD/create-root.sh | 2 +- test/old.TEST-14-IMSM/create-root.sh | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/test/TEST-01-BASIC/create-root.sh b/test/TEST-01-BASIC/create-root.sh index ce900ad..6bede87 100755 --- a/test/TEST-01-BASIC/create-root.sh +++ b/test/TEST-01-BASIC/create-root.sh @@ -4,7 +4,7 @@ for x in 64-lvm.rules 70-mdadm.rules 99-mount-rules; do > "/etc/udev/rules.d/$x" done rm /etc/lvm/lvm.conf -udevadm control --reload-rules +udevadm control --reload set -e # save a partition at the beginning for future flagging purposes sfdisk -C 2560 -H 2 -S 32 -L /dev/sda < "/etc/udev/rules.d/$x" done rm /etc/lvm/lvm.conf -udevadm control --reload-rules +udevadm control --reload set -e # save a partition at the beginning for future flagging purposes sfdisk -C 2560 -H 2 -S 32 -L /dev/sda < "/etc/udev/rules.d/$x" done rm /etc/lvm/lvm.conf -udevadm control --reload-rules +udevadm control --reload set -e # save a partition at the beginning for future flagging purposes sfdisk -C 5120 -H 2 -S 32 -L /dev/sda < "/etc/udev/rules.d/$x" done rm /etc/lvm/lvm.conf -udevadm control --reload-rules +udevadm control --reload set -e # save a partition at the beginning for future flagging purposes sfdisk -C 10240 -H 2 -S 32 -L /dev/sda < "/etc/udev/rules.d/$x" done rm /etc/lvm/lvm.conf -udevadm control --reload-rules +udevadm control --reload # save a partition at the beginning for future flagging purposes sfdisk -C 1280 -H 2 -S 32 -L /dev/sda < "/etc/udev/rules.d/$x" done rm /etc/lvm/lvm.conf -udevadm control --reload-rules +udevadm control --reload # save a partition at the beginning for future flagging purposes sfdisk -C 1280 -H 2 -S 32 -L /dev/sda < "/etc/udev/rules.d/$x" done rm /etc/lvm/lvm.conf -udevadm control --reload-rules +udevadm control --reload # save a partition at the beginning for future flagging purposes sfdisk -C 1280 -H 2 -S 32 -L /dev/sda < "/etc/udev/rules.d/$x" done rm /etc/lvm/lvm.conf -udevadm control --reload-rules +udevadm control --reload # save a partition at the beginning for future flagging purposes sfdisk -C 2560 -H 2 -S 32 -L /dev/sda < "/etc/udev/rules.d/$x" done -udevadm control --reload-rules +udevadm control --reload # save a partition at the beginning for future flagging purposes sfdisk -C 655600 -H 2 -S 32 -L /dev/sda < "/etc/udev/rules.d/$x" done rm /etc/lvm/lvm.conf -udevadm control --reload-rules +udevadm control --reload mkfs.ext3 -j -F /dev/sda && \ mkdir -p /sysroot && \ mount /dev/sda /sysroot && \ diff --git a/test/TEST-40-NBD/create-root.sh b/test/TEST-40-NBD/create-root.sh index 5b902c3..9c1c09e 100755 --- a/test/TEST-40-NBD/create-root.sh +++ b/test/TEST-40-NBD/create-root.sh @@ -4,7 +4,7 @@ for x in 64-lvm.rules 70-mdadm.rules 99-mount-rules; do > "/etc/udev/rules.d/$x" done rm /etc/lvm/lvm.conf -udevadm control --reload-rules +udevadm control --reload echo -n test >keyfile cryptsetup -q luksFormat /dev/sdb /keyfile echo "The passphrase is test" diff --git a/test/old.TEST-14-IMSM/create-root.sh b/test/old.TEST-14-IMSM/create-root.sh index df0f414..4709028 100755 --- a/test/old.TEST-14-IMSM/create-root.sh +++ b/test/old.TEST-14-IMSM/create-root.sh @@ -5,7 +5,7 @@ for x in 61-dmraid-imsm.rules 64-md-raid.rules 65-md-incremental-imsm.rules 65-m done rm /etc/lvm/lvm.conf -udevadm control --reload-rules +udevadm control --reload # dmraid does not want symlinks in --disk "..." if [ -e /dev/hda ] ; then echo y|dmraid -f isw -C Test0 --type 1 --disk "/dev/hdb /dev/hdc" -- 2.7.4