All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Bon <stef@bononline.nl>
To: autofs@linux.kernel.org
Subject: Re: bug doing simple stat call to mountpoint
Date: Sun, 05 Jun 2011 19:26:15 +0200	[thread overview]
Message-ID: <4DEBBC37.8020205@bononline.nl> (raw)
In-Reply-To: <4DEBB25B.3020509@bononline.nl>

  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
> <gives contents as expected>
>
> The automounter does not call the mount command in the first case, and 
> like it should in the second.
>
> mount | grep 55ed
> //SCLFS20091030/sbon on 
> /mnt/mount.md5key/sbon/0/55ed21dee4bb9604117a013e57dc5690 type cifs (rw)
>

I'm sorry I'm mixing two mountpoints here:

mount | grep 0a88
//SCLFS20091030/ftp on 
/mnt/mount.md5key/sbon/0/0a8805e89f4cc6653185a4ec4335cca1 type cifs (rw)

and

stat /mnt/mount.md5key/sbon/0/0a8805e89f4cc6653185a4ec4335cca1
   File: `/mnt/mount.md5key/sbon/0/0a8805e89f4cc6653185a4ec4335cca1'
   Size: 0               Blocks: 0          IO Block: 16384  directory
Device: 18h/24d Inode: 2           Links: 692
Access: (0755/drwxr-xr-x)  Uid: ( 4024/    gast)   Gid: ( 3000/netgroup)
Access: 2011-06-05 18:36:16.283327100 +0200
Modify: 2011-05-08 23:30:59.245301800 +0200
Change: 2011-05-08 23:30:59.245301800 +0200

Stef

  reply	other threads:[~2011-06-05 17:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-05 16:44 bug doing simple stat call to mountpoint Stef Bon
2011-06-05 17:26 ` Stef Bon [this message]
2011-06-05 21:37 ` Stef Bon
2011-06-06  7:07   ` Stef Bon
2011-06-07  4:32     ` Ian Kent

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=4DEBBC37.8020205@bononline.nl \
    --to=stef@bononline.nl \
    --cc=autofs@linux.kernel.org \
    /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.