Systemd/test
kay.sievers@vrfy.org 3d150dfb28 [PATCH] experimental (very simple) SYMLINK creation
> > here is a experimental symlink creation patch - for discussion,
> > in which direction we should go.
> > It is possible now to define SYMLINK= after the NAME= in udev.rules.
> > The link is relative to the node, but the path is not optimized now
> > if the node and the link are in the same nested directory.
> > Only one link is supported, cause i need to sleep now :)
> >
> > 06-simple-symlink-creation.diff
> >   simple symlink creation
> >   reorganized udev-remove to have access to the symlink field
> >   subdir creation/removal are functions now
> >   udev-test.pl tests for link creation/removal

Here is a new version with relative link target path optimization
an better tests in udev-test.pl:

LABEL, BUS="scsi", vendor="IBM-ESXS", NAME="1/2/a/b/node", SYMLINK="1/2/c/d/symlink"

  Dec  7 06:48:34 pim udev[13789]: create_node: symlink 'udev-root/1/2/c/d/symlink' to node '1/2/a/b/node' requested
  Dec  7 06:48:34 pim udev[13789]: create_path: created 'udev-root/1/2/c'
  Dec  7 06:48:34 pim udev[13789]: create_path: created 'udev-root/1/2/c/d'
  Dec  7 06:48:34 pim udev[13789]: create_node: symlink(../../a/b/node, udev-root/1/2/c/d/symlink)
2005-04-26 21:13:06 -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] experimental (very simple) SYMLINK creation 2005-04-26 21:13:06 -07:00
udev.permissions [PATCH] fix permission handling logic 2005-04-26 21:13:05 -07:00