Advertisement
Guest User

mountfs

a guest
Feb 1st, 2011
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. --- mountfs.old 2009-09-28 07:11:13.855801600 +0000
  2. +++ etc/rc.d/init.d/mountfs 2009-09-28 07:58:08.446464339 +0000
  3. @@ -24,12 +24,18 @@
  4. # Remove fsck-related file system watermarks.
  5. rm -f /fastboot /forcefsck
  6.  
  7. + boot_mesg "Creating, Formating Ramdisk tmp..."
  8. + mkfs.ext2 -q -m 0 /dev/ram0
  9. + evaluate_retval
  10. +
  11. boot_mesg "Recording existing mounts in /etc/mtab..."
  12. > /etc/mtab
  13. mount -f / || failed=1
  14. mount -f /proc || failed=1
  15. mount -f /sys || failed=1
  16. (exit ${failed})
  17. + boot_mesg -n "Correct /tmp /var/tmp permtions"
  18. + chmod 1777 /tmp /var/tmp
  19. evaluate_retval
  20.  
  21. # This will mount all filesystems that do not have _netdev in
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement