From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 11 21:42:10 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD67B16A4CE for ; Tue, 11 Jan 2005 21:42:10 +0000 (GMT) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3515C43D3F for ; Tue, 11 Jan 2005 21:42:10 +0000 (GMT) (envelope-from hartzell@kestrel.alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 21B56209C; Tue, 11 Jan 2005 13:38:27 -0800 (PST) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Authority" (verified OK)) by merlin.alerce.com (Postfix) with ESMTP id D60272093; Tue, 11 Jan 2005 13:38:26 -0800 (PST) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.1/8.13.1) with ESMTP id j0BLeSlI020430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 11 Jan 2005 13:40:28 -0800 (PST) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.1/8.13.1/Submit) id j0BLeScc020427; Tue, 11 Jan 2005 13:40:28 -0800 (PST) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16868.18379.642967.449081@satchel.alerce.com> Date: Tue, 11 Jan 2005 13:40:27 -0800 To: Zera William Holladay In-Reply-To: References: <20050110231520.80660.qmail@web51610.mail.yahoo.com> X-Mailer: VM 7.17 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP cc: "Pedro F. Giffuni" cc: freebsd-hackers@freebsd.org Subject: Re: Picture CDs ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hartzell@kestrel.alerce.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2005 21:42:11 -0000 Zera William Holladay writes: > > > On Mon, 10 Jan 2005, Pedro F. Giffuni wrote: > > > It's odd but I couldn't mount a Picture CD on FreeBSD 5.2.1. This is pretty > > weird as Windows reports it is just CDFS and some jpeg files plus some windows > > software that let's you view it. I don't know... how can I get it wrong: mount > > /cdrom right? > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html > > or > > man mount I'm not sure about a "Picture CD", but I just double checked and I can't mount a Kodak Photo CD on 5.3. It's not '-t cd9660' and it's not '-t msdos'. Googling around a bit shows that it's a multisession cd, and I get the following devices when I stick on in the drive (satchel)[1:35pm]~>>ls -l /dev/*cd* crw-r--r-- 1 root operator 4, 20 Jan 5 16:04 /dev/acd0 crw-r----- 1 root operator 4, 22 Jan 7 01:03 /dev/acd0t01 crw-r----- 1 root operator 4, 47 Jan 7 01:03 /dev/acd0t02 crw-r----- 1 root operator 4, 48 Jan 7 01:03 /dev/acd0t03 crw-r----- 1 root operator 4, 49 Jan 7 01:03 /dev/acd0t04 crw-r----- 1 root operator 4, 50 Jan 7 01:03 /dev/acd0t05 crw-r----- 1 root operator 4, 51 Jan 7 01:03 /dev/acd0t06 crw-r----- 1 root operator 4, 52 Jan 7 01:03 /dev/acd0t07 crw-r----- 1 root operator 4, 53 Jan 7 01:03 /dev/acd0t08 crw-r----- 1 root operator 4, 54 Jan 7 01:03 /dev/acd0t09 crw-r----- 1 root operator 4, 55 Jan 7 01:03 /dev/acd0t10 crw-r----- 1 root operator 4, 56 Jan 7 01:03 /dev/acd0t11 crw-r--r-- 1 root operator 4, 21 Jan 4 18:03 /dev/cd0 (satchel)[1:36pm]~>>cdcontrol info -f /dev/acd0 Starting track = 1, ending track = 11, TOC size = 98 bytes track start duration block length type ------------------------------------------------- 1 0:02.00 1:01.21 0 4596 data 2 1:03.21 5:25.60 4596 24435 data 3 6:29.06 2:11.57 29031 9882 data 4 8:40.63 3:18.13 38913 14863 data 5 11:59.01 2:50.64 53776 12814 data 6 14:49.65 3:15.22 66590 14647 data 7 18:05.12 3:14.38 81237 14588 data 8 21:19.50 4:02.57 95825 18207 data 9 25:22.32 2:32.45 114032 11445 data 10 27:55.02 0:59.33 125477 4458 data 11 28:54.35 0:22.03 129935 1653 data 170 29:16.38 - 131588 - - (satchel)[1:36pm]~>> If I cat /dev/acd0t02 into a file, it turns out to be a (satchel)[1:36pm]~>>sudo cat /dev/acd0t02 > /tmp/ape (satchel)[1:37pm]~>>file /tmp/ape /tmp/ape: Kodak Photo CD image pack file , landscape mode And display (from the imagemagick suite) is able to show me one of (the first, in fact) image from the CD. It doesn't seem like it's one track per image though, since there are 51 images on the disk. Has anyone worked with PhotoCD's on FreeBSD? g.