Automounter help needed

Automounter help needed

Post by Shankar Unn » Sat, 06 Apr 1996 04:00:00



Is there any way to describe an "amd" map that is equivalent to the
"-hosts" map of the sun automounter?

What I want is a setup where a reference to '/net/hostname/..." (or
whatever) causes a mount of all filesystems that are available from
hostname, automatically.

Thanks,
--

Chromatic Research                            (408) 752-9100

 
 
 

Automounter help needed

Post by Shankar Unn » Fri, 12 Apr 1996 04:00:00



> Is there any way to describe an "amd" map that is equivalent to the
> "-hosts" map of the sun automounter?

OK, here's an answer to my own question:

# /usr/sbin/amd -a /tmp_mnt /net /etc/amd.net.map

Where /etc/amd.net.map looks like:

/defaults  type:=host;fs:=${autodir}/${rhost}/root;rhost:=${key}
*          opts:=rw,nosuid,grpid

--

Chromatic Research                            (408) 752-9100

 
 
 

1. am-util ( automounter ) help needed

Hi,
The system is RedHat 5.2 ( 2.0.36 kernel with autofs enabled ), Intel.
It contains am-utils-6.0a16-4 rpm ( and portmap-4.0-12 ).
After reading the /usr/doc/am-utils-6.0/am-utils.ps I think I need a kick
in order to be able to use it.
I would like to achieve the following :
        /dev/fd0 auto-mounts as /mnt/floppyA
        /dev/cdrom auto-mounts as /mnt/cdrom
In both cases with 10 seconds time to "auto-dismount" ( so that the user
can put a floppy or cd into the appropriate drive, "play" with it, and
then remove it ).
In case of /dev/fd0, I would like to mount it as "auto" ( it may be ext2,
or msdos, ro ... floppy inserted ), and I would like to give "any" user
"rw" privileges.
The current /etc/amd.conf ( as delivered with am-utils-6.0a16-4 ) is :
-------------------------
/defaults fs:=${autodir}/${rhost}/root/${rfs};opts:=nosuid,nodev
*       rhost:=${key};type:=host;rfs:=/
-------------------------
which I think is not needed.
Could someone, please give me an example /etc/amd.conf which does what I
need ( up to now I've been using an autofs-3.1.1-4 rpm, but now I would
like to switch to amd, unfortunately I think I need a kick ... ).
Thanks in advance,
Jacek.

2. How to get background task to not return prcess # and 'done' line

3. Automounter - help needed for heirarchial mounting situation

4. drug&drop crashes my CDE!

5. automounter - help needed in hierarchial mount situation

6. install problems - help appreciated

7. Need help locating NFS automounter

8. network connection refused by server

9. amd (am-utils, automounter) -- need help

10. need help: automounter, no TeX, just want docs.

11. : i need help by amd[automounter]

12. AUTOMOUNTER/CACHEFS Help Needed/Appreciated

13. : i need help by amd [automounter]