>From: "Guillermo S. Romero / Familia Romero" <[EMAIL PROTECTED]>
>I ask cos I searched the archive and found nothing about cruft >(http://www.mail-archive.com/[email protected]/index.html). >Searching in other places gives me a lot of links (Linux kernel files >that I already have, or similar) but no definitive documentation / >explanation. >I have been using some options in mkisofs to group CDs (-volset >"string" -volset-size N -volset-seqno n). I read the man page and >thought they where a good idea to store the relation among them. I >also read the following page (to check other docs, just in case): >http://www.y-adagio.com/public/standards/iso_cdromr/tocont.htm >Now the fun, when I mount a CD with seqno above 1, I get in the logs: >kernel: Warning: defective CD-ROM (volume sequence number 3). Enabling >"cruft" mount option. >I am currently using RH71, mkisofs is 1.13 (i686-pc-linux-gnu) and >kernel is 2.4.2-2. >I scanned the Linux src I have and found fs/isofs/inode.c around line >1251: > /* > * Disable checking if we see any volume number other than 0 or 1. > * We could use the cruft option, but that has multiple purposes, one > * of which is limiting the file size to 16Mb. Thus we silently allow > * volume numbers of 0 to go through without complaining. > */ > if (inode->i_sb->u.isofs_sb.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); > inode->i_sb->u.isofs_sb.s_cruft = 'y'; Looks like just another aprils fool in the Linux kernel! Volume sequence numbers are just a hint to applications (e.g. OS install) that indicate which CD of a set is in the drive. I see no reason why a kernel should limit filesize to 16 MB if a CD with volset # > 1 is mounted. It seems to me that Solaris and Linux are going to fight for a contest on the most absurde bug in ISO-9660 filesystem handling. J�rg EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) If you don't have iso-8859-1 [EMAIL PROTECTED] (work) chars I am J"org Schilling URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

