Partition Info (type field)

Hi!
I have a problem with the mount requests that my
FSD is receiveing. I was wondering if someone could
explain what’s happening.
On my hard disk I have

  1. an NTFS partition (primary boot)
  2. an ext2 partition (also primary)
  3. an ext2 partition (extended)
  4. two fat32 partitions (extended)
    I am using NT 4.0 SP6. I have a fat32 driver
    loaded.
    Now, when my driver receives mount requests, I do a
    IOCTL_DISK_GET_PARTITION_INFO. For the FAT32
    partitions, the partition info gets filled up
    properly. (I am actually worried only about the
    partition type field). For the rest, I keep getting
    zeros.
    Am I doing something wrong? Can someone give me a
    clue as to what I might be doing wrong?

Thanks in advance!

Manoj

=====


Do You Yahoo!?
Everything you’ll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> Now, when my driver receives mount requests, I do a

IOCTL_DISK_GET_PARTITION_INFO.

Do not use this.
Try to load and parse your FSD’s metadata instead. If the metadata is not correct - fail the mount, NT will try other filesystems
automatically.

Max


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Max,
Can you tell me why this is so? Why doesn’t it
work?
Manoj

— “Maxim S. Shatskih”
wrote: > > Now, when my driver receives mount
requests, I
> do a
> > IOCTL_DISK_GET_PARTITION_INFO.
>
> Do not use this.
> Try to load and parse your FSD’s metadata instead.
> If the metadata is not correct - fail the mount, NT
> will try other filesystems
> automatically.
>
> Max
>
>
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

=====
-----------------------------------
Manoj Paul Joseph,
Master of Computer Applications (final year student),
School of Computer Science and Engineering,
Anna University,
Chennai (Madras),
India.

__________________________________________________
Do You Yahoo!?
Everything you’ll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Because existing NT filesystems do not rely on partition type values.

Max

----- Original Message -----
From: “Manoj Paul Joseph”
To: “File Systems Developers”
Sent: Sunday, January 20, 2002 7:42 AM
Subject: [ntfsd] Re: Partition Info (type field)

> Max,
> Can you tell me why this is so? Why doesn’t it
> work?
> Manoj
>
> — “Maxim S. Shatskih”
> wrote: > > Now, when my driver receives mount
> requests, I
> > do a
> > > IOCTL_DISK_GET_PARTITION_INFO.
> >
> > Do not use this.
> > Try to load and parse your FSD’s metadata instead.
> > If the metadata is not correct - fail the mount, NT
> > will try other filesystems
> > automatically.
> >
> > Max
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> =====
> -----------------------------------
> Manoj Paul Joseph,
> Master of Computer Applications (final year student),
> School of Computer Science and Engineering,
> Anna University,
> Chennai (Madras),
> India.
>
> __________________________________________________
> Do You Yahoo!?
> Everything you’ll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Yes, the type field is deprecated. For one thing, there hasn’t been any
real central registrar for those type fields for many years. It is
certainly not a good idea to rely on them to be unique - all it would
take is another person choosing your same type field or encountering a
piece of media with the field uninitialized (or overwritten with some
random number by the formatting utility) to screw things up.

Recognize your metadata. The type field is irrelevant.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Sunday, January 20, 2002 9:31 AM
To: File Systems Developers
Subject: [ntfsd] Re: Partition Info (type field)

Because existing NT filesystems do not rely on partition type values.

Max

----- Original Message -----
From: “Manoj Paul Joseph”
To: “File Systems Developers”
Sent: Sunday, January 20, 2002 7:42 AM
Subject: [ntfsd] Re: Partition Info (type field)

> Max,
> Can you tell me why this is so? Why doesn’t it
> work?
> Manoj
>
> — “Maxim S. Shatskih”
> wrote: > > Now, when my driver receives mount
> requests, I
> > do a
> > > IOCTL_DISK_GET_PARTITION_INFO.
> >
> > Do not use this.
> > Try to load and parse your FSD’s metadata instead.
> > If the metadata is not correct - fail the mount, NT
> > will try other filesystems
> > automatically.
> >
> > Max
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> =====
> -----------------------------------
> Manoj Paul Joseph,
> Master of Computer Applications (final year student),
> School of Computer Science and Engineering,
> Anna University,
> Chennai (Madras),
> India.
>
> __________________________________________________
> Do You Yahoo!?
> Everything you’ll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

