From owner-freebsd-stable Sun Nov 4 6:28: 6 2001 Delivered-To: freebsd-stable@freebsd.org Received: from pt-quorum.com (pt-quorum.com [209.10.167.210]) by hub.freebsd.org (Postfix) with ESMTP id F154237B406 for ; Sun, 4 Nov 2001 06:28:02 -0800 (PST) Received: from gateway.bogus (unknown [213.30.47.242]) by pt-quorum.com (Postfix) with ESMTP id 7DFB0ECCF; Sun, 4 Nov 2001 14:25:12 +0000 (WET) Received: by gateway.bogus (Postfix, from userid 1000) id ACCB35F7F; Sun, 4 Nov 2001 14:28:59 +0000 (WET) Date: Sun, 4 Nov 2001 14:28:59 +0000 From: Nuno Teixeira To: Olexander Kunytsa Cc: freebsd-stable@FreeBSD.ORG Subject: Re: how to mount CDROM with mixed data/audio tracks? Message-ID: <20011104142859.A401@gateway.bogus> Mail-Followup-To: Nuno Teixeira , Olexander Kunytsa , freebsd-stable@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from kunia@istc.kiev.ua on Sat, Nov 03, 2001 at 10:23:44PM +0200 X-Operating-System: FreeBSD 4.4-STABLE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Nov 03, 2001 at 10:23:44PM +0200, Olexander Kunytsa wrote: : : hello, : I have AudioCD with data session on it, : Enigma# cdcontrol i : Starting track = 1, ending track = 6, TOC size = 58 bytes : track start duration block length type : ------------------------------------------------- : 1 0:02.00 4:21.48 0 19473 audio : 2 4:21.48 3:42.59 19473 16559 audio : 3 8:02.32 5:31.26 36032 24701 audio : 4 13:31.58 4:10.05 60733 18605 audio : 5 17:39.63 6:34.73 79338 29473 audio : 6 24:12.61 15:25.42 108811 69267 data : 170 39:36.28 - 178078 - - : Enigma# : : There is no problem with those CDs which have DATA session first, but : such CD as listed above fails to mount: : : Enigma# mount /cdrom : cd9660: /dev/acd0c: Invalid argument : : In the mount_cd9660(8) man page it is pointed to '-s' flag, but it is : failed too: : : Enigma# mount_cd9660 -v -s 108811 /dev/acd0c /cdrom : mount_cd9660: /dev/acd0c: Invalid argument : : Which number should I point as 'startsector' argument? : : : /Olexander : : : To Unsubscribe: send mail to majordomo@FreeBSD.org : with "unsubscribe freebsd-stable" in the body of the message Hi, Maybe there is a way of mounting data track. Go to /dev and see if you got acd0tn (where n>=0 && n<=99). If not you can make those devices: # cd /dev # sh MAKEDEV acd0t99 Now you can access to each track independently: # mount_cd9660 /dev/acd0t6 /mnt (where '6' is data track) Try this. I've learn this method to extract audio tracks with dd. Bye, -- Nuno Teixeira Dir. Técnico pt-quorum.com /* PGP Public Key: http://www.pt-quorum.com/pgp/nunoteixeira.asc Key fingerprint: 8C2C B364 D4DC 0C92 56F5 CE6F 8F07 720A 63A0 4FC7 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message