Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autofs problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
b1naryc0de
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2005
Posts: 128
Location: Malaysia

PostPosted: Wed May 04, 2005 8:05 pm    Post subject: autofs problem Reply with quote

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
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Thu May 05, 2005 2:35 am    Post subject: Reply with quote

Maybe this refers to file
Code:
/etc/autofs/auto.master

that you want to create.
Perhaps glance at

https://forums.gentoo.org/viewtopic.php?t=277721&highlight=autofs
http://freespace.sourceforge.net/guidod/howto/autofs.html
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
b1naryc0de
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2005
Posts: 128
Location: Malaysia

PostPosted: Thu May 05, 2005 3:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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