From owner-freebsd-stable Mon Sep 18 16:58:24 2000 Delivered-To: freebsd-stable@freebsd.org Received: from flux.ptc.spbu.ru (flux.ptc.spbu.ru [195.19.225.195]) by hub.freebsd.org (Postfix) with ESMTP id 48B9137B422; Mon, 18 Sep 2000 16:58:18 -0700 (PDT) Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by flux.ptc.spbu.ru (8.9.3/8.9.3/cf-1.0.rbl) with ESMTP id DAA84484; Tue, 19 Sep 2000 03:58:17 +0400 (MSD) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id DAA02278; Tue, 19 Sep 2000 03:58:16 +0400 (MSD) Date: Tue, 19 Sep 2000 03:58:16 +0400 From: "Valeriy E. Ushakov" To: stable@FreeBSD.ORG Cc: committers@FreeBSD.ORG Subject: Re: I'll be rolling a 4.1.1 release on September 25th Message-ID: <20000919035816.B2240@snark.ptc.spbu.ru> Mail-Followup-To: stable@FreeBSD.ORG, committers@FreeBSD.ORG References: <20000916174845.B28031@snark.ptc.spbu.ru> <200009172038.WAA86368@freebsd.dk> <200009181725.LAA09476@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.3i In-Reply-To: <200009181725.LAA09476@nomad.yogotech.com>; from "Nate Williams" on Mon, Sep 18, 2000 at 11:25:51 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Sep 18, 2000 at 11:25:51 -0600, Nate Williams wrote: > > Because I dont favour the ioctl interface, its no longer needed... > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > > No its not, you simply open /dev/acdNc and set the blocksize to > > what you need with the CDRIOCSETBLKSIZE ioctl and reads the blocks > ^^^^^^^^^^^^^^^^^^^^^^ > > woth a normal read from the device.... > > So, do you like ioctl(), or not? First you say it's not needed, then > you say open a device and use ioctl() on it? > > You can't have it both ways. :) :) :) Actually you can :) My understanding of the point Soren makes is that it's strange to use ioctl for _reading_ data from the device. And that's hard to deny. OTOH setting block size is a control operation and does belong to ioctl. Right? Anyway I hacked may way through it and reported my findings on freebsd-multimedia, so if Soren thinks my hack is not bogus and doesn break other things (and I don't know *anything* about ATAPI) then hopefully, grabbing VCD's will be supported in stable real soon now. :-) PS: But, my, CDRIO (note the 'R') ioctl for otherwise purely CDIO activity. That's gross... 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