diff options
author | Tom Gundersen <teg@jklm.no> | 2011-12-21 02:41:01 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-12-21 02:41:01 +0100 |
commit | 74397f08bc511a84b6ee9a3a453f43e1adaaf9df (patch) | |
tree | a0dd830de44cab96534029d6150dea05b844bde7 /rc.sysinit | |
parent | adea51dfcb094193e2f9c959e242fb1523fcbe25 (diff) |
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-x | rc.sysinit | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 "") ;; |