Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8086081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:20:34+00:00 2026-06-05T18:20:34+00:00

I have a software that is tracking an NTFS volume changes on a Windows

  • 0

I have a software that is tracking an NTFS volume changes on a Windows OS using volume filter driver. I need to handle a condition when the volume gets mounted and modified outside of the OS where my driver is installed.

Is it possible to figure out the “last mount time” of the volume? or any other parameter allowing me to tell if the volume has been mounted outside of my driver control?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T18:20:35+00:00Added an answer on June 5, 2026 at 6:20 pm

    I don’t know of a “last mount time”, but there is a “log file open count”. If you look at http://www.opensource.apple.com/source/ntfs/ntfs-64/kext/ntfs_logfile.h, you will see a RESTART_AREA structure like this:

    /* 40*/ le32 restart_log_open_count;/* A counter that gets incremented every
                                         time the logfile is restarted which happens
                                         at mount time when the logfile is opened.
                                         When creating set to a random value.  Win2k
                                         sets it to the low 32 bits of the current
                                         system time in NTFS format (see time.h). */
    /* 44*/ le32 reserved;      /* Reserved/alignment to 8-byte boundary. */
    /* sizeof() = 48 (0x30) bytes */
    } __attribute__((__packed__)) RESTART_AREA;
    

    You can see that near the end of it is a restart_log_open_count that you can use to keep track of mounts. You would look at the value and compare it to a saved value. It should be equal to the saved value plus one. If so, it hasn’t been mounted since you last had control.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have software that runs fine under a normal Windows installation but when we
I have a software that runs on mac (using terminal program) the program is
I'm working at a development shop that is using outdated bug tracking software. They're
I have software that opens a serial port using C# and it does good
We have a software that is using an old dll for generating licence key.
I have software that first loads a .dylib lets call libFirst.dylib using the following
We have this software that has a webservices component. Now, the administrator of this
I have an old software that written in VB6 with infragistics SSActiveToolBars control (ActiveThreedPlus).
I have a software renderer that I am porting from PC to the iPhone.
I have this running software that is currently being used by about 400 people.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.