UDF spec (and the ECMA-167 spec on which UDF is based) are available on the
website, so the task of “getting UDF volume ID from existing UDF volume in your
own FS parser” is doable.
If you need the control over how this ID is generated in the newly
generated FS image - then just do not use the Windows code and write your own
UDF generator. This is also doable.
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
wrote in message news:xxxxx@ntfsd…
> Hello,
>
> This is my first post here and I have been trying to get a question of mine
answered over on the MSDN forums (in the Vista Optical Platform Discussion
group) for a while and have had no luck and was directed here by David Burg who
is the Software Development Engineering Lead for the Optical Platform Group at
Microsoft. So, I will just repost what I posted over there and hopefully
someone can help me out:
>
> I recently started a thread asking about the algorithms for generating volume
serial numbers (the serial Windows generates) for CD/DVD media and so far have
used the WDK source and gotten some help from Microsoft employees so that I now
can generate the serial for audio CD’s and discs with ISO-9660/Joliet file
systems. All I need to do now is support UDF discs, what is the algorithm used
for them?
>
> Just for some background about myself and why I am requesting this
information, I work in the CD/DVD forensic software industry creating software
for computer forensic examiners/law enforcement and have had users request that
we display the volume serial number that Windows generates in our software.
The problem is I cannot use GetVolumeInformation or any other Windows API
functions and need to be able to generate the volume serial number myself due
to the fact that our software works with discs that Windows sometimes cannot
mount and also if there is more than one file system present then I need to be
able to display the serial number for all of them.
>
> So, if anyone at Microsoft can help me out that would be great. I don’t need
actual code and I know it has not been released anyway. Just pseudo-code
explaining what portions of the file system are used and how they are used (or
whatever “magical” stuff is done similar to the ISO/Joliet algorithm I found in
the WDK source) would be great.
>
> Thank you very much for your time.
>
> Andrew Dangerfield
>
>