> This is a small patch I made for 2.3.7 (it apply fine to 2.3.10). It adds a
> generic IOCTL to the scsi layer that supports ejecting removable media like
> mo or scsi-zip.
> "eject /dev/sdd" works fine for me and my Fujitsu mo drive.
> It also cleans up sd_init_onedisk() when it try to scan a drive without medium
> in it.
I second this patch.
1) Never reading capacity from a non-present removable media can be only good.
2) Support ejecting of removable media is a good thing to have in the kernel
(IDE cdrom alredy have).
Ciao,
Riccardo.
-
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/