lkml.org 
[lkml]   [1999]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Funny SCSI thing with 2.2.1
Date
Followup to:  <Pine.SOL.3.91.990213231934.16750B-100000@cerberus.cs.tu-berlin.de>
By author: Raimi <raimi@cs.tu-berlin.de>
In newsgroup: linux.dev.kernel
>
> I wanted to write a CD as I did with 2.0.36 some weeks ago. The program I
> used was "cdwrite" which uses the generic scsi devices to write.
>
> I made cdwrite use /dev/sg3 being my cdwriter but when it started it used
> not the cdwriter but the harddisk containing my linux root filesystem !!!!
>
> The action luckily failed without error (besides a strange syslog message
> I don't have here). The filesystem was not harmed but my partition table
> was destroyed, I had to recover it with some DOS program...
>

You *DO* know the generic SCSI devices are counted starting with zero
(/dev/sg0), right? Look in /proc/scsi/scsi; each entry is one SCSI
device.

-hpa
--
"Linux is a very complete and sophisticated operating system. There
are, and will be, large numbers of applications available for it."
-- Paul Maritz, Group Vice President for Platforms And Applications,
Microsoft Corporation [Reference at: http://www.kernel.org/~hpa/ms.html]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.044 / U:1.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site