Hybrid iso9660/HFS+ CDs made by the MacOS Finder can have alignment padding between entries in the directory System Use area, which as far as I can see is contrary to the spec. This patch allows 9660srv to read such directories correctly instead of going into an infinite loop. Reference: /n/sources/patch/applied/9660srv-apple-padding Date: Mon May 2 14:42:45 CES 2005 --- /sys/src/cmd/9660srv/9660srv.c Mon May 2 14:37:37 2005 +++ /sys/src/cmd/9660srv/9660srv.c Mon May 2 14:37:33 2005 @@ -707,6 +707,11 @@ s += fs->suspoff; sysl -= fs->suspoff; for(; sysl >= 4 && have != (Hname|Hmode); sysl -= l, s += l){ + if(s[0] == 0 && ((ulong)s & 1)){ + /* MacOS pads individual entries, contrary to spec */ + s++; + sysl--; + } l = s[2]; if(s[0] == 'P' && s[1] == 'X' && s[3] == 1){ /* posix file attributes */