autofs : how to build auto.misc file

  • Yann RICHET

    Yann RICHET - 2002-10-01


    I read the syntax for FTPFS, on the "usage" pages, but I did'nt find how to write my /etc/auto.misc file..

    May be you can give an example?



    • Florin Malita

      Florin Malita - 2002-10-02

      You already have the auto.ftpfs and auto.sshfs helpers, so you only need to hack /etc/auto.master.

      Here's mine:

      # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
      # Sample auto.master file
      # Format of this file:
      # mountpoint map options
      # For details of the format look at autofs(8).
      # /misc /etc/auto.misc  --timeout=60
      /mnt/net/ssh    /usr/local/bin/auto.sshfs         --timeout=60
      /mnt/net/ftp    /usr/local/bin/auto.ftpfs         --timeout=60

      then you can do stuff like 'cd /mnt/net/ftp/' or 'cd /mnt/net/ssh/'.

      this should work with 0.6.3.

      now some bad news: looks like the current CVS version doesn't play nice with autofs. still looking into it...

    • Yann RICHET

      Yann RICHET - 2002-10-04

      it works nice, but it seems the owner of the directory /mnt/net/ftp/ is the root...
      It's a problem if i want to modify the files in this directory without root permissions...

      have a solution?



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks