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

Bug#273053: autofs: no kernel notifications for a "missing" or unmountable mount point (e.g. floppy)

On Wed, Dec 08, 2004 at 01:47:20AM +0100, Steinar H. Gunderson wrote:
> On Thu, Sep 23, 2004 at 05:31:09PM +0100, Luke Kenneth Casson Leighton wrote:
> > okay.  when a floppy drive is accessed, and there happens not to be a
> > floppy in the drive, you get an error "directory does not exist".
> > 
> > then you put a floppy _in_ the drive.... and access it .... and it
> > _still_ says "directory does not exist".
> > 
> > 30 seconds _later_ is a different story: access is granted.
> > 
> > ... what gives???
> Is this really an autofs bug, or are you complaining about the kernel not
> notifying autofs somehow? (In the latter case, the bug should be reassigned
> to a kernel package.)
 i found out what the problem is: the auto-timeout field in the autofs.h
 linux kernel header file is set to a ridiculously long time period 
 of 60 (sixty) seconds.

 from a useability perspective, a minute is an awfully long time for a
 floppy drive to just... "disappear".

 i have had to specially compile up a version of the debian kernel
 specifically with this timeout period reduced - hardcoded - to five
 now everything works as expected.


<a href="http://lkcl.net";>http://lkcl.net</a>

Reply to: