I am interested in using IOCTL_MOUNTMGR_CREATE_POINT to mount a volume.
However the documentation I can find only shows how to mount the volume as
a drive letter. I would like to know how to mount the volume as a
directory in an existing NTFS volume.
Much thanks in advance for any ideas.
Thanks,
Don
To mount the volume as a directory, you need to use reparse points.
There is no kernel-mode interface for this. You need to disassemble the
MountPoint APIs in user-mode and reconstruct what they do in
kernel-mode.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@pinnaclesys.com
Sent: Wednesday, May 07, 2003 10:24 AM
To: File Systems Developers
Subject: [ntfsd] How to use IOCTL_MOUNTMGR_CREATE_POINT
without a drive letter
I am interested in using IOCTL_MOUNTMGR_CREATE_POINT to mount
a volume. However the documentation I can find only shows how
to mount the volume as a drive letter. I would like to know
how to mount the volume as a directory in an existing NTFS volume.
Much thanks in advance for any ideas.
Thanks,
Don
You are currently subscribed to ntfsd as: xxxxx@nryan.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
At least the volume must have a GUID name in the MountMgr, then the
reparse point is created by sending some NTFS’s FSCTL (and IIRC
without the aid of MountMgr) with this GUID as one of the parameters.
Reparse itself is done in NTFS by rejecting CREATE IRP to a reparse
point with proper filename and IoStatus content.
Max
----- Original Message -----
From: “Nicholas Ryan”
To: “File Systems Developers”
Sent: Wednesday, May 07, 2003 10:25 PM
Subject: [ntfsd] RE: How to use IOCTL_MOUNTMGR_CREATE_POINT without a
drive letter
> To mount the volume as a directory, you need to use reparse points.
> There is no kernel-mode interface for this. You need to disassemble
the
> MountPoint APIs in user-mode and reconstruct what they do in
> kernel-mode.
>
> - Nick Ryan
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of
> > xxxxx@pinnaclesys.com
> > Sent: Wednesday, May 07, 2003 10:24 AM
> > To: File Systems Developers
> > Subject: [ntfsd] How to use IOCTL_MOUNTMGR_CREATE_POINT
> > without a drive letter
> >
> >
> > I am interested in using IOCTL_MOUNTMGR_CREATE_POINT to mount
> > a volume. However the documentation I can find only shows how
> > to mount the volume as a drive letter. I would like to know
> > how to mount the volume as a directory in an existing NTFS volume.
> >
> > Much thanks in advance for any ideas.
> >
> > Thanks,
> >
> > Don
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@nryan.com
> > To unsubscribe send a blank email to
xxxxx@lists.osr.com
> >
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
If I could figure out how to give my volume a GUID name, then I could
mount it in user mode. However, my volume is virtual, hence it has no PDO.
The call IoRegisterDeviceInterface requires a PDO. Thus, I am having a
hard time figuring out how to give the volume a GUID name.
Any suggestions??
Thanks,
Don
At least the volume must have a GUID name in the MountMgr, then the
reparse point is created by sending some NTFS’s FSCTL (and IIRC
without the aid of MountMgr) with this GUID as one of the parameters.
Reparse itself is done in NTFS by rejecting CREATE IRP to a reparse
point with proper filename and IoStatus content.
Max
----- Original Message -----
From: “Nicholas Ryan”
> To: “File Systems Developers”
> Sent: Wednesday, May 07, 2003 10:25 PM
> Subject: [ntfsd] RE: How to use IOCTL_MOUNTMGR_CREATE_POINT without a
> drive letter
>
>
> > To mount the volume as a directory, you need to use reparse points.
> > There is no kernel-mode interface for this. You need to disassemble
> the
> > MountPoint APIs in user-mode and reconstruct what they do in
> > kernel-mode.
> >
> > - Nick Ryan
> >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com] On Behalf Of
> > > xxxxx@pinnaclesys.com
> > > Sent: Wednesday, May 07, 2003 10:24 AM
> > > To: File Systems Developers
> > > Subject: [ntfsd] How to use IOCTL_MOUNTMGR_CREATE_POINT
> > > without a drive letter
> > >
> > >
> > > I am interested in using IOCTL_MOUNTMGR_CREATE_POINT to mount
> > > a volume. However the documentation I can find only shows how
> > > to mount the volume as a drive letter. I would like to know
> > > how to mount the volume as a directory in an existing NTFS volume.
> > >
> > > Much thanks in advance for any ideas.
> > >
> > > Thanks,
> > >
> > > Don
> > >
> > > —
> > > You are currently subscribed to ntfsd as: xxxxx@nryan.com
> > > To unsubscribe send a blank email to
> xxxxx@lists.osr.com
> > >
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com