summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-05-20 12:14:44 +0200
committermaximilian attems <maks@debian.org>2006-05-20 12:14:44 +0200
commit02b32f0a24c8e0724bca66ef57f144c4d708dce2 (patch)
tree13f460a6006fd7a5229304a210b07ac3288ff694 /init
parentc29d49d84418075e1887c965d978c7cc0e07a95f (diff)
downloadinitramfs-tools-02b32f0a24c8e0724bca66ef57f144c4d708dce2.tar.gz
initramfs-tools-02b32f0a24c8e0724bca66ef57f144c4d708dce2.zip
- mv /etc/mkinitramfs /etc/initramfs-tools
upgrade handling on preinst - update TODO - update bug script
Diffstat (limited to 'init')
-rwxr-xr-xinit6
1 files changed, 5 insertions, 1 deletions
diff --git a/init b/init
index 04b7602..5e2084f 100755
--- a/init
+++ b/init
@@ -11,7 +11,11 @@ mount -t proc none /proc
# Note that this only becomes /dev on the real filesystem if udev's scripts
# are used; which they will be, but it's worth pointing out
-mount -t tmpfs -o mode=0755 udev /dev
+tmpfs_size="10M"
+if [ -e /etc/udev/udev.conf ]; then
+ . /etc/udev/udev.conf
+fi
+mount -t tmpfs -o size=$tmpfs_size,mode=0755 udev /dev
touch /dev/.initramfs-tools
mkdir /dev/.initramfs
mknod /dev/console c 5 1