SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yes, for CD-R/RW, there are these two different modes. That's all about the structure and contents of each single sector on a CD.
A sector on a CD always consists of 2352 bytes (actually, it's 2448, but it would go too far to explain this in depth). It depends on the type of CD how much of these 2352 bytes is data and control or error correction information:
Audio CD (CDDA) is the oldest type. It uses all 2352 bytes for data, there's no error detection. That's why CDDAs are most critical in terms of errors. But during audio playback, it normally doesn't matter if there are a few "bad" bits in between. Even if an entire sector is bad (which is 1/75 of a second), there's a good chance you won't even hear it.
There is no "Mode 1" oder "Mode 2" for CDDA, it's just raw data.
Data CDs (Mode 1) use 2048 of each sector as payload, 4 bytes to identify each sector, and the remainder for error detection and recovery. That's why information stored on a regular data CD can often be recovered even if the CD is scratched badly.
Video CDs (VCD, SVCD) and other special-type CDs use a compromise between these two extremes. Like Mode 1 CDs, they use 4 bytes to identify each sector, but no error correction data; the entire remaining 2336 bytes are payload.
Quote:
Originally Posted by stf92
Does DVD-R/+R have mode 1, or is it a concept which does not apply to DVD?
Right, it doesn't. Unlike CDs, which were first invented only for digital audio, the DVD standard was set with many different applications in mind. Therefore it was specified that all DVDs should have the same basic structure. In other words: All DVDs are DVD-ROMs at first. What they really contain (audio, video or arbitrary data) is determined by their contents. That's why there is no such distinction.
One question: Using cdrecord with -vv, 'cdrecord -vv -media-info', I can read the mode under 'data mode'. I have tested it with CDs recorded in mode 1 and in mode 2. However, I inserted a DVD-R, and it says 'data mode: 1':
One question: Using cdrecord with -vv, 'cdrecord -vv -media-info', I can read the mode under 'data mode'. I have tested it with CDs recorded in mode 1 and in mode 2. However, I inserted a DVD-R, and it says 'data mode: 1'
I don't know how cdrecord determines this information, but I suspect that since the program must have a variable for "Mode", it just assumes a default of 1 and prints this information even if it's irrelevant. After all, if anything, a Mode 1 CD is about the closest match to a DVD.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.