View previous topic :: View next topic |
Author |
Message |
b1naryc0de Tux's lil' helper
Joined: 04 Mar 2005 Posts: 128 Location: Malaysia
|
Posted: Wed May 04, 2005 8:05 pm Post subject: autofs problem |
|
|
Hi.. I follow the guide in gentoo-wiki to install and use autofs.. but I'm stuck at this problem right now:
Code: | tux root # /etc/init.d/autofs start
* Starting automounter...
* No automount maps defined [ !! ]
|
|
|
Back to top |
|
|
gentsquash l33t
Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
|
Back to top |
|
|
b1naryc0de Tux's lil' helper
Joined: 04 Mar 2005 Posts: 128 Location: Malaysia
|
Posted: Thu May 05, 2005 3:53 am Post subject: |
|
|
I think maybe the problem from this file: /etc/conf.d/autofs
Code: | # Config file for /etc/init.d/autofs
# e.g. localoptions='rsize=8192,wsize=8192'
localoptions=''
# additional options for automount, ie. timeout
daemonoptions='--timeout 60'
# NIS
nis_mapname='auto.master'
# LDAP
# By default autofs-ldap-auto-master will check the old style structure defined
# here, and if that fails, it will check the new style structure before
# failing. If this generates too much traffic for you, just change to use the
# new style here.
ldap_mapname='auto.master'
# This is the classic style:
ldap_map_oc='nisMap'
ldap_entry_oc='nisObject'
ldap_map_key='nisMapName'
ldap_entry_key='cn'
ldap_value='nisMapEntry'
# This is the new style:
##ldap_map_oc='automountMap'
##ldap_entry_oc='automount'
##ldap_map_key='ou'
##ldap_entry_key='cn'
##ldap_value='automountInformation'
|
my other file: /etc/autofs/auto.master
Code: | # $Id: auto.master,v 1.3 2004/12/09 08:25:48 robbat2 Exp $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(8).
#/net /etc/autofs/auto.net
#/misc /etc/autofs/auto.misc
#/home /etc/autofs/auto.home
/mnt/auto /etc/autofs/auto.misc --timeout=60 |
/etc/autofs/auto.misc
Code: | # $Id: auto.misc,v 1.2 2002/10/27 05:21:15 bcowan Exp $
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
#boot -fstype=ext2 :/dev/hda1
#cd -fstype=iso9660,ro :/dev/cdrom
#floppy -fstype=auto :/dev/fd0
cdrom -fstype=iso9660,ro :/dev/cdrom
cdrw -fstype=iso9660,rw :/dev/cdrom1
floppy -fstype=auto :/dev/fd0 |
Are my setting right?? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|