RE: Assigning Drive Letter/Symbolic Link in User Mode [Re-visited!]

apparently the symbolic links to devices in Win2k correspond to actual
devices in WinNT.
so \devices\harddisk#\partition# under Win2k is a symbolic link and
\Device\HarddiskVolumeN is
the actual device.

–RB
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of BALAN
Sent: Saturday, August 26, 2000 9:14 PM
To: File Systems Developers
Cc: ‘xxxxx@fmr.com’
Subject: [ntfsd] Assigning Drive Letter/Symbolic Link in User Mode
[Re-visited!]

Hi All,

Platform NT\Win2k:

We are trying to partition a Hard Disk and format it . For
FAT12\16\32 …the On disk structure White Paper from MS was used to do the
formatting. For NTFS there is no such info available. Do you have any?

So we are hoping to rely on the Un-documented …FormatEx
function in fmifs.dll. {For more info on this chk out
www.syteminternals.com}. This requires to have a drive letter. of the form
G:
How can we assign such a DL to a newly created partition in Win2k? For NT,
we can use the DefineDosDevice to give a symbolic name ie
\Device\HarddiskM\PartitionN to the new Drive letter G:\ and use the G: in
the FormatEx .

But in Win2k the symbolic names are in the form \Device\HarddiskVolumeN. …

or
can i still use the NT style sym names ???

Pls share ur thoughts …
Thanks
balan

> ----- 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


“Not everything that counts can be counted;
and not everything that can be counted counts”
… Albert Einstein


You are currently subscribed to ntfsd as: xxxxx@softhome.net
To unsubscribe send a blank email to $subst(‘Email.Unsub’)</mailto:xxxxx></mailto:xxxxx>