Re: sysfs

From: Andries.Brouwer@cwi.nl
Date: Mon Jan 13 2003 - 20:09:06 EST


> It looks like there is a missing scsi_set_device() call in scsiglue.c,

OK, added. Now rmmod usb-storage followed by insmod usb-storage
resulted in an oops, as usual, but after a fresh reboot:
Yes indeed, just like desired:

% ls -l /sysfs/block/sdb/device
... -> ../../devices/pci0/00:07.2/usb1/1-2/1-2.4/1-2.4.1/2:0:0:0

Good.
Now that you removed this scsi device from /sysfs/devices, I suppose
you'll also want to remove

/sysfs/devices/1:0:6:0

which is an Iomega ZIP drive on the parallel port, driver imm.c,
device sda.
(I can also do it but have no time now. Friday.)

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



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:48 EST