summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2013-03-21 10:05:15 -0500
committerWilliam Hubbs <williamh@gentoo.org>2013-03-21 10:05:15 -0500
commitba463c6841c2cd0ab58aac391bd84613694cb7a9 (patch)
tree261d6f933cb7057b6c04781f4e9524b93f414227 /conf.d
parentre-arrange variable settings (diff)
downloadudev-gentoo-scripts-ba463c6841c2cd0ab58aac391bd84613694cb7a9.tar.gz
udev-gentoo-scripts-ba463c6841c2cd0ab58aac391bd84613694cb7a9.tar.bz2
udev-gentoo-scripts-ba463c6841c2cd0ab58aac391bd84613694cb7a9.zip
Optionally create /dev/root symlink
This is being added because there is software in our tree which hard codes the reference to /dev/root instead of using stat("/") to retrieve the root device. It is temporary however and will be removed again once this software is fixed. This is based on a patch submitted by Samuli Ssuominen. X-Gentoo-Bug: 438380 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=438380
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/udev9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf.d/udev b/conf.d/udev
index 667cc8b..41f6b9b 100644
--- a/conf.d/udev
+++ b/conf.d/udev
@@ -11,6 +11,15 @@
# in /etc/conf.d/rc: rc_plug_services="!*"
#rc_coldplug="YES"
+# We can create a /dev/root symbolic link to point to the root device in
+# some situations. This is on by default because some software relies on
+# it,. However, this software should be fixed to not do this.
+# For more information, see
+# https://bugs.gentoo.org/show_bug.cgi?id=438380.
+# If you are not using any affected software, you do not need this, so
+# feel free to turn it off.
+#rc_dev_root_symlink="YES"
+
# Expert options:
# Timeout in seconds to wait for processing of uevents at boot.