class driver irps

Hi,
Assuming a disk class driver for a particular
partition, say e: (taken from the ??). I need to
confirm these conclusions i have made about the irps
received, particularly IRP_MJ_WRITE.

  1. Is it true that all writes, will be write requests
    of integer multiples of pagesize.

  2. Since at class driver level, the filesystem is not
    involved. writes to offset 0, indicate writes to the
    root sector of the partition?

  3. Filemon produced these results which contradict 1,
    and 2. Can someone explain the first 3 irps to offset
    0

12:07:01 PM explorer.exe:864 IRP_MJ_WRITE
G:\chapter5.pdf SUCCESS Offset: 0 Length: 34790

12:07:02 PM System:8 IRP_MJ_WRITE* G:\chapter5.pdf
SUCCESS Offset: 0 Length: 36864

12:07:19 PM System:8 IRP_MJ_WRITE* G:\ SUCCESS Offset:
0 Length: 4096

12:07:19 PM System:8 IRP_MJ_WRITE* G: SUCCESS Offset:
540672 Length: 4096

12:07:19 PM System:8 IRP_MJ_WRITE* G: SUCCESS Offset:
16384 Length: 4096

12:07:19 PM System:8 IRP_MJ_WRITE* G: SUCCESS Offset:
16384 Length: 4096

Rajeev


For live cricket scores download Yahoo! Score Tracker
at: http://in.sports.yahoo.com/cricket/tracker.html

Filemon is a file system filter not a volume filter.

=====================
Mark Roddy
Windows XP/2000/NT Consultant, Microsoft MVP
Hollis Technology Solutions 603-321-1032
www.hollistech.com
xxxxx@hollistech.com
For Windows Device Driver Training: see www.azius.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rajeev Rao
Sent: Sunday, April 07, 2002 1:29 AM
To: NT Developers Interest List
Subject: [ntdev] class driver irps

Hi,
Assuming a disk class driver for a particular
partition, say e: (taken from the ??). I need to
confirm these conclusions i have made about the irps
received, particularly IRP_MJ_WRITE.

  1. Is it true that all writes, will be write requests
    of integer multiples of pagesize.

  2. Since at class driver level, the filesystem is not
    involved. writes to offset 0, indicate writes to the
    root sector of the partition?

  3. Filemon produced these results which contradict 1,
    and 2. Can someone explain the first 3 irps to offset
    0

12:07:01 PM explorer.exe:864 IRP_MJ_WRITE
G:\chapter5.pdf SUCCESS Offset: 0 Length: 34790

12:07:02 PM System:8 IRP_MJ_WRITE* G:\chapter5.pdf
SUCCESS Offset: 0 Length: 36864

12:07:19 PM System:8 IRP_MJ_WRITE* G:\ SUCCESS Offset:
0 Length: 4096

12:07:19 PM System:8 IRP_MJ_WRITE* G: SUCCESS Offset:
540672 Length: 4096

12:07:19 PM System:8 IRP_MJ_WRITE* G: SUCCESS Offset:
16384 Length: 4096

12:07:19 PM System:8 IRP_MJ_WRITE* G: SUCCESS Offset:
16384 Length: 4096

Rajeev



For live cricket scores download Yahoo! Score Tracker
at: http://in.sports.yahoo.com/cricket/tracker.html


You are currently subscribed to ntdev as:
xxxxx@hollistech.com To unsubscribe send a blank email to
%%email.unsub%%