• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

FOG_DISABLE_CHKDSK setting

Scheduled Pinned Locked Moved Solved
Bug Reports
2
2
2.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    astrouga
    last edited by Jul 19, 2012, 1:28 PM

    Seems like the “FOG_DISABLE_CHKDSK” setting in .32 is not set correctly. It is set to 1 by default, and according to the information, that should mean that chkdsk will not run. However the behavior is opposite, at least in some limited testing. When you run a Quick Image, and this value is set to 1, chkdsk runs. Chkdsk does not run if you change the value to 0.

    There are several short-hand php if-then logic statements in /var/www/fog/management/includes/tasks.confirm.include.php that deal with this.
    [CODE]$other .= (" chkdsk=" . ($core->getGlobalSetting(“FOG_DISABLE_CHKDSK”) == “1” ? ‘0’ : ‘1’));[/CODE]

    And I noticed it in the fog script when I was looking at the init image file:
    [CODE]if [ “$chkdsk” == “0” ]
    then
    RUN_CHKDSK=“-x”;
    fi[/CODE]

    More information on this thread: [url]http://fogproject.org/forum/threads/skipping-chkdsk.925/[/url]

    Thanks,
    astrouga

    1 Reply Last reply Reply Quote 0
    • B
      Blackout Developer
      last edited by Aug 14, 2012, 2:42 AM

      Fixed in SVN for 0.33. Thank you for reporting.

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        Last post

      227

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project