From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266883AbUGLQ05 (ORCPT ); Mon, 12 Jul 2004 12:26:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266884AbUGLQ04 (ORCPT ); Mon, 12 Jul 2004 12:26:56 -0400 Received: from natnoddy.rzone.de ([81.169.145.166]:38651 "EHLO natnoddy.rzone.de") by vger.kernel.org with ESMTP id S266883AbUGLQ0l (ORCPT ); Mon, 12 Jul 2004 12:26:41 -0400 From: Arnd Bergmann To: Peter Osterlund Subject: Re: [PATCH] CDRW packet writing support for 2.6.7-bk13 Date: Mon, 12 Jul 2004 18:25:47 +0200 User-Agent: KMail/1.6.2 Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, Jens Axboe , Andrew Morton References: <20040710232714.GA21633@infradead.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_Lur8AUYsgPYW6cT"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200407121825.47889.arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --Boundary-02=_Lur8AUYsgPYW6cT Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sonntag, 11. Juli 2004 03:06, Peter Osterlund wrote: > OK, I'll create a patch that gets rid of the ioctl interface and uses > an auxiliary character device instead to control device bindings. I don't think that's a good idea either. It will solve the udev problem, but it essentially means you're sneaking in system calls through the back door here. Maybe we can decide on one of the following approaches (or yet another one): - Do the ioctl call on the cdrom device through cdrom_ioctl() instead of the pktcdvd driver. You need to hook into the cdrom driver subsystem, but leave everything else as it is today. - Register all cdrom devices with pktcdvd as soon as they are detected. This needs some more changes to the cdrom subsystem, but gets rid of the need for the pktsetup interface because you can do the setup stuff at open time. - Merge pktcdvd completely into the cdrom subsystem so the existing cdrom device node passes everything down to pktcdvd if an RW medium is mounted writable. Arnd <>< --Boundary-02=_Lur8AUYsgPYW6cT Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA8ruL5t5GS2LDRf4RAgFqAKCdulXfB+7j9JWhYFdE10jlMv9uGwCfeHvW jOztZuQ7laGQ+kZleLG7dn4= =+dQx -----END PGP SIGNATURE----- --Boundary-02=_Lur8AUYsgPYW6cT--