I use the kernel "Detected scsi disk ...." messages to present
graphical information about the system disk configuration.
i found very useful that those messages says if the disk is
removable or not !
so here is a little patch to do this :
==========================cut here==================
--- sd.c.orig Wed Jul 3 17:24:16 1996
+++ sd.c Wed Jul 3 16:45:56 1996
@@ -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);
==========================cut here==================
===============================================================================
| _ | dan@lectra.fr |
| __/ _ _ o _ / /_) _ _ / _ | |
| (_/ (_(_ / ) ( (-' / /\ (_) (_ /) (-' | May the source be with |
| | you !! |
===============================================================================