How to find the volume or partition information in the lower filter driver of disk.sys

Hi, guys, I implemented a lower filter driver which
layered blow the disk.sys to do encryption/decryption.
I have 2 hard disks and I just want to encrypt one of
them. How can I differentiate these 2 disks?

Also if I just want to encrypt one of the partitions
of the disk, how can I get the volume or partition
info?

Is it possible to do that under disk.sys? The SRB
contains those info?

Thanks in advance.

Michael


Post your free ad now! http://personals.yahoo.ca

Disk signature in the partition table helps a lot.

----- Original Message -----
From: “Michael Uhz”
To: “NT Developers Interest List”
Sent: Wednesday, May 07, 2003 1:42 AM
Subject: [ntdev] How to find the volume or partition information in
the lower filter driver of disk.sys

> Hi, guys, I implemented a lower filter driver which
> layered blow the disk.sys to do encryption/decryption.
> I have 2 hard disks and I just want to encrypt one of
> them. How can I differentiate these 2 disks?
>
> Also if I just want to encrypt one of the partitions
> of the disk, how can I get the volume or partition
> info?
>
> Is it possible to do that under disk.sys? The SRB
> contains those info?
>
> Thanks in advance.
>
> Michael
>
>
>
______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com

That means I need to read the MBR? But how can I send
that kind of request below disk.sys? I mean how can I
assemble the SRB below disk.sys.

After I install my filter driver as a lower filter of
disk.sys I use the DevView utility which is released
by Walter Oney. It report that my filter is a type of
FILE_DEVICE_ACPI. It that right?

Thanks for your reply.

Michael

— “Maxim S. Shatskih”
wrote: > Disk signature in the partition table helps a
lot.
>
> ----- Original Message -----
> From: “Michael Uhz”
> To: “NT Developers Interest List”
>
> Sent: Wednesday, May 07, 2003 1:42 AM
> Subject: [ntdev] How to find the volume or partition
> information in
> the lower filter driver of disk.sys
>
>
> > Hi, guys, I implemented a lower filter driver
> which
> > layered blow the disk.sys to do
> encryption/decryption.
> > I have 2 hard disks and I just want to encrypt one
> of
> > them. How can I differentiate these 2 disks?
> >
> > Also if I just want to encrypt one of the
> partitions
> > of the disk, how can I get the volume or partition
> > info?
> >
> > Is it possible to do that under disk.sys? The SRB
> > contains those info?
> >
> > Thanks in advance.
> >
> > Michael
> >
> >
> >
>

> > Post your free ad now! http://personals.yahoo.ca
> >
> >
> > —
> > You are currently subscribed to ntdev as:
> xxxxx@storagecraft.com
> > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.ca
> To unsubscribe send a blank email to
xxxxx@lists.osr.com


Post your free ad now! http://personals.yahoo.ca

So why did you choose to be below disk.sys rather than above disk.sys?
The only on-disk-content that disk.sys reads itself is the partition
tables and you seem to be implying that you’re wanting to do
partition-level encryption.

-p

-----Original Message-----
From: Michael Zhu [mailto:xxxxx@yahoo.ca]
Sent: Tuesday, May 06, 2003 5:50 PM
To: NT Developers Interest List
Subject: [ntdev] Re: How to find the volume or partition information in
the lower filter driver of disk.sys

That means I need to read the MBR? But how can I send that kind of
request below disk.sys? I mean how can I assemble the SRB below
disk.sys.

After I install my filter driver as a lower filter of disk.sys I use the
DevView utility which is released by Walter Oney. It report that my
filter is a type of FILE_DEVICE_ACPI. It that right?

Thanks for your reply.

Michael

— “Maxim S. Shatskih”
wrote: > Disk signature in the partition table helps a lot.
>
> ----- Original Message -----
> From: “Michael Uhz”
> To: “NT Developers Interest List”
>
> Sent: Wednesday, May 07, 2003 1:42 AM
> Subject: [ntdev] How to find the volume or partition information in
> the lower filter driver of disk.sys
>
>
> > Hi, guys, I implemented a lower filter driver
> which
> > layered blow the disk.sys to do
> encryption/decryption.
> > I have 2 hard disks and I just want to encrypt one
> of
> > them. How can I differentiate these 2 disks?
> >
> > Also if I just want to encrypt one of the
> partitions
> > of the disk, how can I get the volume or partition info?
> >
> > Is it possible to do that under disk.sys? The SRB contains those
> > info?
> >
> > Thanks in advance.
> >
> > Michael
> >
> >
> >
>

> > Post your free ad now! http://personals.yahoo.ca
> >
> >
> > —
> > You are currently subscribed to ntdev as:
> xxxxx@storagecraft.com
> > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.ca
> To unsubscribe send a blank email to
xxxxx@lists.osr.com


Post your free ad now! http://personals.yahoo.ca


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

