From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 20 14:34:00 2004 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 290E116A4CE for ; Tue, 20 Jan 2004 14:34:00 -0800 (PST) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66C0D43D4C for ; Tue, 20 Jan 2004 14:33:41 -0800 (PST) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (uucp@gwyn [127.0.0.1]) i0KMXZmg007002; Tue, 20 Jan 2004 23:33:35 +0100 Received: from saturn.UUCP (uucp@localhost)i0KMXZMc007000; Tue, 20 Jan 2004 23:33:35 +0100 Received: (from nox@localhost) by saturn (8.11.4/8.8.5) id i0KMe0H27894; Tue, 20 Jan 2004 23:40:00 +0100 (CET) Date: Tue, 20 Jan 2004 23:40:00 +0100 (CET) From: Juergen Lock Message-Id: <200401202240.i0KMe0H27894@saturn> To: sos@spider.deepcore.dk X-Newsgroups: local.list.freebsd.hackers In-Reply-To: <200401071343.i07DhMPG062912@spider.deepcore.dk> References: <20040106225617.65937.qmail@web60110.mail.yahoo.com> Organization: X-Mailman-Approved-At: Wed, 21 Jan 2004 05:05:27 -0800 cc: freebsd-hackers@freebsd.org Subject: Re: reading raw data from a CD-R with damaged table of contents X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2004 22:34:00 -0000 In article <200401071343.i07DhMPG062912@spider.deepcore.dk> you write: >It seems Kevin Serwick wrote: >> Hi all, >> >> I added some files to a multisession CD-R with the >> burncd command. It appeared to work fine, but when I >> read the disk, the new files didn't show up. So I did >> the burncd fixate command - bad idea! Now nothing >> shows up! (burncd's no Nero Burning Rom! Live and >> learn... Is the GUI burning software usable and >> reliable?) >> >> I assume it just destroyed the table of contents. > >Rather you add a new one that is empty or garbled. > >> Any suggestions for how I can recover that data? > >It might be posible to read the original session, I seem to remember >that it can be set somehow, but default is to always read the last. Just in case you still haven't found this yourself: from mount_cd9660(8): -s startsector: Start the file system at startsector. Normally, if the underly- ing device is a CD-ROM drive, mount_cd9660 will try to figure out the last track from the CD-ROM containing data, and start the file system there. If the device is not a CD-ROM, or the table of contents cannot be examined, the file system will be started at sector 0. This option can be used to override the behaviour. Note that startsector is measured in CD-ROM blocks, with 2048 bytes each. This is the same as for example the info command of cdcontrol(1) is printing. It is possible to mount an arbitrary session of a multi-session CD by specifying the correct startsector here. HTH, Juergen