Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    System file integrity check utility ?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 1.5k Views
    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.
    • S
      Snailkhan
      last edited by

      Hi,

      in windows we have sfc /scannow utility that checks hashes of system files and compares against known one to identify and repair corrupt files.

      is there some thing similar in pfsense ?
      so that with one command we can be sure that all our original system files are ok ?

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        No.

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          Yes there is, you can use mtree to verify vs. /etc/installed_filesystem.mtree

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            I stand corrected.  How on Earth would anybody know to find or use that?  But then the same could be said for sfc.exe.  Thanks for the tip.  Straight into the bag of tricks it goes.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.