From 74397f08bc511a84b6ee9a3a453f43e1adaaf9df Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 21 Dec 2011 02:41:01 +0100 Subject: 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 --- rc.sysinit | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rc.sysinit') 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 "") ;; -- cgit v1.2.3