aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-12-21 02:41:01 +0100
committerTom Gundersen <teg@jklm.no>2011-12-21 02:41:01 +0100
commit74397f08bc511a84b6ee9a3a453f43e1adaaf9df (patch)
treea0dd830de44cab96534029d6150dea05b844bde7 /rc.sysinit
parentadea51dfcb094193e2f9c959e242fb1523fcbe25 (diff)
downloadinitscripts-74397f08bc511a84b6ee9a3a453f43e1adaaf9df.tar.xz
warn about lack of devtmpfs support
This still works (probably), but is not tested, and I have a feeling that udev will drop support for this at some point, so we better prepare people. There is no reason not to enable devtmpfs support (except that it requires a recompile of course). Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit4
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 5d9a72f..8dd1607 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -40,6 +40,10 @@ if [[ ! -a /usr/lib ]] ; then
printf "${C_FAIL}/usr is not mounted. This is not supported.${C_OTHER}\n"
fi
+if [[ ! $(grep devtmpfs /proc/filesystems) ]] ; then
+ printf "${C_FAIL}Your kernel does not have devtmpfs support. This is not supported.${C_OTHER}\n"
+fi
+
HWCLOCK_PARAMS="--systz"
case $HARDWARECLOCK in
"") ;;