From owner-freebsd-hackers@freebsd.org Sat Oct 3 18:08:32 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99938A0FBA3 for ; Sat, 3 Oct 2015 18:08:32 +0000 (UTC) (envelope-from scdbackup@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 50F7A1A71 for ; Sat, 3 Oct 2015 18:08:31 +0000 (UTC) (envelope-from scdbackup@gmx.net) Received: from scdbackup.webframe.org ([79.192.94.39]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MHHZT-1ZngIY2TBb-00E4Hw for ; Sat, 03 Oct 2015 20:08:29 +0200 Date: Sat, 03 Oct 2015 20:09:50 +0200 From: "Thomas Schmitt" To: freebsd-hackers@freebsd.org Subject: Which program produces FreeBSD-11.0-CURRENT-amd64-*-disc1.iso ? Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <23122582300370917262@scdbackup.webframe.org> X-Provags-ID: V03:K0:l8rRHgsL5e2r+Jz503TlsNprEyxtquc2dFpXLe44pQZ9D5RmpHE 2QStjWM8+k0mr3WgRJP88OS9GawS3Bw5Gq569nWLPHzYTltPYdR43tBnEZRNCJZfcOWR2nK QqjQn5frG/wuOQ0ThZymTwZWtUnQw10hdZG5f9Vwlp64gB0uLGRh9NcZcMjrH5SsfkbHCO6 YlyhseKQEuH7LeV7KZLtg== X-UI-Out-Filterresults: notjunk:1;V01:K0:6hzZet15uRI=:35JpjcmFYHCkU4bhWDvqNx gsVTV4aiBVjxT6CC6/Lttf5GLMGg+6iaejuRaajXF00/WLfPAgQk/ehW/wP26VYCGx3waNcO9 dq3q6cuPbC6F6+i628pSpndYgp33rcXC6HH11hLIvVdH2pGDqITj0ObFbKKOaXjhH8zspv5ke 5buusg0G9gdRQ8ZbQ8eeyN0/drEmeuPHNg7cblTYsJwJdDbutCyW03ILl7OEtVLbhhpWWyuw8 Yzn83f4/NB50BB/1ai/kabvT2XGxvU/MWFTKlc7Kcv33WsV+hQNpPW8ICa5noz81WatJ3aWzT LLnn/zDdYRhqdNZAL1RGhUl1UDdMH/DsciepGl6JWtkJFoilk6cs2uTP76Ao1NRjSofmhYpF9 jaeoK0krnJ4y1l1VjTcqaiWpCCW17FV65EqVU8hdprNiWXnENv+ywQlGOPo4wKZDuRa2E++EN hEPXoqLBsDzm1R/Sb++eiFxkfoWIKlC0uk6+1HkkCi0YQkxlVFmL3MwjUQnqe3oWdiEE1GHmv Nbxh3yybOSEWzaAP+6vFRAtrr6EmxKpMRQxuGxXibIZuYQ0eNY4UWJdNqPUpKSDOxBTnB9KGV HB86y6A/TKIR1H02MqE6HU7F20SF4LQOlp4q1K5JEV6sbbDS/+n7Q15DgWopNGo2jsy9WMiBM 1kEXAvCpViWEcRrCSUWbHMm7OIqx51ATXrgIyP+mCZGd9l/oERub8uCfIZmu7o8IcIu7kiOk8 4DP4AUXniiqcl4PH/28rAgyD7J6K0kh/2EXQfzu94ct2WOd9z7zemHvVIgeYgUYpBMqeiEsXR KLzEQJP X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2015 18:08:32 -0000 Hi, the image FreeBSD-11.0-CURRENT-amd64-20151001-r288459-disc1.iso from http://ftp.freebsd.org/%2Fpub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/11.0/ has some flaws or at least strange properties. I wonder where to find the source code of the ISO 9660 producer program. ----------------------------------------------------------------- Problematic properties in detail: - The root directory entry and also "/." show as "Recording Date and Time" the 7-byte string {165, ..., 165}, which except for the first byte violates ECMA-119 9.1.5. It restricts bytes 1 to 5 to reasonable values for month, day_of_month, hour, minute, second. Byte 6 shall be in the range of -48 to +52, whereas 165 as signed 8-byte value is -91. - The Rock Ridge equipment of directory records of directories in their parent directory differs from the equipment of "." records in their own directory. E.g. "/bin" differs from "/bin/." not only by name. "/bin" has Rock Ridge entry TF, which gives timestamps. (At 2048-block 842 + offset 584 bytes) "/bin/." has no TF. (At 2048-block 844 + offset 0) The content of TF's Creation Time {115 10, 1, 21, 36, 58, 0} differs from the content of the ECMA-119 record fields {115, 10, 1, 21, 38, 24, 0} - The Rock Ridge TF entries have Creation Time rather than Last Attribute Change Time. RRIP-1.12 says: "If recorded, CREATION, Creation Time, has the same meaning as in ISO 9660:9.5.4." "If recorded, ATTRIBUTES, Last Attribute Change Time, shall be used for the st_ctime field of POSIX:5.6.1." ECMA-119 (aka ISO 9660): "9.5.4 File Creation Date and Time (BP 11 to 27) This field shall specify the date and the time of the day at which the information in the file was created." So for recording ctime, the FreeBSD ISO uses the wrong TF field. - Some files have Rock Ridge NM fields, some don't. The NM field records the case sensitive long name of the file. Having none makes the file name prone to mapping when it gets shown by reader software. Typical mappings are: - Removal of trailing ".;1" or ";1". - Presentation as lowercase characters. Missing are the NM fields of the directories in /usr/share/i18n/csmapper (At 2048-block 323995) /usr/share/i18n/esdb (At 2048-block 338174) and of the directory "C" in /usr/share/nls (At 2048-block 353273) The regular files in the same directories do have NM. Have a nice day :) Thomas