I'm trying to implement the --ghost option for a particular group of 
automounted items but it doesn't seem to work.

This is on a SLES 10 system.

The auto.master entry reads:

      /clamscan/master/          /clamscan/mapfiles/clam-av.map    -t 0 --ghost

and the status from autofs shows:

      Checking for service autofs:                                          
running
      Configured Mount Points:
      ------------------------
      /usr/sbin/automount /clamscan/master/ file /clamscan/mapfiles/clam-av.map 
t 0 ghost

      Active Mount Points:
      --------------------
      /usr/sbin/automount /clamscan/master/ file /clamscan/mapfiles/clam-av.map 
t 0 ghost

but when I go to the directory specified in the map file:

      abinodji        -fstype=nfs,soft        
zebulon:/clamscan/scanlogs/abinodji
      aitkin          -fstype=nfs,soft        lookout:/clamscan/scanlogs/aitkin

which if I have this right should be /clamscan/master there are no directories 
showing

      ingram:/clamscan/master # l
      total 4
      drwxr-xr-x 2 root root    0 Jan  7 12:48 ./
      drwxr-xr-x 5 root root 4096 Jan  7 12:32 ../

unless I navigate to it like I would expect in an on-demand fashion

      ingram:/clamscan/master # cd aitkin
      ingram:/clamscan/master/aitkin # l
      total 12
      drwxr-xr-x 2 root root 4096 Dec 17 16:42 ./
      drwxr-xr-x 3 root root    0 Jan  7 12:51 ../
      -rw-r--r-- 1 root root  205 Jan  7 00:35 aitkin.rootdir.log
      -rw-r--r-- 1 root root   11 Jan  7 00:01 lastscan.txt
      ingram:/clamscan/master/aitkin # df
      Filesystem           1K-blocks      Used Available Use% Mounted on
      --snip---
      lookout:/clamscan/scanlogs/aitkin
                            10325728    313984   9487232   4% 
/clamscan/master/aitkin

So what do I do? According to everything I've read, the ghost option should 
display all the mountpoints specified in the map file but it does not
appear to work. Any input appreciated.

-J

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to