One more reason: the dynamic disk management software (LDM) in Win2K &
above uses
the partition type for it’s own volume management purposes & writes its
own value. You’ll never be able convert your disks to dynamic if you use
the type field…

This posting is provided “AS IS” with no warranties, and confers no
rights. You assume all risk for your use

-----Original Message-----
From: Daniel Lovinger
Sent: Sunday, January 20, 2002 7:14 PM
To: File Systems Developers
Subject: [ntfsd] Re: Partition Info (type field)

Yes, the type field is deprecated. For one thing, there hasn’t been any
real central registrar for those type fields for many years. It is
certainly not a good idea to rely on them to be unique - all it would
take is another person choosing your same type field or encountering a
piece of media with the field uninitialized (or overwritten with some
random number by the formatting utility) to screw things up.

Recognize your metadata. The type field is irrelevant.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Sunday, January 20, 2002 9:31 AM
To: File Systems Developers
Subject: [ntfsd] Re: Partition Info (type field)

Because existing NT filesystems do not rely on partition type values.

Max

----- Original Message -----
From: “Manoj Paul Joseph”
To: “File Systems Developers”
Sent: Sunday, January 20, 2002 7:42 AM
Subject: [ntfsd] Re: Partition Info (type field)

> Max,
> Can you tell me why this is so? Why doesn’t it
> work?
> Manoj
>
> — “Maxim S. Shatskih”
> wrote: > > Now, when my driver receives mount
> requests, I
> > do a
> > > IOCTL_DISK_GET_PARTITION_INFO.
> >
> > Do not use this.
> > Try to load and parse your FSD’s metadata instead.
> > If the metadata is not correct - fail the mount, NT
> > will try other filesystems
> > automatically.
> >
> > Max
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as:
> > xxxxx@yahoo.com To unsubscribe send a blank email to
> leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> =====
> -----------------------------------
> Manoj Paul Joseph,
> Master of Computer Applications (final year student),
> School of Computer Science and Engineering,
> Anna University,
> Chennai (Madras),
> India.
>
> __________________________________________________
> Do You Yahoo!?
> Everything you’ll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Am I wrong that DmIo uses another partition table format, not the good old DOS one?

Max

----- Original Message -----
From: “Ravisankar Pudipeddi”
To: “File Systems Developers”
Sent: Tuesday, January 22, 2002 4:59 AM
Subject: [ntfsd] Re: Partition Info (type field)

One more reason: the dynamic disk management software (LDM) in Win2K &
above uses
the partition type for it’s own volume management purposes & writes its
own value. You’ll never be able convert your disks to dynamic if you use
the type field…

-
This posting is provided “AS IS” with no warranties, and confers no
rights. You assume all risk for your use

-----Original Message-----
From: Daniel Lovinger
Sent: Sunday, January 20, 2002 7:14 PM
To: File Systems Developers
Subject: [ntfsd] Re: Partition Info (type field)

Yes, the type field is deprecated. For one thing, there hasn’t been any
real central registrar for those type fields for many years. It is
certainly not a good idea to rely on them to be unique - all it would
take is another person choosing your same type field or encountering a
piece of media with the field uninitialized (or overwritten with some
random number by the formatting utility) to screw things up.

Recognize your metadata. The type field is irrelevant.

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Sunday, January 20, 2002 9:31 AM
To: File Systems Developers
Subject: [ntfsd] Re: Partition Info (type field)

Because existing NT filesystems do not rely on partition type values.

Max

----- Original Message -----
From: “Manoj Paul Joseph”
To: “File Systems Developers”
Sent: Sunday, January 20, 2002 7:42 AM
Subject: [ntfsd] Re: Partition Info (type field)

> Max,
> Can you tell me why this is so? Why doesn’t it
> work?
> Manoj
>
> — “Maxim S. Shatskih”
> wrote: > > Now, when my driver receives mount
> requests, I
> > do a
> > > IOCTL_DISK_GET_PARTITION_INFO.
> >
> > Do not use this.
> > Try to load and parse your FSD’s metadata instead.
> > If the metadata is not correct - fail the mount, NT
> > will try other filesystems
> > automatically.
> >
> > Max
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as:
> > xxxxx@yahoo.com To unsubscribe send a blank email to
> leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> =====
> -----------------------------------
> Manoj Paul Joseph,
> Master of Computer Applications (final year student),
> School of Computer Science and Engineering,
> Anna University,
> Chennai (Madras),
> India.
>
> __________________________________________________
> Do You Yahoo!?
> Everything you’ll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com