[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libcdio-devel] lsn versus lba versus msf
From: |
Thomas Schmitt |
Subject: |
Re: [Libcdio-devel] lsn versus lba versus msf |
Date: |
Tue, 20 Nov 2012 14:28:32 +0100 |
Hi,
for what it is worth, MMC-5 has in its glossary:
"
3.1.45 Logical Block Address (LBA)
The LBA is the number that a Host uses to reference Logical Blocks
on a block storage device.
3.1.46 Logical Sector Number (LSN)
A sector's LBA is referred to as LSN in some references.
"
So for getting in sync with MMC one would have to give up
the distinction of LBA and LSN. Both would be -150 at MSF 0:0:0.
In http://www.gnu.org/software/libcdio/libcdio.html#Sectors.
i read: "fix me: LSNs can be negative up to the pregap size?"
There appear MMC-LBAs below -150 with writing of CD-TEXT to the
Lead-in of a SAO session. E.g. -11635. This address varies
because it also identifies the manufacturer and the product type
of CD media.
Whatever, reading of that CD-TEXT is done via 43h READ TOC/PMA/ATIP
Format 0101b. This command does not need a block address.
(Details taken from libburn's doc/cookbook.txt and doc/mediainfo.txt)
So i am not sure whether MSF 0:0:0 should be considered to be
the lowest possible address in the context of libcdio.
Have a nice day :)
Thomas