[Bug 29426] New: UDF support: VOLUME_GetSuperblockSerial invalid for some volume types

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Dec 23 11:53:17 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=29426

             Bug #: 29426
           Summary: UDF support: VOLUME_GetSuperblockSerial invalid for
                    some volume types
           Product: Wine
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: winehq.org at mcfang.com
    Classification: Unclassified


VOLUME_GetSuperblockSerial returns an incorrect serial for certain UDF volumes.

Volume types affected:
  * ISO9660+UDF for all revisions: Serial displays as '0104-0001'
  * UDF revision 2.50/2.60: Serial displays as '0000-0000'

Serial is correct for standalone UDF revisions 1.02/1.50/2.00/2.01

Test Case: Run 'wine cmd' to open the command line and observe the output of
the `vol` command. Output differs from `vol` run on a native windows system for
the above volume types.

History: UDF support was introduced as a patch for bug #26273
http://bugs.winehq.org/show_bug.cgi?id=26273 and is hardcoded to use the 257th
sector (Address 526336) for serial calculation. 

The actual sector used for serial calculations depends on the UDF revision and
volume type. I suspect the sector may be coded somewhere in the UDF
Specifications, and if that is the case then it should be a better solution
than hardcoding.

Serial calculations:
  * Sector 257 for UDF revisions 1.02/1.50/2.00/2.01
  * Sector 260 for ISO9660+UDF revisions 1.02/1.50/2.00/2.01
  * Sector 320 for UDF revisions 2.50/2.60 with or without ISO9660

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list