public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* cd burning: kernel / userspace?
@ 2004-08-10  9:51 Alan Jenkins
  2004-08-10 22:05 ` Wakko Warner
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Alan Jenkins @ 2004-08-10  9:51 UTC (permalink / raw)
  To: linux-kernel

I've followed the latest cdrecord "discussion" on the list, and I can't 
see why you have to use a userspace program which talks SCSI in order to 
burn a cd.

The current Mount Rainer allows you to treat a MR formatted CD-RW as a 
big floppy disk - to read and write to /dev/cdrecorder just like 
/dev/floppy.  The packet writing patch takes a different approach - 
using a separate device which is bound to the cdrecorder device, but 
AFAIK this is a temporary measure, and the ultimate goal is make this 
work the same way - the way the user would expect:

1. Insert a recordable media (e.g. cdrw).
2. Perform any necessary formatting (e.g. cdmrw -d /dev/cdrecorder -f full)
3. Access cdrecorder device (e.g. mount /dev/cdrecorder -tudf -onoatime 
/mnt/cdrecorder)

Why can't a similar method be used for DAO writing?  Packet writing and 
Mount Rainer support belongs in the kernel - why not normal cd burning?  
On modern "burnproof" hardware, it should be possible to use dd to write 
your disk image to the cdrecorder device.  I'm guessing that this just 
isn't as interesting, especially with userspace programs available to do 
the job.

Unfortunately I'm no kernel hacker, so I have no idea whether this is 
practical, and if so how much work would be involved.  I have plenty of 
time to investigate the idea, and upgrade myself from a mere C 
programmer.  Any advice would be appreciated.

Alan Jenkins

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-08-16 21:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-10  9:51 cd burning: kernel / userspace? Alan Jenkins
2004-08-10 22:05 ` Wakko Warner
     [not found]   ` <4119DFB0.6050204@phonecoop.coop>
     [not found]     ` <20040811164109.GA18761@animx.eu.org>
2004-08-11 21:03       ` Alan Jenkins
2004-08-11 21:33         ` Wakko Warner
2004-08-11 21:43           ` Alan Jenkins
2004-08-12  0:12             ` Wakko Warner
2004-08-12  9:07               ` Alan Jenkins
2004-08-12 12:37               ` Sergey Vlasov
2004-08-12 23:06   ` Kevin Fox
2004-08-13  0:13     ` Wakko Warner
2004-08-16 21:37       ` David Lang
2004-08-10 23:50 ` Valdis.Kletnieks
2004-08-16 20:47 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox