All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Takashi Yoshizawa <mz711@hotmail.com>
Cc: autofs@linux.kernel.org
Subject: Re: What is the purpose of AUTOFS_NEGATIVE_TIMEOUT?
Date: Mon, 09 Aug 2004 16:21:23 -0700	[thread overview]
Message-ID: <411806F3.3000906@zytor.com> (raw)
In-Reply-To: <BAY18-F10AKYVpMmOlb0000761f@hotmail.com>

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

  parent reply	other threads:[~2004-08-09 23:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-28 10:03 What is the purpose of AUTOFS_NEGATIVE_TIMEOUT? Takashi Yoshizawa
2004-08-06  2:56 ` Ian Kent
2004-08-09 23:21 ` H. Peter Anvin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-08-11  5:27 Takashi Yoshizawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=411806F3.3000906@zytor.com \
    --to=hpa@zytor.com \
    --cc=autofs@linux.kernel.org \
    --cc=mz711@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.