SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

README file

  • Auto-autofs - generates an automounter map by scanning the system
    1. Dokumentation
    2. Installation 2.1. Requirements
      • autofs kernel support
      • procfs kernel support
      • Linux automount version 3 or 4
      • /usr/bin/perl
      • perl-gettext
      • a lot of standard tools (some of them are optional)

2.2. Installation guide
Follow the next steps (most only as root):

0) Install Linux Automount package (follow the

instructions from your distribution)

  1. Unpack the package and copy the files to /etc/auto-autofs/.
  2. Create a directory named /mnt.
  3. add to your /etc/auto.master: /mnt /etc/auto-autofs/auto-autofs (don't forget to make <Enter> after typing the line)
  4. run ./genpath.sh to generate the file auto-autofs.rc.path (you don't need all of the programms)
  5. Take a look at auto-autofs.rc.local you can run ./auto-autofs to see what happens
  6. restart the automount daemon with /etc/init.d/autofs reload or restart and check with /etc/init.d/autofs status that /mnt is an active mount point.
  7. run /etc/auto-autofs/auto-autofs everytime you want to refresh the HTML file and the *.desktop files. You should start it while booting and/or after adding or removing hardware. (call it in /etc/init.d/boot.local or so)
  8. Last but not least: Open /etc/auto-autofs/index.html in a webbrowser.
  9. Hints/Problems
    • devices/entries in your /etc/fstab will be IGNORED
    • comment out the entries/devices in fstab, if you want to use them with automount/auto-autofs (like floppy or cdrom)
    • Problems with Red Hat: you must disable the program updfstab
    • but in the index file, the /etc/fstab entries are shown as normal folders
    • check your partitions systems id's with fdisk, when they are wrong set there right
    • Icons are stolen from kde2 (download from: http://auto-autofs.sourceforge.net/download/)
    • eject/umounting only possible when the device is unused
    • "drag and drop" ../auto-autofs/devices/*.auto-autofs.desktop on your KDE desktop and try to eject devices with the help of the context menue (right mouse click)
    • ext2 Problems? Check if /sbin/fsck.ext2 exists.
    • reiserfs problems? You need the newest reiserfsprogs and the 2.6 format
    • set debug level in auto-autofs.rc.local to 3 to get debug messages
    • see /var/log/messages for more information
    • you can't see any direcory or mountpoint? This is a generally problem from linux that is called "unvisible mountpoints". You will see the mountpoints only when they are mounted. This problem is only resolvable by a linux guru writing a patch for "visible mountpoints". Until this you have to know how the mountpoint is called.
    • NTFS label support: you have to download the develeper version of ntfs-tools from http://linux-ntfs.sf.net/ 4. Audio and Video CD's
    • install cdfs from http://www.elis.rug.ac.be/~ronsse/cdfs/
    • see cdinfo.c in the ./contrib directory
    • Super Video CD's aren't supported now
    • run ./genpath.sh again 6. Packet-Writing + UDF
    • patch your kernel with the pktcdvd patch
    • install chkudf and udftools from http://linux-udf.sourceforge.net
    • and insert a udf-formated cdrw in your CD-ROM 7. ToDo
    • testing
    • more devices (I don`t have so much...)
    • usb, parallel-port, fire wire
    • better label support for more fs types
    • RAID and LVM
    • rewrite to a deamon


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.