lkml.org 
[lkml]   [2006]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: CD writing in future Linux (stirring up a hornets' nest)
Date
On Friday 10 February 2006 12:02, you wrote:
> Jan Engelhardt <jengelh@linux01.gwdg.de> wrote:
>
>
> > Right. The question was rather like this:
> > Say we have our non-stable /dev/sr0 mapping to /dev/sg0, and it has got BTL
> > 1,1,0. Now, if the user starts `cdrecord -dev=1,1,0`,
> > `ls -l /proc/$(pidof -s cdrecord)/fd/` should show (and in fact did when I
> > used ide-scsi back then) /dev/sg0, right?
> >
> > If so, what's wrong with just opening /dev/sg0 directly (as per user
> > request, i.e. cdrecord -dev=/dev/sg0) and sending the scsi commands down
> > the fd?
>
> As I did write _many_ times, this was done by the program "cdwrite" on Linux
> in 1995 and as cdwrite did not check whether if actually got a CD writer,
> cdwrite did destroy many hard disk drives just _because_ the /dev/sg*
> is non-stable.
>
> People did not believe this and did write shell scripts with e.g. /dev/sg0
> inside and later suffered from the non-stable /dev/sg* <-> device relation.

I am sure they used udev, back in 1995...

--
Greetings Michael.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-02-10 18:37    [W:0.251 / U:0.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site