Summary: /home directory disappearing

From: Dan Penrod (penrod@whiplash.er.usgs.gov)
Date: Mon Feb 14 1994 - 20:29:03 CST


Sun Mangers:

Well, I have a solution to my missing /home directory problem. I received
7 replies all stating essentially the same thing; "Look at what automounter
is doing!". I had looked at automounter, but apparently not carefully
enough. I looked at how it was being invoked by /etc/rc.local and found:
> if [ -f /usr/etc/automount ]; then
> automount /net -hosts && echo -n ' automount'
> fi
I could clearly see that we were only using /net as a mount point and that
we were using the hosts NIS map to mount with. No references to /home
whatsoever!

Imagine my surprise when I discovered that automount looks for the existence
of the file named /etc/auto.master by default, that is, in addition to what
is specified as a command-line argument. I hadn't looked for an
/etc/auto.master because I assumed that it wouldn't be referenced anyway
(because of how I'm calling automount with /net -hosts). Sure enough,
there was an /etc/auto.master and it contained a reference to mounting
/hosts. The solution is to delete the file or remove the reference.
Simple.

Special thanks to Chuck Foley for his follow-up notes which helped me
nail it down! Many many thanks to the rest of Sun managers for their
valuable and correct input. I hope I didn't overlook anyone.
-------------------------
cfoley@arsenic.cray.com (Chuck Foley)
Gautam Das <gautam@bwc.org>
jkelly@falcon.deltam.com (Jim Kelly)
bernards@ECN.NL (Marcel Bernards)
DAN VILLANUEVA <DNV@AARYD1.cv.com>
glenn@uniq.com.au (Glenn Satchell)
vanbc!bchspd!bar (Bret A. Robinson)
-------------------------

-drp

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| _/ _/ _/_/_/_/ _/_/_/ _/_/_/_/ | Dan Penrod - Unix Administrator |
| _/ _/ _/ _/ _/ | USGS Center for Coastal Geology |
| _/ _/ _/_/_/_/ _/ _/_/ _/_/_/_/ | St. Petersburg, FL 33701 |
| _/ _/ _/ _/ _/ _/ | (813)893-3100 ext.3043 |
|_/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ | penrod@whiplash.er.usgs.gov |
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:55 CDT