From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: What is the purpose of AUTOFS_NEGATIVE_TIMEOUT? Date: Mon, 09 Aug 2004 16:21:23 -0700 Sender: autofs-bounces@linux.kernel.org Message-ID: <411806F3.3000906@zytor.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: autofs-bounces@linux.kernel.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Takashi Yoshizawa Cc: autofs@linux.kernel.org Takashi Yoshizawa wrote: > 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