Don,
If you want a mount point in NTFS, you should ask NTFS to create a mount
point, not the mount manager. I know this seems confusing, but NTFS mount
points are implemented as a type of reparse point.
Thus, to create a reparse point you would use FSCTL_SET_REPARSE_POINT. Use
IO_REPARSE_TAG_MOUNT_POINT to indicate this is a mount point. The reparse
data then goes into the REPARSE_DATA_BUFFER (using the
MountPointReparseBuffer information).
We have an article from The NT Insider about reparse points as well that
provides some basic information. You can find it at:
http://www.osronline.com/article.cfm?id=203
Win32 conveniently wraps up the disparate mechanisms (reparse points for
NTFS and the mount manager) for the convenience of Win32 application.
Presumably, it also must keep track of the reparse points it makes since you
can see them in disk administrator. I suspect if you create a reparse point
directly it will not show up in disk administrator (I will admit that I have
not tried this however.)
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
-----Original Message-----
From: xxxxx@pinnaclesys.com [mailto:xxxxx@pinnaclesys.com]
Sent: Wednesday, May 07, 2003 1:24 PM
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@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com