All of lore.kernel.org
 help / color / mirror / Atom feed
* statfs() and autofs
@ 2008-07-15 20:48 Chris Walker
  2008-07-16  3:43 ` Ian Kent
  0 siblings, 1 reply; 18+ messages in thread
From: Chris Walker @ 2008-07-15 20:48 UTC (permalink / raw)
  To: autofs

autofs 5.0.3
linux 2.6.18

When statfs() is called on an automounted directory, it returns before
the automount occurs. This results in output like this initially:

% df /home/XXX
Filesystem           1K-blocks      Used Available Use% Mounted on
-                            0         0         0   -  /home

If df is run a second later,

% df /home/XXX
Filesystem           1K-blocks      Used Available Use% Mounted on
XXX:/home/XXX
                      80634688  77952736   2681952  97% /home/XXX

Perhaps there are options of which I'm not aware to mitigate this
behavior.

Apologies if the answer to my query lies elsewhere in the kernel.

-- 
Chris Walker -- cwalker@pixar.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2008-08-04 17:17 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-15 20:48 statfs() and autofs Chris Walker
2008-07-16  3:43 ` Ian Kent
2008-07-16  5:21   ` Jonathan Loran
2008-07-20 22:24     ` Jim Carter
2008-07-21  3:41       ` Chris Walker
2008-07-21  4:39         ` Ian Kent
2008-07-21  4:56           ` Ian Kent
2008-07-21  5:00           ` Chris Walker
2008-07-21  5:12             ` Ian Kent
2008-07-21  5:08           ` Jonathan Loran
2008-07-21  5:50             ` Chris Walker
2008-07-21  7:35               ` Ian Kent
2008-07-22 16:39                 ` Chris Walker
2008-07-23 21:39                   ` Chris Walker
2008-08-04 17:17                   ` Chris Walker
2008-07-21 15:26           ` Steve Thompson
2008-07-16  5:30   ` Chris Walker
2008-07-16 14:05     ` Ian Kent

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.