diff options
author | Michael Prokop <mika@debian.org> | 2010-06-14 12:06:13 +0200 |
---|---|---|
committer | Michael Prokop <mika@debian.org> | 2010-06-14 12:06:13 +0200 |
commit | 04b86198ef7d32d3f4ae700fcf34a2539876f0a7 (patch) | |
tree | 005a697d9d6cd87152ccbbc7bb4f5c7629d5d6ef /init | |
parent | 2a8c9907b1095015e1d669d3cd895657936f6247 (diff) | |
download | initramfs-tools-04b86198ef7d32d3f4ae700fcf34a2539876f0a7.tar.gz initramfs-tools-04b86198ef7d32d3f4ae700fcf34a2539876f0a7.zip |
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 <wferi@niif.hu>
Signed-off-by: Michael Prokop <mika@debian.org>
Diffstat (limited to 'init')
-rwxr-xr-x | init | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |