Re: [PATCH] CDRW packet writing support for 2.6.7-bk13
From: Arnd Bergmann
Date: Mon Jul 12 2004 - 11:28:25 EST
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 <><
Attachment:
pgp00000.pgp
Description: signature