Windows 2000 & disk signatures & creating drives

On windows 2000 after low level formatting a drive (by using spti) it looks
like you need to write a signature to the disk again and recreate it(give it a
drive letter), anyone know how to do this from c++? or from some other means
such as a com object.

Steve


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You don’t need to put anything on the disk after formatting. NT will
recognize that the disk is unformatted and has no signature. it will ask
you if it can create them for you.

–Mark

Mark J. Cariddi
Consulting Associate
Open Systems Resources, Inc.
http://www.osr.com/

-----Original Message-----
From: Stephen Farrell [mailto:xxxxx@tcd.ie]
Sent: Tuesday, April 03, 2001 11:40 AM
To: NT Developers Interest List
Subject: [ntdev] Windows 2000 & disk signatures & creating drives

On windows 2000 after low level formatting a drive (by using spti) it looks
like you need to write a signature to the disk again and recreate it(give it
a
drive letter), anyone know how to do this from c++? or from some other means

such as a com object.

Steve


You are currently subscribed to ntdev as: xxxxx@osr.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Try the following steps:

  1. Open the physical drive - “\\.\physicaldriveX”
  2. Get drive geometry, IOCTL_DISK_GET_DRIVE_GEOMETRY
  3. Set up the DRIVE_LAYOUT_INFORMATION structure
  4. For a unique signature, you could use GetCurrentTime()
  5. Set up the partition entries for IOCTL_DISK_SET_DRIVE_LAYOUT

Mount Manager(MountMgr.sys), assigns drive letters for Dynamic
& Basic disk volumes you create after the system has started.
The drive you have created will appear as basic disk under Disk
Management.

Niraj

-----Original Message-----
From: Stephen Farrell [mailto:xxxxx@tcd.ie]
Sent: Tuesday, April 03, 2001 8:40 AM
To: NT Developers Interest List
Subject: [ntdev] Windows 2000 & disk signatures & creating drives

On windows 2000 after low level formatting a drive (by using spti) it looks
like you need to write a signature to the disk again and recreate it(give it a
drive letter), anyone know how to do this from c++? or from some other means
such as a com object.

Steve


You are currently subscribed to ntdev as: xxxxx@netapp.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com