From owner-freebsd-stable Fri Mar 21 10:12:28 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E39F337B401 for ; Fri, 21 Mar 2003 10:12:27 -0800 (PST) Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E15743FB1 for ; Fri, 21 Mar 2003 10:12:27 -0800 (PST) (envelope-from uwe@snark.ptc.spbu.ru) Received: by snark.ptc.spbu.ru (Postfix, from userid 1000) id CE62B5AA9; Fri, 21 Mar 2003 21:12:24 +0300 (MSK) Date: Fri, 21 Mar 2003 21:12:23 +0300 From: "Valeriy E. Ushakov" To: freebsd-stable@freebsd.org Subject: Re: VCD disks Message-ID: <20030321181223.GD3967@snark.ptc.spbu.ru> Mail-Followup-To: freebsd-stable@freebsd.org References: <844r5wljvy.fsf@raven.plab.ku.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <844r5wljvy.fsf@raven.plab.ku.dk> User-Agent: Mutt/1.4i 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 Fri, Mar 21, 2003 at 18:17:05 +0100, Dmitry Karasik wrote: > I do not want the question to sound like a "why not", not even > because the code change is safe and minimal, but because there is no > other way to read a VCD without patching and recompiling kernel. Huh, I've been able to grab/watch VCDs since, uhm, 4.2 or so... In a C program you can do: int bs = 2352; ioctl(fd, CDRIOCSETBLOCKSIZE, &bs); and after that just use plain reads. SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message