Re: strange mounting problem

Andreas Tobler (toa@pop.agri.ch)
Tue, 21 Sep 1999 15:36:20 +0200


Alan Cox wrote:
>
> > A short browse through the code I saw he's using generic (sg.h). He
> > distingushes between cdrom eject and scsi eject, as far as I can
> > understand. If there is a message sent to the kernel?? I have to look in.
>
> If he uses scsi generic he also needs to tell the kernel to revalidate that
> drive

I'm looking at it now. He uses the ioctl(SCSI_IOCTL_SEND_COMMAND,(void
*)&scsi_cmd) in case of NOT cdrom's. Is this just enough?

-
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/