mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
test: read from the right device
This commit is contained in:
@@ -25,7 +25,7 @@ netdev=dummy17.10
|
||||
ip link add $netdev type dummy
|
||||
|
||||
blk="$(mktemp)"
|
||||
dd if=/dev/null of="$blk" bs=1M count=1
|
||||
dd if=/dev/zero of="$blk" bs=1M count=1
|
||||
loopdev="$(losetup --show -f "$blk")"
|
||||
|
||||
udevadm -h
|
||||
|
||||
Reference in New Issue
Block a user