IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
> 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.
This patch changes test.tty and test.block to add/remove each tty and
block device, respectively, on the system. Great way to
populate/unpopulate udev rapidly.
Its just a simple for loop over the sysfs entries.