[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] getmntent



Hi,

On Sat, Sep 25, 1999 at 11:26:47AM +0200, Julian Reschke wrote:
> 
> > From: owner-mint@fishpool.com [mailto:owner-mint@fishpool.com]On Behalf
> > Of Petr Stehlik
> > Sent: Friday, September 24, 1999 12:22 PM
> > Cc: mint@fishpool.com
> > Subject: RE: [MiNT] getmntent
> >
> >
> > On Thu, 23 Sep 1999, Julian Reschke wrote:
> >
> > > Detecting whether a medium is there will always require drive
> > accesses which
> > > might be slow when nothing is in.
> >
> > Is there any way how to make the check of empty drive faster? BTW I
> > thought all drives with removable medias contain a hardware detection that
> > allow them to report "empty" state even without seeking with the heads for
> > several seconds. Any chance our harddisk drivers wouldn't use such
> > information?
> 
> No, they don't. At least not in general.

What if the kernel cached that information?  Is that possible?

Ciao

Guido