Hello Everyone,
I am creating a partition in User Mode on Windows 2000. This works fine.
I am now looking into assigning a Drive Letter/creating a Symbolic Link to
the partition. I can get this to work using DefineDosDevice(), but I was
under the impression that under Windows 2000 SetVolumeMountPoint() should be
used. With DefineDosDevice, I can use \Device\Harddisk0\Partition2 for the
mount point. Using SetVolumeMountPoint() this does not work. Does anyone
have any ideas? Is there some translation I need to use in order to have
SetVolumeMountPoint() access the RAW Partition?
Thanks,
Mark
SetVolumeMountPoint() requires VolumeName of
the form \?\Volume[GUID]
this sample uses DefineDosDevice & GetVolumeNameFromVolumeMountPoint to get
the Volume Name
http://msdn.microsoft.com/library/psdk/winbase/fsys_6j8z.htm
Don’t know if there is another way too to get that translation.
anybody ??
yogita
----- Original Message -----
From: “Buschle, Mark”
To: “File Systems Developers”
Sent: Tuesday, August 08, 2000 12:18 PM
Subject: [ntfsd] Assigning Drive Letter/Symbolic Link in User Mode
> Hello Everyone,
>
> I am creating a partition in User Mode on Windows 2000. This works
fine.
> I am now looking into assigning a Drive Letter/creating a Symbolic Link to
> the partition. I can get this to work using DefineDosDevice(), but I was
> under the impression that under Windows 2000 SetVolumeMountPoint() should
be
> used. With DefineDosDevice, I can use \Device\Harddisk0\Partition2 for
the
> mount point. Using SetVolumeMountPoint() this does not work. Does anyone
> have any ideas? Is there some translation I need to use in order to have
> SetVolumeMountPoint() access the RAW Partition?
>
>
>
> Thanks,
> Mark
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@legato.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
Hi.
You can use FindFirstVolume, FindNextVolume and FindVolumeClose
to walk through the list of volumes.
Thanks.
Surojit
Yogita Bijani wrote:
SetVolumeMountPoint() requires VolumeName of
the form \?\Volume[GUID]
this sample uses DefineDosDevice & GetVolumeNameFromVolumeMountPoint to get
the Volume Name
http://msdn.microsoft.com/library/psdk/winbase/fsys_6j8z.htm
Don’t know if there is another way too to get that translation.
anybody ??
yogita
----- Original Message -----
From: “Buschle, Mark”
> To: “File Systems Developers”
> Sent: Tuesday, August 08, 2000 12:18 PM
> Subject: [ntfsd] Assigning Drive Letter/Symbolic Link in User Mode
>
> > Hello Everyone,
> >
> > I am creating a partition in User Mode on Windows 2000. This works
> fine.
> > I am now looking into assigning a Drive Letter/creating a Symbolic Link to
> > the partition. I can get this to work using DefineDosDevice(), but I was
> > under the impression that under Windows 2000 SetVolumeMountPoint() should
> be
> > used. With DefineDosDevice, I can use \Device\Harddisk0\Partition2 for
> the
> > mount point. Using SetVolumeMountPoint() this does not work. Does anyone
> > have any ideas? Is there some translation I need to use in order to have
> > SetVolumeMountPoint() access the RAW Partition?
> >
> >
> >
> > Thanks,
> > Mark
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@legato.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
>
> —
> You are currently subscribed to ntfsd as: xxxxx@oracle.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
FindFirstVolume etc return the list of Volume Names, is there a way
to get the translation from HardDiskxPartitiony to Volume Name or the
othe way round ?
yogita
----- Original Message -----
From: “Surojit Chatterjee”
To: “File Systems Developers”
Sent: Tuesday, August 08, 2000 3:58 PM
Subject: [ntfsd] Re: Assigning Drive Letter/Symbolic Link in User Mode
> Hi.
> You can use FindFirstVolume, FindNextVolume and FindVolumeClose
> to walk through the list of volumes.
> Thanks.
> Surojit
>
> Yogita Bijani wrote:
>
> > SetVolumeMountPoint() requires VolumeName of
> > the form \?\Volume[GUID]
> >
> > this sample uses DefineDosDevice & GetVolumeNameFromVolumeMountPoint to get
> > the Volume Name
> > http://msdn.microsoft.com/library/psdk/winbase/fsys_6j8z.htm
> >
> > Don’t know if there is another way too to get that translation.
> > anybody ??
> >
> > yogita
> > ----- Original Message -----
> > From: “Buschle, Mark”
> > To: “File Systems Developers”
> > Sent: Tuesday, August 08, 2000 12:18 PM
> > Subject: [ntfsd] Assigning Drive Letter/Symbolic Link in User Mode
> >
> > > Hello Everyone,
> > >
> > > I am creating a partition in User Mode on Windows 2000. This works
> > fine.
> > > I am now looking into assigning a Drive Letter/creating a Symbolic Link to
> > > the partition. I can get this to work using DefineDosDevice(), but I was
> > > under the impression that under Windows 2000 SetVolumeMountPoint() should
> > be
> > > used. With DefineDosDevice, I can use \Device\Harddisk0\Partition2 for
> > the
> > > mount point. Using SetVolumeMountPoint() this does not work. Does anyone
> > > have any ideas? Is there some translation I need to use in order to have
> > > SetVolumeMountPoint() access the RAW Partition?
> > >
> > >
> > >
> > > Thanks,
> > > Mark
> > >
> > >
> > > —
> > > You are currently subscribed to ntfsd as: xxxxx@legato.com
> > > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> > >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@oracle.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
Yogita,
you could browse the object name space. “Volume{bf3…}” e.g. is a link
to the volume device “\Device\HarddiskVolume2”
Frank
-----Original Message-----
From: Yogita Bijani [mailto:xxxxx@legato.com]
Sent: Donnerstag, 10. August 2000 02:22
To: File Systems Developers
Subject: [ntfsd] Re: Assigning Drive Letter/Symbolic Link in User Mode
FindFirstVolume etc return the list of Volume Names, is there a way
to get the translation from HardDiskxPartitiony to Volume Name or the
othe way round ?
yogita
----- Original Message -----
From: “Surojit Chatterjee” < mailto:xxxxx
xxxxx@oracle.com>
To: “File Systems Developers” < mailto:xxxxx
xxxxx@lists.osr.com>
Sent: Tuesday, August 08, 2000 3:58 PM
Subject: [ntfsd] Re: Assigning Drive Letter/Symbolic Link in User Mode
> Hi.
> You can use FindFirstVolume, FindNextVolume and FindVolumeClose
> to walk through the list of volumes.
> Thanks.
> Surojit
>
> Yogita Bijani wrote:
>
> > SetVolumeMountPoint() requires VolumeName of
> > the form <file:> \?\Volume[GUID]
> >
> > this sample uses DefineDosDevice & GetVolumeNameFromVolumeMountPoint to
get
> > the Volume Name
> > http:
http://msdn.microsoft.com/library/psdk/winbase/fsys_6j8z.htm
> >
> > Don’t know if there is another way too to get that translation.
> > anybody ??
> >
> > yogita
> > ----- Original Message -----
> > From: “Buschle, Mark” < mailto:xxxxx
xxxxx@fmr.com>
> > To: “File Systems Developers” < mailto:xxxxx
xxxxx@lists.osr.com>
> > Sent: Tuesday, August 08, 2000 12:18 PM
> > Subject: [ntfsd] Assigning Drive Letter/Symbolic Link in User Mode
> >
> > > Hello Everyone,
> > >
> > > I am creating a partition in User Mode on Windows 2000. This works
> > fine.
> > > I am now looking into assigning a Drive Letter/creating a Symbolic
Link to
> > > the partition. I can get this to work using DefineDosDevice(), but I
was
> > > under the impression that under Windows 2000 SetVolumeMountPoint()
should
> > be
> > > used. With DefineDosDevice, I can use \Device\Harddisk0\Partition2
for
> > the
> > > mount point. Using SetVolumeMountPoint() this does not work. Does
anyone
> > > have any ideas? Is there some translation I need to use in order to
have
> > > SetVolumeMountPoint() access the RAW Partition?
> > >
> > >
> > >
> > > Thanks,
> > > Mark
> > >
> > >
> > > —
> > > You are currently subscribed to ntfsd as: mailto:xxxxx
xxxxx@legato.com
> > > To unsubscribe send a blank email to
mailto: $subst(‘Email.Unsub’)
> > >
> >
> > —
> > You are currently subscribed to ntfsd as:
mailto:xxxxx xxxxx@oracle.com
> > To unsubscribe send a blank email to
mailto: $subst(‘Email.Unsub’)
></mailto:></mailto:xxxxx></mailto:></mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></http:></file:></mailto:xxxxx></mailto:xxxxx>