#!/bin/sh
#
# Mount all filesystems read-write

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/etc
export PATH

umount -a
fsck -A -a
mount -w -n -o remount /
rm -f /etc/mtab /etc/mtab~
mount -a
#awk '$3=="ext" { print $1 " " $2 }' /etc/fstab |
#while read a b
#do
#	mount $b
#done
