RE: Can drive device name get changed between reboot -?

Thanks, this is exactly the information that I need !

Jack Cheng

----- Original Message -----
From: “COX,DAVID (HP-Roseville,ex1)” <david_cox2>
To: “File Systems Developers”
Sent: Friday, March 17, 2000 7:08 PM
Subject: [ntfsd] RE: Can drive device name get changed between reboot ?

> Yes that article seems to be describing the same signature. But it looks
> like you don’t want to try to use that snippet of DOS code. I would use
> IOCTL_DISK_GET_PARTITION_INFO to get the starting offset and length of the
> volume you’re concerned with; then IOCTL_DISK_GET_DRIVE_LAYOUT to get the
> signature of the disk itself.
>
> The signature, plus partition offset and partition length should uniquely
> identify the partition. Note you shouldn’t use the partition number
> because this is just the relative position of the partition on disk, and
> repartitioning the disk can create a new, different partition with the
> same number.
>
> -----------------------------------------------------------------------
> Dave Cox
> Hewlett-Packard Co.
> HPSO/SSMO (Santa Barbara)
> https://ecardfile.com/id/Dave+Cox
>
>
> -----Original Message-----
> From: xxxxx@erinet.com [mailto:xxxxx@erinet.com]
> Sent: Friday, March 17, 2000 11:42 AM
> To: File Systems Developers
> Subject: [ntfsd] RE: Can drive device name get changed between reboot ?
>
>
> Thanks for the information ! Now I am planning to use Volume Serial number
> as described in Q69223 that maybe is what you described as partition
> signature or should achieve the same affect I want.
>
> Anyway, if the above does not work, please let me know !
>
> Jack Cheng
> (Curriculum Corp.)
>
> On Fri, 17 Mar 2000, COX,DAVID (HP-Roseville,ex1) wrote:
>
> > It can change. Consider the case of storage area networks, in which
> > there can be many disks on the network, not all of which are intended
> > for use by any one computer. SAN storage allocation managers may
> > assign and unassign disks to your computer, which can result in one
> > disk appearing in a different HarddiskN directory at different times,
> > without any physical recabling.
> >
> > Similarly, cabling changes outside of your computer can cause the
> > same set of disks to be discovered in a different order, causing changes
> > in the harddisk number.
> >
> > Why not use the partition signature as the unique identifier?
> >
> > -----------------------------------------------------------------------
> > Dave Cox
> > Hewlett-Packard Co.
> > HPSO/SSMO (Santa Barbara)
> > https://ecardfile.com/id/Dave+Cox
> >
> >
> > -----Original Message-----
> > From: xxxxx@curriculum.com [mailto:xxxxx@curriculum.com]
> > Sent: Monday, March 13, 2000 4:21 AM
> > To: File Systems Developers
> > Subject: [ntfsd] Can drive device name get changed between reboot ?
> >
> >
> > Hi all,
> >
> > I plan to use device name like /Device/Harddisk0/Partition1 to uniquely
> > identify files on that drive.
> >
> > Without reformating or switching cables, can that device name get
changed?
> >
> > I don’t think it can, however someone told me otherwise.
> >
> > Thanks,
> >
> > Jack Cheng
> >
> > —
> > You are currently subscribed to ntfsd as: david_cox2@hp.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@erinet.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
> >
>
>
> —
> You are currently subscribed to ntfsd as: david_cox2@hp.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
> —
> You are currently subscribed to ntfsd as: xxxxx@erinet.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
></david_cox2>