lkml.org 
[lkml]   [2004]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] CDRW packet writing support for 2.6.7-bk13
Date
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 <><
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.066 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site