LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-13-2008, 06:22 AM   #1
myhnet
LQ Newbie
 
Registered: Jun 2008
Posts: 15

Rep: Reputation: 0
strange! can't use auto.nis as the file name for autofs service


hi, guys, I find a very strange stuff in both CentOS and RHEL 5.1 (32bit, installed in VMware workstation):
the same content (as below) in /etc/auto.nis and /etc/auto.test
Code:
#
# $Id: auto.misc,v 1.2 2003/09/29 08:22:35 raven 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

#cd             -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
*               -rw,soft        server:/home/&

# the following entries are samples to pique your imagination
#linux          -ro,soft,intr           ftp.example.org:/pub/linux
#boot           -fstype=ext2            :/dev/hda1
#floppy         -fstype=auto            :/dev/fd0
#floppy         -fstype=ext2            :/dev/fd0
#e2floppy       -fstype=ext2            :/dev/fd0
#jaz            -fstype=ext2            :/dev/sdc1
#removable      -fstype=ext2            :/dev/hdd
when I use /etc/auto.nis in /etc/auto.master:
Code:
/home   /etc/auto.nis --timeout=60
autofs doesn't work, but it works with /etc/auto.test or other suffix:
Code:
/home   /etc/auto.test --timeout=60
anyone met the same problem as mine? Is it a bug or just I did sth. wrong?
anything reply with be welcome! thx
 
Old 07-13-2008, 11:21 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
What do you mean "doesn't work".
 
Old 07-14-2008, 11:29 PM   #3
myhnet
LQ Newbie
 
Registered: Jun 2008
Posts: 15

Original Poster
Rep: Reputation: 0
well, there is a directory named test in /home in the server.
but when I enter cd /home/test in the client it showed me that the file or directory is not available(which should be availalbe)

and, when use auto.test as the file name, everyting goes fine

Last edited by myhnet; 07-14-2008 at 11:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
autofs and NIS ljs Linux - Networking 0 10-16-2006 06:07 AM
autofs with NIS lnchrs Linux - Networking 0 03-01-2005 03:36 PM
Linux autofs: can it work without NIS? kbshaq Linux - Networking 1 02-16-2005 08:52 PM
NIS and autofs with /home Rekna Linux - Networking 1 06-20-2004 11:34 PM
autofs enabled in kernel but auto.mount and auto.master are NOT in /etc! Alybyzrp Linux - General 0 11-11-2003 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration