
mountfs
By: a guest on
Feb 1st, 2011 | syntax:
None | size: 0.63 KB | hits: 32 | expires: Never
--- mountfs.old 2009-09-28 07:11:13.855801600 +0000
+++ etc/rc.d/init.d/mountfs 2009-09-28 07:58:08.446464339 +0000
@@ -24,12 +24,18 @@
# Remove fsck-related file system watermarks.
rm -f /fastboot /forcefsck
+ boot_mesg "Creating, Formating Ramdisk tmp..."
+ mkfs.ext2 -q -m 0 /dev/ram0
+ evaluate_retval
+
boot_mesg "Recording existing mounts in /etc/mtab..."
> /etc/mtab
mount -f / || failed=1
mount -f /proc || failed=1
mount -f /sys || failed=1
(exit ${failed})
+ boot_mesg -n "Correct /tmp /var/tmp permtions"
+ chmod 1777 /tmp /var/tmp
evaluate_retval
# This will mount all filesystems that do not have _netdev in