⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.html

📁 最新的linux下dvd刻录软件,支持DVD+RW、DVD-RW光盘刻录。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<!-- &quot;Should&quot; is a reminder of the project status,&quot;experience gathering.&quot; I mean the best I can do is to statethat my hp dvd200i unit doesn't wipe any data when relocating thelead-out.--><P ALIGN="JUSTIFY">Then non-finalized DVD+R and Sequential<NOBR>DVD-R[W]</NOBR> discs don't have lead-out either<SUP>(*)</SUP>.If you fail to mount/play DVD+R media and wish to sacrifice theremaining space for immediate compatibility, just fill the mediaup<SUP>(**)</SUP>. Alternatively if you master volume in a single takeand don't plan to use it for multisessioning<SUP>(***)</SUP>, you havethe option to invoke growisofs with <TT>-dvd-compat</TT> option and cutthe real lead-out directly after the first session.<P><TABLE BORDER="0" WIDTH="95%" ALIGN="CENTER"><TR VALIGN="TOP" ALIGN="JUSTIFY"><TD><FONT SIZE="-1"><SUP>(*)</SUP></FONT><TD><FONT SIZE="-1">Well, there are lead-outs at the session edges, butthe problem is that &quot;End Physical Sector Number of Data Area&quot;field in &quot;Control Data Zone&quot; of the lead-in contains addressof the largest media sector, which makes affected DVD[-ROM] playerscalibrate at the outermost edge instead of the first session. ActuallyI fail to understand why don't they burn the address of last sector ofthe first session in the lead-in even on multisession discs...</FONT></TR><TR VALIGN="TOP" ALIGN="JUSTIFY"><TD><FONT SIZE="-1"><SUP>(**)</SUP></FONT><TD><FONT SIZE="-1">But beware the <A HREF="#isofs4gb">4GB limit</A>!If 4GB is already an issue, or if you don't feel like throwingunrelated data on the media in question, then invoke '<TT>growisofs<FONT COLOR="red">-M</FONT> /dev/scd0<FONTCOLOR="red">=/dev/zero</FONT></TT>' (supported by 5.6 and later).Alternative is to re-master the whole volume, naturally with<TT><NOBR>-dvd-compat</NOBR></TT> option.<!-- then the easiest way is to create couple of holeyfiles with '<TT>touch huge<FONT COLOR="red">M</FONT>.void</TT>' and'<TT>perl -e 'truncate (&quot;huge<FONTCOLOR="red">M</FONT>.void&quot;, 0x7ffffffe)'</TT>', and finally to'<TT>growisofs -overburn -M /dev/scd<FONT COLOR="red">N</FONT> ...huge*.void</TT>'. Otherwise you might have to re-master the volume with<TT>-dvd-compat</TT> option.--></FONT></TR><TR VALIGN="TOP" ALIGN="JUSTIFY"><TD><FONT SIZE="-1"><SUP>(***)</SUP></FONT><TD><FONT SIZE="-1">E.g. when mastering DVD-Video disc:-) Note that<TT>-dvd-video</TT> option [passed to mkisofs] engages<TT>-dvd-compat</TT> automatically.</FONT></TR></TABLE><A NAME="booktype"><P><HR WIDTH="50%" ALIGN="LEFT"></A><P ALIGN="JUSTIFY">Then we have logical format compatibilityissue(s). Probably the very ground for all the controversy aroundDVD+RW, rather around DVD+RW media not being playable in a whole rangeof players. DVD+RW Alliance was keen to blame on DVD-ROM vendors, evenclaiming that they deliberately block playback. But the fact is thatformat specifications don't explicitly say that unrecognized format[designated by &quot;Book Type&quot; field in &quot;Control DataZone&quot; of the lead-in] should be treated as <NOBR>DVD-ROM</NOBR>and [in my opinion] it was rather naive of them to claim and expectthat the media will be playable in &quot;virtually all players.&quot;This deficiency was recognized by practically all DVD+RW vendors [well,apparently by &quot;traditional&quot; DVD+RW vendors and not&quot;latest generation&quot; vendors such as Sony, NEC, TDK...] and a<A HREF="tools/dvd+rw-booktype.cpp">secret</A> vendor-specific commandmanipulating this &quot;Book Type&quot; field was implemented. So ifyou fail to mount/play DVD+RW media, you <I>might</I> have an option to<BLOCKQUOTE><PRE>dvd+rw-booktype -dvd-rom -media /dev/scd<FONTCOLOR="red">N</FONT></PRE></BLOCKQUOTE><P ALIGN="JUSTIFY">Once again. <B>Not all vendors support this and youcan't expect this utility to work with all recorders.</B><P ALIGN="JUSTIFY">It's naturally not possible to manipulate the&quot;Book Type&quot; field on DVD+R media, that is not after thelead-in is written [which takes place at the moment the first sessiongets closed]. But it might be possible to control how it [lead-in] isgoing to be branded by programming the drive <I>in advance</I>:<BLOCKQUOTE><PRE>dvd+rw-booktype -dvd-rom -unit+r /dev/scd<FONTCOLOR="red">N</FONT></PRE></BLOCKQUOTE><P ALIGN="JUSTIFY">Meaning that if you fail to play DVD+R media, youcan attempt to burn another disc with more appropriate unit settings.For more background information about dvd+rw-booktype, see <AHREF="http://www.dvdplusrw.org/Article.asp?aid=42&hl=bitsetting">&quot;CompatibilityBitsettings&quot; article at dvdplusrw.org</A>.<P ALIGN="JUSTIFY">There [potentially] are other logicalDVD+RW<SUP>(*)</SUP> format incompatibilities, but the &quot;BookType&quot; issue discussed above is the only one &quot;officially&quot;recognized. Well, it's actually understandable as it's the only onethat can be recognized and addressed by a DVD+RW vendor alone.Recognition of other incompatibilities would require cooperation from<NOBR>DVD[-ROM]</NOBR> player vendors and that's something theyapparently are not willing to show referring to the fact that DVD+RWformat is not approved [and apparently never will be] by <AHREF="http://www.dvdforum.org/">DVD Forum</A><SUP>(**)</SUP>.<P><TABLE BORDER="0" WIDTH="95%" ALIGN="CENTER"><TR VALIGN="TOP" ALIGN="JUSTIFY"><TD><FONT SIZE="-1"><SUP>(*)</SUP></FONT><TD><FONT SIZE="-1">Finalized DVD+R media branded with<NOBR>DVD-ROM</NOBR> &quot;Book Type&quot; is virtually identical to<NOBR>DVD-ROM.</NOBR></FONT></TR><TR VALIGN="TOP" ALIGN="JUSTIFY"><TD><FONT SIZE="-1"><SUP>(**)</SUP></FONT><TD><FONT SIZE="-1">To which I say &quot;so what?&quot; DVD Forum is analliance of manufacturers just like DVD+RW Alliance is. It [or anyother party for that matter] has no authority to deny a technologydevelopment initiative.</FONT></TR></TABLE><P><HR WIDTH="50%" ALIGN="LEFT"><P ALIGN="JUSTIFY">Finally there is a physical incompatibility issue.They claim that there are optical pick-ups out there not being capableto decode the track because of low reflectivity of DVD+RW mediasurface. I write &quot;they claim,&quot; because in the lack ofcooperation from <NOBR>DVD[-ROM]</NOBR> vendors it's not possible todistinguish physical from logical format incompatibility, which I findimportant to tell apart in order to make sure at least logical formatincompatibility issues don't persist over time. It might be as trivialas following. As you surely know [already], DVD+RW has samereflectivity as dual-layer <NOBR>DVD-ROM.</NOBR> Now the catch is thatthe linear pit density in turn is same as of single-layer one. Meaningthat if player makes assumptions about linear pit density based onreflectivity, then it won't be able to trace the track... But eitherway, there is very little you can do about this one, but to try anotherplayer...<P><HR><H3>Technical Ramblings</H3><P><HR WIDTH="50%" ALIGN="LEFT"><A NAME="isofs4gb"><P><IMG SRC="isofs4gb.gif" WIDTH=144 HEIGHT=315ALIGN="RIGHT"></A><P ALIGN="JUSTIFY"><B>As for multisession ISO9660 [DVD]recordings!</B> Unfortunately, Linux ISOFS implementation had certaindeficiency which limits interoperability of such recordings. In orderto understand it, have a look at sample ISO9660 layout to the right...Now, the problem is that isofs i-nodes<SUP>(*)</SUP> are 32 bits wide(on a 32-bit Linux) and represent offsets of corresponding directoryentries (light-greens), byte offsets from the beginning of media. Thismeans that no directory (green areas) may cross 4GB boundary withoutbeing effectively corrupted<TT>:-(</TT> It should be noted that inreality it's a bit better than it looks on the picture, as mkisofscollects all the directories in the beginning of any particular session(there normally are no blues between greens). The <I>first</I> sessionis therefore never subject to i-node wrap-around, but not the<I>subsequent</I> ones! Once again, <FONT COLOR="blue">files</FONT>themselves may reside beyond the <FONT COLOR="brown">4GB</FONT>boundary, but not <FONT COLOR="green">the directories</FONT>, inparticular not in further sessions. Having noted that directory entriesare actually <I>specified</I> to start at even offsets, I figured thatit's <A HREF="isofs-2.4.patch">perfectly possible</A> to&quot;stretch&quot; the limit to 8GB. But in order to <I>assuremaximum interoperability,</I> you should <B>not let any session<I>start</I> past 4GB minus space required for directorystructures</B>, e.g. if the last session is to fill the media up, ithas to be >400MB. As of version 5.3 growisofs refuses to <I>append</I>a new session beyond 4GB-40MB limit<SUP>(**)</SUP>, where 40MB ispretty much arbitrary chosen large value, large for directory catalogsthat is. Yet it doesn't actually <I>guarantee</I> that you can't sufferfrom i-node wrap-around. Interim <A HREF="isofs-2.4.patch">fs/isofs 2.4kernel patch</A> was addressed to those who have actually ran into theproblem and have to salvage the data. Even though permanent solutionfor this problem appears in Linux kernel 2.6.8 (thanks to Paul Sericeeffort), growisofs keeps checking for this 4GB limit in order to ensurebroader compatibility of final DVD recordings. This check is notperformed for Blu-ray Disc recordings, as probability that a member ofsuch user community would run something elder than 2.6.9 is considereddiminishingly low.<TABLE BORDER="0" WIDTH="95%" ALIGN="CENTER"><TR VALIGN="TOP" ALIGN="JUSTIFY"><TD><FONT SIZE="-1"><SUP>(*)</SUP></FONT><TD><FONT SIZE="-1">i-node is a number uniquely identifying a singlefile in a file system</FONT></TR><TR VALIGN="TOP" ALIGN="JUSTIFY"><TD><FONT SIZE="-1"><SUP>(**)</SUP></FONT><TD><FONT SIZE="-1">well, as DVD+R Double Layer support was introducedin 5.20, <TT>-use-the-force-luke=4gms</TT> option was added to overridethis behaviour (naturally recommended for Linux kernel 2.6>=8 users andkernel developers only;-)</FONT></TR></TABLE><P><BR><P ALIGN="JUSTIFY"><B>Why media reload is performed after everyrecording with growisofs?</B> Well, it's performed only if you didn'tpatch the kernel:-) But no, I do not insist on patching the kernel!All I'm saying is that in the lack of kernel support, media reload isperformed for the following reasons. In order to optimize file accesskernel maintains so called block cache, so that repetitive requests forsame data are met directly from memory and don't result in multiplephysical I/O. Now the catch is that block cache layer remains totallyunaware of growisofs activities, growisofs <I>bypasses</I> the blockcache. This means that block cache inevitably becomes out of sync,which in turn might appear to you as corrupted data. Media reload isperformed when flushing the block cache is not an option, e.g. onlyprivileged user is allowed to perform it. Second reason is to forcekernel to readjust last addressable block in case it was changed asresult of recording. This is done to preclude spurious "attempts toaccess beyond end of device."<P><BR><P ALIGN="JUSTIFY"><B>What does [kernel] &quot;DVD+RW support&quot;<I>really</I> mean?</B> Even though DVD+RW has no notion of [multiple]sessions, to ensure compatibility with DVD-ROM it's essential to issue&quot;CLOSE TRACK/SESSION (5Bh)&quot; <AHREF="http://www.t10.org/scsi-3.htm">MMC</A> command toterminate/suspend background formatting (if any in progress) wheneveryou intend to eject the media or simply stop writing and want betterread performance (e.g. remount file system read-only). This is what thepatch is basically about: noting when/if media was written to and"finalizing" at unlock door.<P ALIGN="JUSTIFY"><B>Secondly</B>, whenever you employ fully fledgedfile system, I/O requests get inevitably fragmented.&quot;Fragmented&quot; means following. Even though you can address thedata with 2KB granularity, it [data] is physically laid out in 32KBchunks. This in turn means that for example writing of 2KB blockinvolves reading of 32KB chunk, replacing corresponding 2KB and writingdown of modified 32KB chunk. &quot;Fragmented requests&quot; are thosethat are smaller than 32KB or/and cross the modulus 32KB boundaries. Inorder to optimize the process certain caching algorithm is implementedin unit's firmware. Obviously it can't adequately meet all possiblesituations. And so in such unfortunate situations the drive apparentlystops processing I/O requests returning &quot;COMMAND SEQUENCE ERROR(2Ch)&quot; ASC. This is the second essential of &quot;DVD+RWsupport,&quot; namely injecting of &quot;SYNCHRONIZE CACHE (35h)&quot;MMC command in reply to the error condition in question. The commandflushes the cached buffers which makes it possible to resume the dataflow.<P ALIGN="JUSTIFY"><B>Unfortunately</B> the above paragraph doesn'tseem to apply to the 1st generation drives, Ricoh MP5120A andderivatives<TT>:-(</TT> &quot;SYNCHRONIZE CACHE (35h)&quot; doesn'tseem to be sufficient and the unit keeps replying with &quot;COMMANDSEQUENCE ERROR (2Ch)&quot; going into end-less loop. This makes itimpossible to deploy arbitrary file system. I'm open forsuggestions... Meanwhile the I've chosen to simply suspend I/O till themedia is unmounted. Even 2nd gen unit were reported to exhibit similar[but not the same] behaviour under apparently extremely rarecircumstances. At least I failed to reproduce the problem... The problemreportedly disappears with firmware upgrade...<P ALIGN="JUSTIFY"><B>Then</B> some [most?] of post-2nd gen units, frommost vendors, seem to not bother about complying with

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -