Hi Pavel!
Is there any way of knowing if the device object is
representing the entire disk or just a partition.
I know I could try checking the MBR and subsequent
fields. But is there a better way?
I need to know this because my file system is not
‘recoganised’ by NT. I have to force a mount by
setting up a DosDevice Registry entry.
Now, if I could recoganise the mount request for
the entire disk, I could read the partition table and
set up the entries on the fly. I think that would be
much better than attempting to check out all the
drives at load time.
Could you or someone else respond to this?
Thanks in advance!
Manoj
— Pavel Hrdina wrote: > You
have to rejet the call for the entire disk
> because the format of MBR and subsequent fields
> should not be proper for your file system in any
> case. This is what every standard FSD does in mount;
> check the on-disk structure and if it is not the
> expected one fail the call with
> STATUS_UNRECOGNIZED_VOLUME.
>
> Hope this helps.
> Paul
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of
> xxxxx@pinnaclesys.com
> Sent: Thursday, December 20, 2001 2:44 PM
> To: File Systems Developers
> Subject: [ntfsd] Question about Mounting Procedure
>
>
> I have a file system that I am running on a system
> in which the file system
> is mounted on a single disk. That disk is
> partitioned with a single
> partition occupying the entire disk.
>
> I have observed that the IRP_MN_MOUNT_VOLUME IOCTL
> of my File system is
> being called twice. Once with the device object for
> the partition and a
> second time with the device object for the entire
> disk. Is there a reason
> for this second IRP_MN_MOUNT_VOLUME call? Is there
> anything in particluar
> that I am supposed to do with it?
>
> Thanks,
>
> Don
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@compelson.com
> To unsubscribe send a blank email to
> %%email.unsub%%
>
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> %%email.unsub%%
>
=====
-----------------------------------
Manoj Paul Joseph,
Master of Computer Applications (final year student),
School of Computer Science and Engineering,
Anna University,
Chennai (Madras),
India.
________________________________________________________________________
Looking for a job? Visit Yahoo! India Careers
Visit http://in.careers.yahoo.com
partition 0 represents complete disk.
-----Original Message-----
From: Manoj Paul Joseph [mailto:xxxxx@yahoo.com]
Sent: Friday, March 01, 2002 9:24 PM
To: File Systems Developers
Subject: [ntfsd] RE: Question about Mounting Procedure
Hi Pavel!
Is there any way of knowing if the device object is
representing the entire disk or just a partition.
I know I could try checking the MBR and subsequent
fields. But is there a better way?
I need to know this because my file system is not
‘recoganised’ by NT. I have to force a mount by
setting up a DosDevice Registry entry.
Now, if I could recoganise the mount request for
the entire disk, I could read the partition table and
set up the entries on the fly. I think that would be
much better than attempting to check out all the
drives at load time.
Could you or someone else respond to this?
Thanks in advance!
Manoj
— Pavel Hrdina wrote: > You
have to rejet the call for the entire disk
> because the format of MBR and subsequent fields
> should not be proper for your file system in any
> case. This is what every standard FSD does in mount;
> check the on-disk structure and if it is not the
> expected one fail the call with
> STATUS_UNRECOGNIZED_VOLUME.
>
> Hope this helps.
> Paul
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of
> xxxxx@pinnaclesys.com
> Sent: Thursday, December 20, 2001 2:44 PM
> To: File Systems Developers
> Subject: [ntfsd] Question about Mounting Procedure
>
>
> I have a file system that I am running on a system
> in which the file system
> is mounted on a single disk. That disk is
> partitioned with a single
> partition occupying the entire disk.
>
> I have observed that the IRP_MN_MOUNT_VOLUME IOCTL
> of my File system is
> being called twice. Once with the device object for
> the partition and a
> second time with the device object for the entire
> disk. Is there a reason
> for this second IRP_MN_MOUNT_VOLUME call? Is there
> anything in particluar
> that I am supposed to do with it?
>
> Thanks,
>
> Don
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@compelson.com
> To unsubscribe send a blank email to
> %%email.unsub%%
>
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> %%email.unsub%%
>
=====
-----------------------------------
Manoj Paul Joseph,
Master of Computer Applications (final year student),
School of Computer Science and Engineering,
Anna University,
Chennai (Madras),
India.
________________________________________________________________________
Looking for a job? Visit Yahoo! India Careers
Visit http://in.careers.yahoo.com
—
You are currently subscribed to ntfsd as: xxxxx@Legato.COM
To unsubscribe send a blank email to %%email.unsub%%
Hi Pashupati,
Sorry if my question is too dumb. How do I know if
it is partition 0? Do a IOCTL_DISK_GET_PARTITION_INFO
or something?
Manoj
— Pashupati Kumar wrote: >
>
> partition 0 represents complete disk.
>
>
> -----Original Message-----
> From: Manoj Paul Joseph
> [mailto:xxxxx@yahoo.com]
> Sent: Friday, March 01, 2002 9:24 PM
> To: File Systems Developers
> Subject: [ntfsd] RE: Question about Mounting
> Procedure
>
>
> Hi Pavel!
> Is there any way of knowing if the device object
> is
> representing the entire disk or just a partition.
> I know I could try checking the MBR and
> subsequent
> fields. But is there a better way?
> I need to know this because my file system is not
> ‘recoganised’ by NT. I have to force a mount by
> setting up a DosDevice Registry entry.
> Now, if I could recoganise the mount request for
> the entire disk, I could read the partition table
> and
> set up the entries on the fly. I think that would be
> much better than attempting to check out all the
> drives at load time.
> Could you or someone else respond to this?
> Thanks in advance!
> Manoj
>
>
> — Pavel Hrdina wrote: > You
> have to rejet the call for the entire disk
> > because the format of MBR and subsequent fields
> > should not be proper for your file system in any
> > case. This is what every standard FSD does in
> mount;
> > check the on-disk structure and if it is not the
> > expected one fail the call with
> > STATUS_UNRECOGNIZED_VOLUME.
> >
> > Hope this helps.
> > Paul
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com]On Behalf
> Of
> > xxxxx@pinnaclesys.com
> > Sent: Thursday, December 20, 2001 2:44 PM
> > To: File Systems Developers
> > Subject: [ntfsd] Question about Mounting Procedure
> >
> >
> > I have a file system that I am running on a system
> > in which the file system
> > is mounted on a single disk. That disk is
> > partitioned with a single
> > partition occupying the entire disk.
> >
> > I have observed that the IRP_MN_MOUNT_VOLUME IOCTL
> > of my File system is
> > being called twice. Once with the device object
> for
> > the partition and a
> > second time with the device object for the entire
> > disk. Is there a reason
> > for this second IRP_MN_MOUNT_VOLUME call? Is there
> > anything in particluar
> > that I am supposed to do with it?
> >
> > Thanks,
> >
> > Don
> >
> > —
> > You are currently subscribed to ntfsd as:
> > xxxxx@compelson.com
> > To unsubscribe send a blank email to
> > %%email.unsub%%
> >
> >
> > —
> > You are currently subscribed to ntfsd as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> > %%email.unsub%%
> >
>
> =====
> -----------------------------------
> Manoj Paul Joseph,
> Master of Computer Applications (final year
> student),
> School of Computer Science and Engineering,
> Anna University,
> Chennai (Madras),
> India.
>
>
> Looking for a job? Visit Yahoo! India Careers
> Visit http://in.careers.yahoo.com
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@Legato.COM
> To unsubscribe send a blank email to %%email.unsub%%
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
%%email.unsub%%
=====
-----------------------------------
Manoj Paul Joseph,
Master of Computer Applications (final year student),
School of Computer Science and Engineering,
Anna University,
Chennai (Madras),
India.
Looking for a job? Visit Yahoo! India Careers
Visit http://in.careers.yahoo.com
yeah you need to build to ioctl and get this info.
-----Original Message-----
From: Manoj Paul Joseph [mailto:xxxxx@yahoo.com]
Sent: Friday, March 01, 2002 9:39 PM
To: File Systems Developers
Subject: [ntfsd] RE: Question about Mounting Procedure
Hi Pashupati,
Sorry if my question is too dumb. How do I know if
it is partition 0? Do a IOCTL_DISK_GET_PARTITION_INFO
or something?
Manoj
— Pashupati Kumar wrote: >
>
> partition 0 represents complete disk.
>
>
> -----Original Message-----
> From: Manoj Paul Joseph
> [mailto:xxxxx@yahoo.com]
> Sent: Friday, March 01, 2002 9:24 PM
> To: File Systems Developers
> Subject: [ntfsd] RE: Question about Mounting
> Procedure
>
>
> Hi Pavel!
> Is there any way of knowing if the device object
> is
> representing the entire disk or just a partition.
> I know I could try checking the MBR and
> subsequent
> fields. But is there a better way?
> I need to know this because my file system is not
> ‘recoganised’ by NT. I have to force a mount by
> setting up a DosDevice Registry entry.
> Now, if I could recoganise the mount request for
> the entire disk, I could read the partition table
> and
> set up the entries on the fly. I think that would be
> much better than attempting to check out all the
> drives at load time.
> Could you or someone else respond to this?
> Thanks in advance!
> Manoj
>
>
> — Pavel Hrdina wrote: > You
> have to rejet the call for the entire disk
> > because the format of MBR and subsequent fields
> > should not be proper for your file system in any
> > case. This is what every standard FSD does in
> mount;
> > check the on-disk structure and if it is not the
> > expected one fail the call with
> > STATUS_UNRECOGNIZED_VOLUME.
> >
> > Hope this helps.
> > Paul
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com]On Behalf
> Of
> > xxxxx@pinnaclesys.com
> > Sent: Thursday, December 20, 2001 2:44 PM
> > To: File Systems Developers
> > Subject: [ntfsd] Question about Mounting Procedure
> >
> >
> > I have a file system that I am running on a system
> > in which the file system
> > is mounted on a single disk. That disk is
> > partitioned with a single
> > partition occupying the entire disk.
> >
> > I have observed that the IRP_MN_MOUNT_VOLUME IOCTL
> > of my File system is
> > being called twice. Once with the device object
> for
> > the partition and a
> > second time with the device object for the entire
> > disk. Is there a reason
> > for this second IRP_MN_MOUNT_VOLUME call? Is there
> > anything in particluar
> > that I am supposed to do with it?
> >
> > Thanks,
> >
> > Don
> >
> > —
> > You are currently subscribed to ntfsd as:
> > xxxxx@compelson.com
> > To unsubscribe send a blank email to
> > %%email.unsub%%
> >
> >
> > —
> > You are currently subscribed to ntfsd as:
> > xxxxx@yahoo.com
> > To unsubscribe send a blank email to
> > %%email.unsub%%
> >
>
> =====
> -----------------------------------
> Manoj Paul Joseph,
> Master of Computer Applications (final year
> student),
> School of Computer Science and Engineering,
> Anna University,
> Chennai (Madras),
> India.
>
>
> Looking for a job? Visit Yahoo! India Careers
> Visit http://in.careers.yahoo.com
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@Legato.COM
> To unsubscribe send a blank email to %%email.unsub%%
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
%%email.unsub%%
=====
-----------------------------------
Manoj Paul Joseph,
Master of Computer Applications (final year student),
School of Computer Science and Engineering,
Anna University,
Chennai (Madras),
India.
Looking for a job? Visit Yahoo! India Careers
Visit http://in.careers.yahoo.com
—
You are currently subscribed to ntfsd as: xxxxx@Legato.COM
To unsubscribe send a blank email to %%email.unsub%%
> I need to know this because my file system is not
‘recoganised’ by NT. I have to force a mount by
setting up a DosDevice Registry entry.
Do the IoRegisterFileSystem thing.
Max
Hi Max,
Either I don’t understand your solution or you don’t
understand my problem. 
Let me restate my problem.
I am doing an Ext2 FSD. NT will not send my FSD mount
requests for EXT2 partitions. It does not recoganise
ext2 partitions. The mount requests will be for the
whole disk (partition 0).
So I have to create DOSDevice entries (before boot)
to force a mount request.
I do register my FSD - IoRegisterFileSystem.
I don’t see how an IoRegisterFileSystem thing can
help.
If it can, please tell me how.
Regards,
Manoj
— “Maxim S. Shatskih”
wrote: > > I need to know this because my file
system is
> not
> > ‘recoganised’ by NT. I have to force a mount by
> > setting up a DosDevice Registry entry.
>
> Do the IoRegisterFileSystem thing.
>
> Max
>
>
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
%%email.unsub%%
=====
-----------------------------------
Manoj Paul Joseph,
Master of Computer Applications (final year student),
School of Computer Science and Engineering,
Anna University,
Chennai (Madras),
India.
________________________________________________________________________
Looking for a job? Visit Yahoo! India Careers
Visit http://in.careers.yahoo.com
> I do register my FSD - IoRegisterFileSystem.
I don’t see how an IoRegisterFileSystem thing can
Then do you see any mount IRPs sent to the device you have specified in IoRegisterFileSystem?
It must be so.
Max
Max,
My FSD does see mount IRPs sent to the device (FILE_DEVICE_DISK_FILE_SYSTEM) specified in IoRegisterFileSystem. The problem is, if there are no DOSDevice entries for the Ext2 partitions, there are no mount request for those partitions.
The FSD does gets mount requests for
-
Partition 0 - the whole disk
-
Othere ‘recognised’ partitions (FAT 32)
Don’t you see?
Manoj
— “Maxim S. Shatskih” wrote: > > I do register my FSD - IoRegisterFileSystem.
> > I don’t see how an IoRegisterFileSystem thing can
>
> Then do you see any mount IRPs sent to the device
> you have specified in IoRegisterFileSystem?
> It must be so.
>
> Max
>
>
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to %%email.unsub%%
-----------------------------------
Manoj Paul Joseph,
Master of Computer Applications (final year student),
School of Computer Science and Engineering,
Anna University,
Chennai (Madras),
India.
---------------------------------
Download Yahoo! Messenger, with Webcam facility