LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-22-2014, 11:24 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Can DVDs be written in mode 1?


Hi: CD-R can be written in mode 1. Does DVD-R/+R have mode 1, or is it a concept which does not apply to DVD?
 
Old 03-23-2014, 08:50 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by stf92 View Post
Hi: CD-R can be written in mode 1.
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 View Post
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.

[X] Doc CPU
 
6 members found this post helpful.
Old 03-23-2014, 09:14 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Beautiful post! Thanks for that.
 
Old 03-23-2014, 09:58 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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':
Code:
semoi2@darkstar:/DATA/home/semoi/STORE1/soft/linux/grabacion$ cdrecord -vv -media-info dev=2,0,0
Cdrecord-ProDVD-ProBD-Clone 3.01a08 (i686-pc-linux-gnu) Copyright (C) 1995-2012 Joerg Schilling
TOC Type: 1 = CD-ROM
..........................
..........................

Track  Sess Type   Start Addr End Addr   Size
==============================================
rzone size:         40
rzone number:       1
border number:      1
ljrs:               0
track mode:         4 copy: 0
damage:             0
reserved track:     0 blank: 0 incremental: 1 fp: 0
data mode:          1
lra valid:          1
nwa valid:          0
rzone start:        0
next wr addr:       0
free blocks:        0
blocking factor:    16
rzone size:         1169664
last recorded addr: 1169663
read compat lba:    0
    1     1 Data   0          1169663    1169664         -1
rzone size:         40
rzone number:       2
border number:      2
ljrs:               0
track mode:         4 copy: 0
damage:             0
reserved track:     0 blank: 1 incremental: 1 fp: 0
data mode:          1
lra valid:          0
nwa valid:          1
rzone start:        1207568
next wr addr:       1207568
free blocks:        1090320
blocking factor:    16
rzone size:         1090320
last recorded addr: 0
read compat lba:    0
    2     2 Blank  1207568    2297887    1090320      37904

Last session start address:         0
Last session leadout start address: 1169664
Next writable address:              1207568
Remaining writable size:            1090320
semoi2@darkstar:/DATA/home/semoi/STORE1/soft/linux/grabacion$
What can possibly be the cause? There is the fact that the first line says 'TOC Type: 1 = CD-ROM', which maybe is anyhow related.

Last edited by stf92; 03-23-2014 at 10:02 AM.
 
Old 03-23-2014, 10:23 AM   #5
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by stf92 View Post
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.

[X] Doc CPU
 
1 members found this post helpful.
Old 03-23-2014, 10:58 AM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks again, Doc CPU.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] boot stops after mounting /root, goes emergency mode, no logs written JZL240I-U Linux - Kernel 12 02-13-2012 06:36 PM
utility to view index file(s) of CD written in TAO mode m4rtin Linux - Software 0 04-24-2011 07:10 PM
Emergency mode can mount the HDD with FS error but not in rescue or single user-mode kayod_jj Linux - Newbie 3 12-01-2010 07:03 PM
problem writing dvds get ab error Illegal write mode for this drive procfs Linux - Hardware 2 10-10-2006 01:44 AM
How can I change display mode from character mode to graph mode wuzhong Linux - Hardware 1 08-08-2004 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration