Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Struggling with amd(8) on NetBSD
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tristram Scott  
View profile  
 More options Mar 21 2012, 12:29 pm
Newsgroups: comp.sys.sun.admin
From: tristram.sc...@ntlworld.com (Tristram Scott)
Date: Wed, 21 Mar 2012 16:29:09 +0000 (UTC)
Local: Wed, Mar 21 2012 12:29 pm
Subject: Re: Struggling with amd(8) on NetBSD
In comp.sys.sun.admin Volker Borchert <v_borch...@despammed.com> wrote:
> Hi all

> I am trying to set up amd(8) to automount server:/{home,tools,archive}
> as /{home,tools,archive}, on a machine running NetBSD-1.5.1 (pretty old,

[snip]

I am not sure about NetBSD, but under solaris the idea is this:

In /etc/auto_master, have a line referring to a direct map file:

+auto_master
/net            -hosts          -nosuid,nobrowse
/home           auto_home       -nobrowse
/-   auto_direct

In auto_direct, list your keys and the associated filesystems:

/somedir   somehost:/export/somedir
/anotherdir   anotherhost:/theotherdir

You may need to restart the automountd process or some of its friends.

The important thing seems to be that you use auto_master to list the names
of map files, so auto_home and auto_direct for the example above, and then,
in the map files (/etc/auto_direct) you list the mappings.  For direct
mappings, you need to use the /- key in auto_master.  direct mappings are
what you want here, as they specify absolute paths, not relative ones.

Man automount (1M) has the explanation under Solaris.

--
Dr Tristram J. Scott              
Energy Consultant                  


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.