summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/udev.75
-rw-r--r--man/udev.xml7
-rwxr-xr-xtest/udev-test.pl8
3 files changed, 0 insertions, 20 deletions
diff --git a/man/udev.7 b/man/udev.7
index b54683dcd0..293f4047f2 100644
--- a/man/udev.7
+++ b/man/udev.7
@@ -515,11 +515,6 @@ The current name of the device\&. If not changed by a rule, it is the name of th
A space\-separated list of the current symlinks\&. The value is only set during a remove event or if an earlier rule assigned a value\&.
.RE
.PP
-\fB$root\fR, \fB%r\fR
-.RS 4
-The udev_root value\&.
-.RE
-.PP
\fB$sys\fR, \fB%S\fR
.RS 4
The sysfs mount point\&.
diff --git a/man/udev.xml b/man/udev.xml
index fd7df34ff1..d1ade24c4c 100644
--- a/man/udev.xml
+++ b/man/udev.xml
@@ -703,13 +703,6 @@
</varlistentry>
<varlistentry>
- <term><option>$root</option>, <option>%r</option></term>
- <listitem>
- <para>The udev_root value.</para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term><option>$sys</option>, <option>%S</option></term>
<listitem>
<para>The sysfs mount point.</para>
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 14f11df8af..9a425bb2b0 100755
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -889,14 +889,6 @@ SUBSYSTEMS=="scsi", KERNEL=="sda1", SYMLINK+="%P-part-1"
EOF
},
{
- desc => "udev_root substitution",
- devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1",
- exp_name => "start-/dev-end",
- rules => <<EOF
-SUBSYSTEMS=="scsi", KERNEL=="sda1", SYMLINK+="start-%r-end"
-EOF
- },
- {
desc => "last_rule option",
devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1",
exp_name => "last",