Bug 59603
| Summary: | mksisofs volset-seqno option makes kernel activate cruft option | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | gsr.bugs | ||||
| Component: | kernel | Assignee: | Arjan van de Ven <arjanv> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Brian Brock <bbrock> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7.3 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2004-09-30 15:39:22 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
gsr.bugs
2002-02-11 02:38:24 UTC
mkisofs maintainer Jvrt Schilling seems to agree: http://www.mail-archive.com/cdwrite@other.debian.org/msg02725.html Patch attached. GSR Created attachment 45346 [details]
Patch to avoid the wrong check of seqno field and thus be able to read CDs that are part of a volume set
I think you misread the code a bit. The comment says that it did NOT set the global cruft option because -->otherwise<-- files would be limited to 16Mb :( Doh I misread the code ;() Yes, you did... the first time I read it, I did too. Then realized the comment is something like "we are going to be cool and allow 0 but only 1 is valid". By spec any number is valid if less than set size. It does not say anything about single CDs, so I guess it must be left blank, which should be 0 (that could explain how many "illegal" CDs they found when testing). In general the terms used and the comments are, to say it without insult, funny. I tried with CDs 1, 2 and 3 of a group of 3. Only in 1 I was able to rightly access the files of 16MB or more, CDs 2 and 3 reported smaller file sizes, and data was "damaged". That was the real life test. As you can imagine, the CDs work OK with the patch applied, cos all the three were created with the same command, except the seqno change. I ended printing the PDF, and I am still trying to find what the hell is a multi-volume CD. You can have volume sets, but CD, each CD, is a volume alone. There is no multi volume CD in the spec, you will only find volume set, defined as group of volumes (CDs) that carry a set of files which contents are determined at the same time, like a full monthly magazine with really high res photos could be, or maybe the full dump of a library at a given day. And volume set id, volume set size and volume set seq no are all hints that data preparers can use when making groups of CD, like RH install could do (instead of checking a file in CD, installer could just check id and seq no). In the case of the mag, a robot CD would be able to detect that a CD is not the right one, or in the case of the library, the same thing (humans mixing parts of magazines or dumps, ie). My best guess is that the coder mixed volume with partition or session. A CD can have multiple partitions or sessions... but a volume == CD, page 3, point 4.17. There is no multi volume CDs, and the more I read inode.c, the more I am convinced that someone has got confused a lot (maybe cos in other places, like Windows disks, you call volume to partition, from what I remember about naming HD, the name used was "volume label" and I had a single disk with multiple partitions, each with its "volume label"... Linux too, tune2fs talks about labels). Linux implentation used definitions from unknown place instead of checking what the spec itself defines. And about the spec, my best guess is that drafters wanted to make the format for libraries and other places with lot of data (byt the time PCs weere toys). Thus targeting a full automatic enviroment with tags for every possible usage they could think of (preparer, copyright file, expiration date... it has a lot, and I guess most CDs do no use them... but that is quite different than call the ones that do "damaged" or "out of spec"). Sorry for the rant. But I get pissed when something follows a spec for something, but not for everything, including definitions. BTW, the error exists in plain 2.4.17, so I guess RH72 has it too. GSR Fixed in my tree. Will build soon for rawhide etc The bug is back in RH7.3, it complains about valid CDs and takes the same radical measure of cutting the files. Thanks for the bug report. However, Red Hat no longer maintains this version of the product. Please upgrade to the latest version and open a new bug if the problem persists. The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, and if you believe this bug is interesting to them, please report the problem in the bug tracker at: http://bugzilla.fedora.us/ |