From 04b86198ef7d32d3f4ae700fcf34a2539876f0a7 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 14 Jun 2010 12:06:13 +0200 Subject: init: display warning message if devtmpfs could not be mounted. Older kernel versions (like the one shipped with Lenny) don't support devtmpfs. Therefore display a warning message when falling back to tmpfs. See #501359. Thanks: Ferenc Wagner Signed-off-by: Michael Prokop --- init | 1 + 1 file changed, 1 insertion(+) diff --git a/init b/init index 142eb14..c838049 100755 --- a/init +++ b/init @@ -18,6 +18,7 @@ if [ -e /etc/udev/udev.conf ]; then . /etc/udev/udev.conf fi if ! mount -t devtmpfs -o mode=0755 none /dev; then + echo "W: devtmpfs not available, falling back to tmpfs for /dev" mount -t tmpfs -o size=$tmpfs_size,mode=0755 udev /dev [ -e /dev/console ] || mknod -m 0600 /dev/console c 5 1 [ -e /dev/null ] || mknod /dev/null c 1 3 -- cgit v1.2.3