This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

mountfs

By: a guest on Feb 1st, 2011  |  syntax: None  |  size: 0.63 KB  |  views: 32  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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
clone this paste RAW Paste Data