From ec7f27054fd3abd21483c08d287ac337d3017bf8 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sun, 15 Jan 2023 22:23:57 +0400 Subject: handle list of devices to make raid-disk Task: 2 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b5c009d..3ac5a0a 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,8 @@ ######## Makefile TARG_BLK = /dev/disk/by-id/ata-QEMU_HARDDISK_QM00001 +TARG_BLK2 = /dev/disk/by-id/ata-QEMU_HARDDISK_QM00003 +DISK_LIST = "$(TARG_BLK),$(TARG_BLK2)" SBDD_BLK = /dev/sbdd DD_ARGS = bs=512 count=1 @@ -46,7 +48,7 @@ clean: load: dmesg -C - insmod sbdd.ko disk="$(TARG_BLK)" + insmod sbdd.ko disk="$(TARG_BLK)" disklist=$(DISK_LIST) dmesg unload: -- cgit v1.2.3-18-g5258