Gentoo Archives: gentoo-user

From: Jim Hatfield <subscriber@××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Does the automounter support direct maps?
Date: Tue, 29 Nov 2005 18:22:38
Message-Id: ca5po1dmvj44evu8a4qc9vr4qsv5sshro0@4ax.com
1 The man page for auto.master(5) refers to direct maps, ie
2 "The mount-point for the direct map is always specified as /- in the
3 auto.master map."
4
5 My auto.master map looks like this:
6
7 >speyburn ~ # ypcat -k auto.master
8 >/home auto.home
9 >/mp auto.mp
10 >/- auto.direct
11
12 and my auto.direct map looks like this:
13
14 >speyburn ~ # ypcat -k auto.direct
15 >/users -rw,soft banff:/export/home/banff
16
17 So a reference to /users/username should result in
18 banff:/export/home/banff being mounted on /users - but
19 this does not happen, I get "no such file or directory".
20
21 Also I only have two automount daemons running, for the
22 two indirect maps. Can the Gentoo automounter handle direct
23 maps?
24
25 BTW while experimenting with this I found a funny in pam.
26 /etc/pam.d/xdm refers to pam_console.so, but there is
27 no such module in /lib/security. Is this provided by
28 a user package? I can't remember the incantation for searching
29 the whole package set for a single file, even if that
30 package isn't installed.
31
32 Also BTW is it worth reporting on errors in man pages?
33 The man page for autofs refers to /etc/autofs/init.d/autofs,
34 where it should be /etc/init.d/autofs.
35
36
37 --
38 gentoo-user@g.o mailing list