What is the purpose of AUTOFS_NEGATIVE_TIMEOUT?
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
Ian Kent
maintainerQuoted 6 lines · Takashi Yoshizawa
Hi,
AUTOFS_NEGATIVE_TIMEOUTis defined inautofs_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
Quoted 6 lines · Takashi Yoshizawa
Hi,
AUTOFS_NEGATIVE_TIMEOUTis defined inautofs_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