CD-ROM serial number

Hello!

I need my driver (installed as filter driver under CDFS) identify cd-rom
disks, so i need something like “cd-rom disk serial number”. How it can be
done? Can i get this number somethere or i need compute it myself (from some
cd-rom disk content)?

Vladimir


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

use system + volume ids in the 16th sector of a data cd, or maybe the
better way is to count hash for a full toc of a cd. the second method
will work on any cds. for example cddb uses toc (not a full toc) to
identify cds.

regards,
max lyadvinsky


From: Vladimir E. Ignatov[SMTP:xxxxx@infosec.ru]
Reply To: NT Developers Interest List
Sent: 26 ÆÅ×ÒÁÌÑ 2001 Ç. 16:48
To: NT Developers Interest List
Subject: [ntdev] CD-ROM serial number

Hello!

I need my driver (installed as filter driver under CDFS) identify cd-rom

disks, so i need something like “cd-rom disk serial number”. How it can
be
done? Can i get this number somethere or i need compute it myself (from
some
cd-rom disk content)?

Vladimir


You are currently subscribed to ntdev as: xxxxx@telecom.sins.ru
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

You can also use the UPC code for the CD.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Max Lyadvinsky
Sent: Monday, February 26, 2001 6:15 AM
To: NT Developers Interest List
Subject: [ntdev] RE: CD-ROM serial number

use system + volume ids in the 16th sector of a data cd, or maybe the
better way is to count hash for a full toc of a cd. the second method
will work on any cds. for example cddb uses toc (not a full toc) to
identify cds.

regards,
max lyadvinsky


From: Vladimir E. Ignatov[SMTP:xxxxx@infosec.ru]
Reply To: NT Developers Interest List
Sent: 26 ÆÅ×ÒÁÌÑ 2001 Ç. 16:48
To: NT Developers Interest List
Subject: [ntdev] CD-ROM serial number

Hello!

I need my driver (installed as filter driver under CDFS) identify cd-rom

disks, so i need something like “cd-rom disk serial number”. How it can
be
done? Can i get this number somethere or i need compute it myself (from
some
cd-rom disk content)?

Vladimir


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


You are currently subscribed to ntdev as: xxxxx@storagecraft.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

Couldn’t the Vendor Unique Serial Number from IDENTIFY_DATA
be used to globally identify the CD-ROM device.

