Ich wollte bei mir jetzt auch endlich mal den Automounter einrichten, leider funktioniert aber garnichts...
meine Start_automount sieht so aus: (zum testen hab ich einfach die von http://cvs.tuxbox.org/tuxbox/cdk/root/e ... cvs-markup genommen)
diese habe ich in var/etc/init.d/ kopiert und Rechte 755 vergeben#!/bin/sh
# This script starts the automounter. It is basically an example that
# can be customized by the user.
# Useful commands:
# Force unmount of unused automounted file systems:
# kill -USR1 `cat /var/run/automount.pid`
# Unmount and exit cleanly:
# kill -TERM `cat /var/run/automount.pid`
# Production parameters
TIMEOUT=600
DEBUG=
VERBOSE=
# Use ghosting, does not break anything if kernel support not present.
GHOSTING=-g
# Debug parameters (note that DEBUG and VERBOSE are meaningful only with
# syslogd)
#TIMEOUT=30
#DEBUG=-d
#VERBOSE=-v
PIDFILE=/var/run/automount.pid
# The parent directory of AUTOFSMOUNT must be absolute, must exist,
# and be writeable. The AUTOFSMOUNTDIR should not exist.
#AUTOFSMOUNTDIR=/autofs
AUTOFSMOUNTDIR=/var/autofs
MAPFILE=/etc/auto.net
echo "Starting the automounter"
MD=/lib/modules/$(uname -r)/
# Load nfs-necessary modules.
# For CIF-stuff this needs to be extended
if [ -x /sbin/modprobe ] ; then
# If nfs-support is contained in the kernel, this will fail. The
# error can be ignored.
modprobe nfs
#modprobe cifs
else
insmod $MD/kernel/net/sunrpc/sunrpc.o
insmod $MD/kernel/fs/lockd/lockd.o
insmod $MD/kernel/fs/nfs/nfs.o
#insmod $MD/kernel/fs/cifs/cifs.o
fi
if [ ! -d /var/lock ]; then
mkdir /var/lock
fi
if [ -e $MAPFILE ] ; then
automount $DEBUG $GHOSTING $VERBOSE -t $TIMEOUT -p $PIDFILE $AUTOFSMOUNTDIR file $MAPFILE
fi
die auto.net habe ich in var/etc/ kopiert und enthält folgendes:
(mehr muss da ja nicht drinstehen oder?)Aufnahme -fstype=nfs,rw,soft,user=Oliver,password=XXXXXXX,unc=//192.168.2.109/Aufnahme //192.168.2.109/Aufnahme
wenn ich aber die Box neustarte und mit dem Movieplayer-Filebrowser auf var/autofs gehe ist dieses leer
Danke für eure Hilfe im voraus!
Gruß Oli