Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

BSD Cafe Billboard

  1. Home
  2. BSD
  3. OpenBSD
  4. Force fsck on reboot

Force fsck on reboot

Scheduled Pinned Locked Moved OpenBSD
openbsdfsckrunbsd
4 Posts 2 Posters 149 Views
  • 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.
  • andersgoA Offline
    andersgoA Offline
    andersgo
    wrote last edited by
    #1

    Some AI garble instructs to create a file /forcefsck
    to enforce fsck on reboot.

    This is clearly not working in my case (8.0 RELEASE) and not mentioned in the fsck(8) man page which it is referring to.

    Is there any method to invoke this? And is the forcefsck file suggestion utter AI horseshit?

    I'm curious to know.

    O 1 Reply Last reply
    6
    • andersgoA andersgo

      Some AI garble instructs to create a file /forcefsck
      to enforce fsck on reboot.

      This is clearly not working in my case (8.0 RELEASE) and not mentioned in the fsck(8) man page which it is referring to.

      Is there any method to invoke this? And is the forcefsck file suggestion utter AI horseshit?

      I'm curious to know.

      O This user is from outside of this forum
      O This user is from outside of this forum
      one_old_coder@piefed.social
      wrote last edited by one_old_coder@piefed.social
      #2

      The /forcefsck file seems to be an old thing: the OS supposedly removes the file after booting, not AI horseshit but AI being dumb because it doesn't work anymore. I'm pretty sure the AI copied that from StackOverflow.

      The new advice seems to be adding fsck.mode=force to the kernel command-line (too lazy to check how it is done easily). The problem being that it seems permanent and you have to revert that option after using it.

      Do you want this all the time? Then use fsck.mode=force I guess. BTW, when you reboot your computer, you're killing your uptime and it's not good for your uptime score, do you really want to do this? A friend of mine had an uptime of more than 5 years with a simple Debian machine. I never managed to do more than 1 month 😞

      1 Reply Last reply
      2
      • andersgoA Offline
        andersgoA Offline
        andersgo
        wrote last edited by
        #3

        Thanks for the feedback. I was mostly curious. The problem with these false and outdated AI responses is that they appear on the top of the search page and give you the impression that this is fresh meat. Klara Inc posted recently a good article on how wrong outdated ZFS advices can go.

        1 Reply Last reply
        0
        • andersgoA Offline
          andersgoA Offline
          andersgo
          wrote last edited by
          #4

          Speak of the devil - AI makes it irresponsible to keep an uptime on any prod systems for more than a week nowadays. Hope there will come something good out in the end

          "0 days without 0 day..."

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups