Re: isofs: cruft option with volume_seq_no? (patch included)

Hugh Dickins (hugh@veritas.com)
Sun, 13 Oct 2002 14:59:32 +0100 (BST)


On Sun, 13 Oct 2002, Walter Haidinger wrote:
>
> If you create an iso image with mkisofs and use the -volset-seqno option,
> any subsequent mount attempt will result in the following message:
>
> kernel: Warning: defective CD-ROM (volume sequence number 2). Enabling
> "cruft" mount option.
>
> Q: Why isn't this bug(?) fixed yet?

Summary of changes from v2.5.41 to v2.5.42
============================================

<Andries.Brouwer@cwi.nl>
[PATCH] isofs fix

The patch below removes some dead code and nonsense code.
The part that changes behaviour is

- if (sbi->s_cruft == 'n' &&
- (volume_seq_no != 0) && (volume_seq_no != 1)) {
- printk(KERN_WARNING "Warning: defective CD-ROM "
- "(volume sequence number %d). "
- "Enabling \"cruft\" mount option.\n", volume_seq_no);
- sbi->s_cruft = 'y';
- }

that has already bitten lots of people.

Nothing is wrong with a volume sequence number different from 0 or 1.
(Cf. Ecma-119.pdf, Sections 4.17, 4.18, 6.6.)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/