From 8352082eb6582d6e7adc26fc64dfd2255eadf2a7 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 1 Dec 2013 16:31:02 -0600 Subject: 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 --- conf.d/devfs | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 conf.d/devfs (limited to 'conf.d/devfs') 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" -- cgit v1.2.3