Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2009-11-16 23:54:51 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2009-11-17 00:48:26 -0300
commit2763f3da324f1742892288640c63d1bedaaba56e (patch)
tree114b9e0a8ad0a78ededd2ec35c1ca00815ae53f1 /archiso
parentd69ea15142267e891c3ba22dd0d546c029341914 (diff)
Rename ramdisk_size parameter to tmpfs_size to avoid conflict
Rename ramdisk_size parameter to tmpfs_size to avoid conflict with the kernel parameter that is for old ramdisk based blockdevs (/dev/ramN) and confusion to users. The kernel parameter ramdisk_size=N is in "N * k size", while tmpfs size=N is in "N * [ k | m | g ] byte size" or "in N% of RAM", like is used by default on archiso. This parameter is used only for tmpfs in size option. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso')
-rw-r--r--archiso/hooks/archiso8
1 files changed, 4 insertions, 4 deletions
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index aeaded2..cf13e3d 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -46,8 +46,8 @@ run_hook ()
arch="$(uname -m)"
fi
- if [ "x${ramdisk_size}" = "x" ]; then
- ramdisk_size="75%"
+ if [ "x${tmpfs_size}" = "x" ]; then
+ tmpfs_size="75%"
fi
if [ "x${isomounts}" != "x" ]; then
@@ -56,8 +56,8 @@ run_hook ()
isomounts="/bootmnt/isomounts"
fi
- msg -n ":: Mounting tmpfs, size=${ramdisk_size}..."
- mount -t tmpfs -o "size=${ramdisk_size}" tmpfs /tmpfs
+ msg -n ":: Mounting tmpfs, size=${tmpfs_size}..."
+ mount -t tmpfs -o "size=${tmpfs_size}" tmpfs /tmpfs
msg "done."
msg ":: Waiting for boot device..."