Jeremy -
okay, I'm up. I had a little misconception about the
kernel interface (didn't realize it was a module. sheesh!).
I also had to adjust my "auto.home" program map to return (key,remote) pairs,
so I guess this is new.
anyone have advice for an elegant way to setup direct maps
for mounts in / with autofs4? (i.e., the /- mechanism in solaris
maps).
thanks,
-Russ
At 6:44 PM -0800 3/24/00, Russ Tremain wrote:
>At 5:13 PM -0800 3/24/00, Jeremy Fitzhardinge wrote:
>>On 24-Mar-00 Russ Tremain wrote:
>>> I'm suspicious of:
>>>
>>> Mar 24 14:03:55 milk automount[766]: using kernel protocol version 3
>>>
>>> Shouldn't this be vesion 4? If so, then back to the drawing
>>> board for my kernel config.
>>
>>Yep, it should say 4. Are you using it as a module or compiled in?
>>
>> J
>
>well, I think I'm using modules, but I'm new at this.
>when I do a lsmod it says this:
>
>[root@milk]# lsmod | grep autofs
>autofs 8964 6 (autoclean)
>
>so maybe I just need to install the new module?
>
>I don't think I did this.
>
>While I have your ear, can you tell me if this looks like the correct
>kernel source:
>
>-rw-r--r-- 1 root root 659 Mar 24 17:17 fs/autofs/Makefile
>-rw-r--r-- 1 root root 5135 Mar 24 17:17 fs/autofs/autofs_i.h
>-rw-r--r-- 1 root root 5935 Mar 24 17:17 fs/autofs/expire.c
>-rw-r--r-- 1 root root 927 Mar 24 17:17 fs/autofs/init.c
>-rw-r--r-- 1 root root 9163 Mar 24 17:17 fs/autofs/inode.c
>-rw-r--r-- 1 root root 1532 Mar 24 17:17 fs/autofs/inohash.c
>-rw-r--r-- 1 root root 17258 Mar 24 17:17 fs/autofs/root.c
>-rw-r--r-- 1 root root 1162 Mar 24 17:17 fs/autofs/symlink.c
>-rw-r--r-- 1 root root 6677 Mar 24 17:17 fs/autofs/waitq.c
>-rw-r--r-- 1 root root 2840 Mar 24 17:17 include/linux/auto_fs.h
>
>
>i.e., dir.c & dirhash.c are no longer needed?
>
>thanks,
>-Russ