cmdline=$(cat /proc/cmdline)
if strstr "$cmdline" vartmp ; then
mount -n -t tmpfs -o noatime,mode=0755,size=224K tmpfs /dev
tar jxf /etc/dev1.tar.bz2
mount -n -t tmpfs -o noatime,mode=1755,size=48K tmpfs /var/run
mount -n -t tmpfs -o noatime,mode=1755,size=128K tmpfs /var/log
mount -n -t tmpfs -o noatime,mode=1755,size=8K tmpfs /var/lock/subsys
mount -n -t tmpfs -o noatime,mode=1755,size=8K tmpfs /var/lib
mkdir /var/run/netreport
cat /etc/ntp/drift > /var/log/drift
if strstr "$cmdline" readonlyroot ; then
READONLY=yes
mount -n -t tmpfs -o noatime,mode=1755,size=2M tmpfs /tmp
fi
fi