1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 07:51:08 +03:00
systemd-stable/test
kay.sievers@vrfy.org 4763256c65 [PATCH] allow multiple symlinks
Here is a patch to allow the creation of multiple symlinks.
The names must be separated by a space character.


REPLACE, KERNEL="ttyUSB0", NAME="visor", SYMLINK="first-%n second-%n third-%n"

results in:

Dec  9 05:28:51 pim udev[12019]: create_node: mknod(udev-root/visor, 020666, 188, 0)
Dec  9 05:28:51 pim udev[12019]: create_node: symlink 'udev-root/first-0' to node 'visor' requested
Dec  9 05:28:51 pim udev[12019]: create_node: symlink(./visor, udev-root/first-0)
Dec  9 05:28:51 pim udev[12019]: create_node: symlink 'udev-root/second-0' to node 'visor' requested
Dec  9 05:28:51 pim udev[12019]: create_node: symlink(./visor, udev-root/second-0)
Dec  9 05:28:51 pim udev[12019]: create_node: symlink 'udev-root/third-0' to node 'visor' requested
Dec  9 05:28:51 pim udev[12019]: create_node: symlink(./visor, udev-root/third-0)
2005-04-26 21:13:07 -07:00
..
sys [PATCH] add more sysfs test tree files. 2005-04-26 21:06:23 -07:00
label_test [PATCH] show permissions and groups in the label_test 2005-04-26 21:13:05 -07:00
modifier_test [PATCH] fix up the tests to work without all of the environ variables. 2005-04-26 21:13:05 -07:00
replace_test [PATCH] fix up the tests to work without all of the environ variables. 2005-04-26 21:13:05 -07:00
test.all [PATCH] fix the test.block and test.tty scripts due to their moveing. Also add a test.all script. 2005-04-26 21:13:02 -07:00
test.block [PATCH] fix the test.block and test.tty scripts due to their moveing. Also add a test.all script. 2005-04-26 21:13:02 -07:00
test.tty [PATCH] fix the test.block and test.tty scripts due to their moveing. Also add a test.all script. 2005-04-26 21:13:02 -07:00
topo_test [PATCH] fix up the tests to work without all of the environ variables. 2005-04-26 21:13:05 -07:00
udev-test.pl [PATCH] allow multiple symlinks 2005-04-26 21:13:07 -07:00
udev.permissions [PATCH] fix permission handling logic 2005-04-26 21:13:05 -07:00