Index: initrd_source/skel/etc/init.d/functions
===================================================================
--- initrd_source/skel/etc/init.d/functions	(revision 3386)
+++ initrd_source/skel/etc/init.d/functions	(working copy)
@@ -39,7 +39,7 @@
 #
 # Usage: if root_on_tmpfs; then
 root_on_tmpfs() {
-    mount 2>/dev/null | grep ' / ' | grep -q ' tmpfs '
+    df -k 2>/dev/null | grep '/' | grep -q 'tmpfs'
 }
 
 ################################################################################
