Re: How to detect disk activity?
- From: "Pavel A." <pavel_a@xxxxxxxxxxxxxxx>
- Date: Sun, 12 Nov 2006 00:41:48 +0200
To detect disk activity one does not need any driver.
Just poll the perf. counters from user mode.
--PA
<soviet_bloke@xxxxxxxxxxx> wrote in message news:1163215956.791390.251080@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Can you write 2 lines of code that inform you when disk
access is in progress? and just say where you would
put them in diskperf ?
Let's say someone does it for you. What are you going to learn this
way?????
Your project of monitoring disk activity is really good for someone who
wants to learn driver basics. What you have to do is to attach your
device(s) to the storage stack, so that you are able to capture all
requests that are sent to the disk. As far as I understand, you just
want to passively monitor disk activity, so that the project is really
easy ( for the time being, let's ignore PnP stuff - this is going to be
the next step). For the time being, SC Manager-based service is
perfectly acceptable
Therefore, go and write your code - this is the *ONLY* way to learn
things
Good luck
Anton Bassov
deean wrote:
You don't need to hook anything. Modify diskperf to add a control
device and use that to communicate with your application. Nobody is
going to write this for you and give you the source code.
Can you write 2 lines of code that inform you when disk
access is in progress? and just say where you would
put them in diskperf ?
=====================
Mark Roddy DDK MVP
Windows Vista/2003/XP/2000 Consulting
Device and Filesystem Drivers
Hollis Technology Solutions 603-321-1032
www.hollistech.com
.
- Follow-Ups:
- Re: How to detect disk activity?
- From: soviet_bloke
- Re: How to detect disk activity?
- From: deean
- Re: How to detect disk activity?
- References:
- How to detect disk activity?
- From: deean
- Re: How to detect disk activity?
- From: Mark Roddy
- Re: How to detect disk activity?
- From: deean
- Re: How to detect disk activity?
- From: soviet_bloke
- How to detect disk activity?
- Prev by Date: Re: Start /Stop WZC from code like NetStumbler
- Next by Date: Re: Is to get 'program files' path possible in kernel mode?
- Previous by thread: Re: How to detect disk activity?
- Next by thread: Re: How to detect disk activity?
- Index(es):
Relevant Pages
|