lkml.org 
[lkml]   [1999]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: strange mounting problem
    From toa@pop.agri.ch Tue Sep 21 20:29:03 1999

> You may check, just to be sure, that the kernel indeed sees
> the disk as removable. (It will say so in the boot messages.)

Ha, you're right, the kernel doesn't see the HP as removable, only the
sony is detected as a removable. (/var/log/dmesg)

Good. This explains why no check_media_change() was done.

> I seem to recall that you mentioned that this disk was SCSI-1
> and that things are fine for SCSI-2 compliant drives.

Yes.

> The ioctl BLKRRPART will do revalidate_scsidisk() which does
> the required invalidate_*().

This is somewhat Alan suggested to me. So I inserted the
ioctl(fd,BLKFLSBUF) directly into the eject code from Jeff Tranter.
This works so far.

Yes. I mentioned BLKRRPART and not BLKFLSBUF because the latter does
invalidate_buffers() but not invalidate_inodes(), and you want to do both,
I think.

Andries

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

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.029 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site