Skip to contentSkip to conversation

What is the purpose of AUTOFS_NEGATIVE_TIMEOUT?

DISCUSSION Takashi Yoshizawa 3 participants 3 messages Jul 28, 2004 – Aug 9, 2004 Kernel automounter

lore
Share & tools
lore
#0 lore raw

Hi,

AUTOFS_NEGATIVE_TIMEOUT is defined in autofs_i.h. I want to know this purpose. In case of CD, "ls /mnt/cd/" without CD doesn't mount, and then insert CD, "ls /mnt/cd/" doesn't too. Why? I want it mount immediately.

Regards,
Takashi Yoshizawa

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

maintainer
#1 lore raw
Quoted 6 lines · Takashi Yoshizawa

Hi,

AUTOFS_NEGATIVE_TIMEOUT is defined in autofs_i.h. I want to know this purpose.
In case of CD, "ls /mnt/cd/" without CD doesn't mount, and then insert CD, "ls /mnt/cd/" doesn't too. Why? I want it mount immediately.

You didn't specify your software setup including versions?

Ian

#2 lore raw
In reply to Takashi Yoshizawa
Quoted 6 lines · Takashi Yoshizawa

Hi,

AUTOFS_NEGATIVE_TIMEOUT is defined in autofs_i.h. I want to know this purpose. In case of CD, "ls /mnt/cd/" without CD doesn't mount, and then insert CD, "ls /mnt/cd/" doesn't too. Why? I want it mount immediately.

autofs is not the tool of choice for removable media. A volume-insertion daemon is.

The reason for the negative timeout is to keep an unprivileged user from DoSing the system.

-hpa