patch-2.0.4 linux/drivers/scsi/sd.c

Next file: linux/drivers/scsi/st.c
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.3/linux/drivers/scsi/sd.c linux/drivers/scsi/sd.c
@@ -1388,7 +1388,8 @@
 static int sd_detect(Scsi_Device * SDp){
     if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0;
     
-    printk("Detected scsi disk sd%c at scsi%d, channel %d, id %d, lun %d\n", 
+    printk("Detected scsi %sdisk sd%c at scsi%d, channel %d, id %d, lun %d\n", 
+           SDp->removable ? "removable " : "",
 	   'a'+ (sd_template.dev_noticed++),
 	   SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); 
     

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov