summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMichael Prokop <mika@grml.org>2010-06-15 18:49:03 +0200
committerMichael Prokop <mika@grml.org>2010-06-15 18:49:03 +0200
commitebe8f80b8b0814db4afb4167d23a5f4f8cc90a68 (patch)
treee0acaa184b6ef6733272bd57a818a2517eed21a3 /init
parentb1fff5e9e4b0ed38f018132cef28330eac7a963c (diff)
parent04b86198ef7d32d3f4ae700fcf34a2539876f0a7 (diff)
downloadinitramfs-tools-ebe8f80b8b0814db4afb4167d23a5f4f8cc90a68.tar.gz
initramfs-tools-ebe8f80b8b0814db4afb4167d23a5f4f8cc90a68.zip
Merge branch 'mika/devtmpfs'
Diffstat (limited to 'init')
-rwxr-xr-xinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/init b/init
index a614d89..397a8c2 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