1 |
On Sunday 06 January 2008, Stroller wrote: |
2 |
> Hi there, |
3 |
> |
4 |
> I was on #gentoo yesterday asking about autofs & someone recommended |
5 |
> ivman instead. |
6 |
> Which does gentoo-users think I should use? |
7 |
|
8 |
Dilemmas like this are best resolved by finding out what problem a |
9 |
technology was designed to solve. |
10 |
|
11 |
A good example of the kind of problem autofs solves is exporting home |
12 |
directories on a large server that has many accounts, used in |
13 |
conjunction with NFS and NIS, and anyone can log in from any |
14 |
workstation at any time. This scenario is common - think thin clients |
15 |
|
16 |
Say you have 100 accounts and user joe logs onto the network. You |
17 |
*could* export /home to his workstation, but that exposes everyone |
18 |
else's homedir as well. With autofs you essentially tell the server |
19 |
that this is user joe, it exports his home dir on the fly, creates a |
20 |
directory /home/joe on his workstation (/home must already exist)and |
21 |
mounts the NFS export there. |
22 |
|
23 |
Now, you don't appear to be doing something like that :-) |
24 |
|
25 |
You can do many wonderful things with autofs, but it often involves |
26 |
complex hacks and workarounds, which is the impetus for other solutions |
27 |
to be developed, like ivman. |
28 |
|
29 |
-- |
30 |
Alan McKinnon |
31 |
alan dot mckinnon at gmail dot com |
32 |
-- |
33 |
gentoo-user@l.g.o mailing list |