typedef struct _IDENTIFY_DATA {
USHORT GeneralConfiguration; // 00 00
USHORT NumCylinders; // 02 1
USHORT Reserved1; // 04 2
USHORT NumHeads; // 06 3
USHORT UnformattedBytesPerTrack; // 08 4
USHORT UnformattedBytesPerSector; // 0A 5
USHORT NumSectorsPerTrack; // 0C 6
USHORT VendorUnique1[3]; // 0E 7-9
UCHAR SerialNumber[20]; // 14 10-19

Niraj

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Monday, February 26, 2001 10:31 AM
To: NT Developers Interest List
Subject: [ntdev] RE: CD-ROM serial number

You can also use the UPC code for the CD.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Max Lyadvinsky
Sent: Monday, February 26, 2001 6:15 AM
To: NT Developers Interest List
Subject: [ntdev] RE: CD-ROM serial number

use system + volume ids in the 16th sector of a data cd, or maybe the
better way is to count hash for a full toc of a cd. the second method
will work on any cds. for example cddb uses toc (not a full toc) to
identify cds.

regards,
max lyadvinsky


From: Vladimir E. Ignatov[SMTP:xxxxx@infosec.ru]
Reply To: NT Developers Interest List
Sent: 26 ??? 2001 ?. 16:48
To: NT Developers Interest List
Subject: [ntdev] CD-ROM serial number

Hello!

I need my driver (installed as filter driver under CDFS) identify cd-rom

disks, so i need something like “cd-rom disk serial number”. How it can
be
done? Can i get this number somethere or i need compute it myself (from
some
cd-rom disk content)?

Vladimir


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


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


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

I suspect that media catalog number isn’t a wide-spread Q-mode. I’ve
checked all the CDs I have recently and could not find a CD with that
number. All the tracks had mode-1 Q-channel encoding.

Regards,
Max


From: Jamey Kirby[SMTP:xxxxx@storagecraft.com]
Reply To: NT Developers Interest List
Sent: 26 ôåâðàëÿ 2001 ã. 21:30
To: NT Developers Interest List
Subject: [ntdev] RE: CD-ROM serial number

You can also use the UPC code for the CD.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Max Lyadvinsky
Sent: Monday, February 26, 2001 6:15 AM
To: NT Developers Interest List
Subject: [ntdev] RE: CD-ROM serial number

use system + volume ids in the 16th sector of a data cd, or maybe the
better way is to count hash for a full toc of a cd. the second method
will work on any cds. for example cddb uses toc (not a full toc) to
identify cds.

regards,
max lyadvinsky


From: Vladimir E. Ignatov[SMTP:xxxxx@infosec.ru]
Reply To: NT Developers Interest List
Sent: 26 ôåâðàëÿ 2001 ã. 16:48
To: NT Developers Interest List
Subject: [ntdev] CD-ROM serial number

Hello!

I need my driver (installed as filter driver under CDFS) identify
cd-rom

disks, so i need something like “cd-rom disk serial number”. How it
can
be
done? Can i get this number somethere or i need compute it myself
(from
some
cd-rom disk content)?

Vladimir


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


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


You are currently subscribed to ntdev as: xxxxx@telecom.sins.ru
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

Sorry I misunderstood.

Niraj

-----Original Message-----
From: Jaiswal, Niraj [mailto:xxxxx@netapp.com]
Sent: Monday, February 26, 2001 11:27 AM
To: NT Developers Interest List
Subject: [ntdev] RE: CD-ROM serial number

Couldn’t the Vendor Unique Serial Number from IDENTIFY_DATA
be used to globally identify the CD-ROM device.

typedef struct _IDENTIFY_DATA {
USHORT GeneralConfiguration; // 00 00
USHORT NumCylinders; // 02 1
USHORT Reserved1; // 04 2
USHORT NumHeads; // 06 3
USHORT UnformattedBytesPerTrack; // 08 4
USHORT UnformattedBytesPerSector; // 0A 5
USHORT NumSectorsPerTrack; // 0C 6
USHORT VendorUnique1[3]; // 0E 7-9
UCHAR SerialNumber[20]; // 14 10-19

Niraj

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: Monday, February 26, 2001 10:31 AM
To: NT Developers Interest List
Subject: [ntdev] RE: CD-ROM serial number

You can also use the UPC code for the CD.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Max Lyadvinsky
Sent: Monday, February 26, 2001 6:15 AM
To: NT Developers Interest List
Subject: [ntdev] RE: CD-ROM serial number

use system + volume ids in the 16th sector of a data cd, or maybe the
better way is to count hash for a full toc of a cd. the second method
will work on any cds. for example cddb uses toc (not a full toc) to
identify cds.

regards,
max lyadvinsky


From: Vladimir E. Ignatov[SMTP:xxxxx@infosec.ru]
Reply To: NT Developers Interest List
Sent: 26 ??? 2001 ?. 16:48
To: NT Developers Interest List
Subject: [ntdev] CD-ROM serial number

Hello!

I need my driver (installed as filter driver under CDFS) identify cd-rom

disks, so i need something like “cd-rom disk serial number”. How it can
be
done? Can i get this number somethere or i need compute it myself (from
some
cd-rom disk content)?

Vladimir


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


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


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

ML> use system + volume ids in the 16th sector of a data cd, or maybe the
ML> better way is to count hash for a full toc of a cd. the second method
ML> will work on any cds. for example cddb uses toc (not a full toc) to
ML> identify cds.

toc is not enough unique and can not be used for strong CD
identification. Even cdfs does not use it for data CD.
Most simple and way that much stronger than toc hash is using of
Vpb->SerialNumber. You need calc nothing just use Vpb.
Cdfs calcs this field differently for data and audio CDs.
For data SerialNumber is used checksum of primary volume descriptor, for
audio - checksum of toc because audion CDs have many tracks and toc
can be considered as unique.
Search cdfs driver sources for functions: CdTocSerial, CdSerial32.

Best regards,
Andrey mailto:xxxxx@sandy.ru

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3ia

mQCNAzeUFgIAAAEEAOB2de/sEiBRVDNtMLxgS6fbS7x1MI24fDcjWh+njp7ywSe3
H0MmrMaKJx5Xx//7AINqJU3Nxm6hKxXCWmuu153ir0xgpgJuA6QSY0CgW/2WVbW9
8gY59eBrJdRQdm9qw2VIsTlAiYU06lonukPdRW3WwfuBpLDy2PVTaiqpF8flAAUR
tA1hbmRyQHNhbmR5LnJ1iQCVAwUQN5QWA/VTaiqpF8flAQFrDwQAt4e0/XxF9TBu
UnMBQzBQHK7vfFZWyHjU8kzLH9oXEZi3X07d7TCXXaBAFkboqayDHvGKpic0YvuV
hrKu8ANv7ZHMeU8EG5XGJGVV2DV+iqi2CyfYP1is1ncLZ2+Iy1YlqEu2l5XOf6pa
rl4HpwzHVSuoWjmC7X2rRR9m+tf5XWA=
=rFX3
-----END PGP PUBLIC KEY BLOCK-----


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