> Hi List,
>           I have problem in figuring out how does the
> scsi subsytem comes to know that scsi disk on the scsi
> backplane is a removable disk.

Have a look at scsi_scan.c - if bit 8 of the second byte
to be returned (from the scsi inquiry command) is set
(i.e. the HA driver/drive has returned that the drive
is removable) or if the drive is on the black list as 
BLIST_ISDISK or BLIST_ISROM, removable is set.

> And is there any message generated on the console so
> that the user comes to know that the removable disk
> has been detected.
> 
> Any help in this regard will be highly appreciated.

sd.c printks something like:
"Detected scsi disk sda at scsi ...." etc. if non removable, or:
"Detected scsi removable disk sda at scsi ...." if removable.

Cheers,
        Mark.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to