The reason why I choose lower filter is that I want to
make the encryption fully transparent not only to the
OS but also to most of the disk related third party
commercial software utility such as Norton Disk
Editor, Acronis DiskEditor etc.

Originally I implemented an upper filter for
\HarddiskVolume3. It is transparent to Windows utility
such as Windows Disk Manager. But it is not compatible
to the Acronis DiskEditor or Partition Magic. My
filter couldn’t filter the READ/WRITE requests sent
from the third party disk editors. It seems that that
kind of editors send requests directly to disk.sys. In
that way I couldn’t finish the encryption/decryption.

Thanks so much for your kindly reply.

Michael

— Peter Wieland
wrote: > So why did you choose to be below disk.sys
rather
> than above disk.sys?
> The only on-disk-content that disk.sys reads itself
> is the partition
> tables and you seem to be implying that you’re
> wanting to do
> partition-level encryption.
>
> -p
>
> -----Original Message-----
> From: Michael Zhu [mailto:xxxxx@yahoo.ca]
> Sent: Tuesday, May 06, 2003 5:50 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re: How to find the volume or
> partition information in
> the lower filter driver of disk.sys
>
> That means I need to read the MBR? But how can I
> send that kind of
> request below disk.sys? I mean how can I assemble
> the SRB below
> disk.sys.
>
> After I install my filter driver as a lower filter
> of disk.sys I use the
> DevView utility which is released by Walter Oney. It
> report that my
> filter is a type of FILE_DEVICE_ACPI. It that right?
>
> Thanks for your reply.
>
> Michael
>
> — “Maxim S. Shatskih”
> wrote: > Disk signature in the partition table helps
> a lot.
> >
> > ----- Original Message -----
> > From: “Michael Uhz”
> > To: “NT Developers Interest List”
> >
> > Sent: Wednesday, May 07, 2003 1:42 AM
> > Subject: [ntdev] How to find the volume or
> partition information in
> > the lower filter driver of disk.sys
> >
> >
> > > Hi, guys, I implemented a lower filter driver
> > which
> > > layered blow the disk.sys to do
> > encryption/decryption.
> > > I have 2 hard disks and I just want to encrypt
> one
> > of
> > > them. How can I differentiate these 2 disks?
> > >
> > > Also if I just want to encrypt one of the
> > partitions
> > > of the disk, how can I get the volume or
> partition info?
> > >
> > > Is it possible to do that under disk.sys? The
> SRB contains those
> > > info?
> > >
> > > Thanks in advance.
> > >
> > > Michael
> > >
> > >
> > >
> >
>

> > > Post your free ad now! http://personals.yahoo.ca
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as:
> > xxxxx@storagecraft.com
> > > To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@yahoo.ca
> > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
>

> Post your free ad now! http://personals.yahoo.ca
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@microsoft.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.ca
> To unsubscribe send a blank email to
xxxxx@lists.osr.com

______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca

IOCTL_DISK_GET_DRIVE_LAYOUT will help.

Max

----- Original Message -----
From: “Michael Zhu”
To: “NT Developers Interest List”
Sent: Wednesday, May 07, 2003 4:50 AM
Subject: [ntdev] Re: How to find the volume or partition information
in the lower filter driver of disk.sys

> That means I need to read the MBR? But how can I send
> that kind of request below disk.sys? I mean how can I
> assemble the SRB below disk.sys.
>
> After I install my filter driver as a lower filter of
> disk.sys I use the DevView utility which is released
> by Walter Oney. It report that my filter is a type of
> FILE_DEVICE_ACPI. It that right?
>
> Thanks for your reply.
>
> Michael
>
> — “Maxim S. Shatskih”
> wrote: > Disk signature in the partition table helps a
> lot.
> >
> > ----- Original Message -----
> > From: “Michael Uhz”
> > To: “NT Developers Interest List”
> >
> > Sent: Wednesday, May 07, 2003 1:42 AM
> > Subject: [ntdev] How to find the volume or partition
> > information in
> > the lower filter driver of disk.sys
> >
> >
> > > Hi, guys, I implemented a lower filter driver
> > which
> > > layered blow the disk.sys to do
> > encryption/decryption.
> > > I have 2 hard disks and I just want to encrypt one
> > of
> > > them. How can I differentiate these 2 disks?
> > >
> > > Also if I just want to encrypt one of the
> > partitions
> > > of the disk, how can I get the volume or partition
> > > info?
> > >
> > > Is it possible to do that under disk.sys? The SRB
> > > contains those info?
> > >
> > > Thanks in advance.
> > >
> > > Michael
> > >
> > >
> > >
> >
>

> > > Post your free ad now! http://personals.yahoo.ca
> > >
> > >
> > > —
> > > You are currently subscribed to ntdev as:
> > xxxxx@storagecraft.com
> > > To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as:
> > xxxxx@yahoo.ca
> > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
>

> Post your free ad now! http://personals.yahoo.ca
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com