From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Bon Subject: Re: bug doing simple stat call to mountpoint Date: Mon, 06 Jun 2011 09:07:44 +0200 Message-ID: <4DEC7CC0.5050701@bononline.nl> References: <4DEBB25B.3020509@bononline.nl> <4DEBF6FD.8050407@bononline.nl> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4DEBF6FD.8050407@bononline.nl> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: autofs@linux.kernel.org On 06/05/2011 11:37 PM, Stef Bon wrote: > On 06/05/2011 06:44 PM, Stef Bon wrote: >> Hi, >> >> I'm using autofs 5.0.5, kernel 2.6.38.6. >> >> In the construction I'm working on I got the following error: >> >> stat /mnt/mount.md5key/sbon/0/0a8805e89f4cc6653185a4ec4335cca1 >> stat: cannot stat >> `/mnt/mount.md5key/sbon/0/0a8805e89f4cc6653185a4ec4335cca1': No such >> file or directory >> sbon [ >> /tmp/mount.md5key/users/sbon/cache/0a8805e89f4cc6653185a4ec4335cca1 >> ]$ ls /mnt/mount.md5key/sbon/0/0a8805e89f4cc6653185a4ec4335cca1 >> > > I've tried linux 2.6.39.1, and same behaviour. I'll try an older > kernel (2.6.37....) Oef I have found the cause of this. I had to add a trailing slash, like: stat /mnt/mount.md5key/sbon/0/0a8805e89f4cc6653185a4ec4335cca/ this makes the automount mount. Stef > > Stef > > _______________________________________________ > autofs mailing list > autofs@linux.kernel.org > http://linux.kernel.org/mailman/listinfo/autofs >