The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NIS and automounter... Garry_Garrett AIX 2 02-27-2006 10:23 AM
automounter rkap UNIX for Dummies Questions & Answers 1 06-23-2005 06:00 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-19-2000
Registered User
 

Join Date: Nov 2000
Posts: 4
Question

I have this question in my study guide could anyone please help me with the answer and (explicit) explanation.

hostname: HOSTONE
automounter file: /etc/auto.home
entry: scps HOSTTWO:/export/home/scps

commands executed on HOSTONE, mark all commands where the automounter will be invoked.

a)cat /home/scps/anyfile
b)cat /home/sce/scps/anyfile
c)cat /export/home/scps/anyfile
d)cat /home/scps/anydir/anyfile
e)cat /home/anydir/scps/anyfile

Thanks very much.
Almendrita
Forum Sponsor
  #2  
Old 11-20-2000
Registered User
 

Join Date: Nov 2000
Posts: 36
Wink automountd

Hey Almendrita!

The right answer is :

A & D

This is because the define configuration in the question,
sets the automounter to be invoked whenever something within /home/scps is referenced.

the other options don't try to access /home/scps and therefore won't trigger the automounter.

Tip :By default the automounter mounts the dir for 10 minutes unless run with -t num_seconds.


Hezki
  #3  
Old 11-20-2000
Registered User
 

Join Date: Nov 2000
Posts: 4
Talking

Thanks a lot. I was confused with the /export/... I was not sure if it was part of the pathname.

Thanks again,
almendrita
  #4  
Old 11-20-2000
Registered User
 

Join Date: Nov 2000
Posts: 36
Post /export/home

hi,

home dirs are quite often , sometime by default are mounted by automountd on the fly...
usually to /export/home . (I always cancel it , cause I hate that feature )

but this is the location where the fixed data of the home dirs is kept. so if you try to access it( /export/home) , it won't mount anything, just like you enter a normal dir.

in our case, that directory is mapped from the second machine, so you should not worry there's a chance automountd will be invoked for /export on hostONE...
it's totally irrelevant if there's such directory or not.

Hezki
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0