aboutsummaryrefslogtreecommitdiff
path: root/conf.d/devfs
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-12-01 16:31:02 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2014-01-05 11:17:05 -0600
commit8352082eb6582d6e7adc26fc64dfd2255eadf2a7 (patch)
tree5ab9cc19faa82d90e85e3787f39b5983c2df3bb5 /conf.d/devfs
parent3470eda3f5cea437a6de132b1ead3f27effd3902 (diff)
devfs: add code to mount /dev
All Linux systems need /dev to be set up,so add code to devfs to do this. The process devfs follows is below. 1. If static_dev is yes, nothing is done. 2. if /dev is an entry in fstab it is mounted or remounted based on that entry. 3. If /dev is not in fstab, it attempts to mount /dev as a devtmpfs or tmpfs depending on which is defined in the kernel; devtmpfs is preferred. 4. If neither devtmpfs nor tmpfs is defined, it assumes the user wants static /dev and prints a warning. X-Gentoo-Bug: 492694 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=492694
Diffstat (limited to 'conf.d/devfs')
-rw-r--r--conf.d/devfs2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf.d/devfs b/conf.d/devfs
new file mode 100644
index 00000000..92a8a99d
--- /dev/null
+++ b/conf.d/devfs
@@ -0,0 +1,2 @@
+# Set this to yes if your /dev is not a devtmpfs or tmpfs.
+# static_dev="NO"