Subject: replacing a simple NFS-mount with amd
To: None <current-users@NetBSD.ORG>
From: Hubert Feyrer <Hubert.Feyrer@rz.uni-regensburg.de>
List: current-users
Date: 02/03/1995 03:13:05
Hi all,

how do I replace a static NFS-mount with a automatic one done by amd
(AutoMountDaemon)?

Right now, I could do "mount srchost:/usr/src /usr/src", but as my srchost is
frequently down, I'd like to replace this with a automatic mount done by amd.

My problem is, I don't really know how to do this. Here's what I've tried:

- "amd /usr/src src-map", but then I don't see any directory when I do a
  "cd /usr/src". I'll have to go blindly to "sys" etc., which is not what I
  like.
- start amd with "amd /usr src-map", I'll probably get /usr/src mounted when I
  cd into it, but the minor disadvantage is my /usr-disk is shadowed by the
  amd's /usr then. ;-)

So, any smart suggestions on how to do a "mount host:/some/path /some/path"
when I cd /some/path? Any amd-maps & startup-options welcome. :)

(Disclaimer: Yes, I have RTFM, over and over again!)


Help please,

	Hubert

--
=============== Hubert Feyrer ============================================
      Weekdays: Rennerstr. 19, D-93053 Regensburg, Tel. 0941/943-2455
      Weekends: Bachstr. 40,   D-84066 Mallersdorf, Tel. 08772/6084
      Internet: hubert.feyrer@rz.uni-regensburg.de, IRC: hubertf
==========================================================================


-- 
=============== Hubert Feyrer ============================================
      Weekdays: Rennerstr. 19, D-93053 Regensburg, Tel. 0941/943-2455
      Weekends: Bachstr. 40,   D-84066 Mallersdorf, Tel. 08772/6084
      Internet: hubert.feyrer@rz.uni-regensburg.de, IRC: hubertf
==========================================================================