]> err.no Git - systemd/commit
[PATCH] udev: cool test scripts again
authorrml@tech9.net <rml@tech9.net>
Sat, 18 Oct 2003 08:18:04 +0000 (01:18 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:01:41 +0000 (21:01 -0700)
commitfd14ee04ef9834516cd3b6ae4d07a3e4156e232e
tree9c2b4c06eaf69cdc68e4626ee0a6d652b27aefb1
parent8634e6d111730b6c95a8b846ddbadafb147b4a34
[PATCH] udev: cool test scripts again

> But the test.block script doesn't catch any partitions on the block
> devices :)

Never happy!

        [19:07:52]root@phantasy:~/src/udev/udev# ./test.block
        [19:13:37]root@phantasy:~/src/udev/udev# ls /udev/hd*
        ls: /udev/hd*: No such file or directory
        [19:13:42]root@phantasy:~/src/udev/udev# ./test.block
        [19:13:53]root@phantasy:~/src/udev/udev# ls /udev/hd*
        /udev/hda   /udev/hda2  /udev/hda4  /udev/hda6  /udev/hdd
        /udev/hda1  /udev/hda3  /udev/hda5  /udev/hdc

test.block now recurses /sys/block, looking for partitions.  Should add
all drives and all partitions.
test.block