changeset 688:78cbd428d60e

Feed noatime flag to init.sh mounts.
author Rob Landley <rob@landley.net>
date Wed, 01 Apr 2009 05:13:46 -0500
parents 58f38b4049e4
children aad5da0c7454
files sources/native/sbin/init.sh
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/sources/native/sbin/init.sh	Wed Apr 01 04:49:42 2009 -0500
+++ b/sources/native/sbin/init.sh	Wed Apr 01 05:13:46 2009 -0500
@@ -24,7 +24,7 @@
 
 # Populate /dev
 mountpoint -q sys || mount -t sysfs sys sys
-mountpoint -q dev || mount -t tmpfs dev dev
+mountpoint -q dev || mount -t tmpfs -o noatime dev dev
 mdev -s
 
 # Mount /proc is there
@@ -50,10 +50,10 @@
   [ -b /dev/sdb ] && HOMEDEV=/dev/sdb
   if [ ! -z "$HOMEDEV" ]
   then
-    mount $HOMEDEV /home
+    mount -o noatime $HOMEDEV /home
   fi
 
-  mount -t tmpfs /tmp /tmp
+  mount -o noatime -t tmpfs /tmp /tmp
 
   echo Type exit when done.
   exec /tools/bin/oneit -c /dev/"$(dmesg | sed -n '/^Kernel command line:/s@.* console=\(/dev/\)*\([^ ]*\).*@\2@p')" /tools/bin/ash