All of lore.kernel.org
 help / color / mirror / Atom feed
* Laptop users with local home directory
@ 2010-02-26 14:15 Robert Lazzurs
  2010-02-27  3:09 ` Ian Kent
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Lazzurs @ 2010-02-26 14:15 UTC (permalink / raw)
  To: autofs

Hello,

I have a number of laptop users that have both a local home directory
on their laptop and a NFS mounted home directory when they are in the
office.

What they want to be able to do is only use the local home directory
as their current home directory when the NFS server is not available.
So for example using the replicated syntax I tried something similar
to the following for a map on /homes/

username nfsserver:/home/username localhost:/home/username

The passwd entry would then point the user home directory to /homes/username.

The issue with this currently is that autofs will always prefer a
local mount over a network mount, even with weighting.  Is there any
way to provide this facility in a similar way to the replicated syntax
without using a script for the map?

Thanks in advance.

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

end of thread, other threads:[~2010-02-27  3:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-26 14:15 Laptop users with local home directory Robert Lazzurs
2010-02-27  3:09 ` 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.