1AUTOMOUNT2AMD(8L) AUTOMOUNT2AMD(8L)
2
3
4
6 automount2amd - converts old Sun automount maps to Amd maps
7
9 automount2amd auto.map
10
12 automount2amd is used to convert an old Sun automount maps named
13 auto.map to an Amd map.
14
15 This perl script will use the following /default entry
16 type:=nfs;opts:=rw,grpid,nosuid,utimeout=600
17 If you wish to override that, define the $DEFAULTS environment vari‐
18 able, or modify the script.
19
20 If you wish to generate Amd maps using the hostd (host domain) Amd map
21 syntax, then define the environment variable $DOMAIN or modify the
22 script.
23
24
26 Say you have the Sun automount file auto.foo, with these two lines:
27 home earth:/home
28 moon -ro,intr server:/proj/images
29 Running
30 automount2amd auto.foo > amd.foo
31 will produce the Amd map amd.foo with this content:
32 # generated by automount2amd on Sat Aug 14 17:59:32 US/Eastern 1999
33
34 /defaults \
35 type:=nfs;opts:=rw,grpid,nosuid,utimeout=600
36
37 home host==earth;type:=link;fs:=/home \
38 rhost:=earth;rfs:=/home
39
40 moon -addopts:=ro,intr \
41 host==server;type:=link;fs:=/proj/images \
42 rhost:=server;rfs:=/proj/images
43
45 automount2amd does not understand newer Sun Automount map syntax, those
46 used by autofs.
47
49 conv2amd(8),amd(8).
50
51 ``am-utils'' info(1) entry.
52
53 Linux NFS and Automounter Administration by Erez Zadok, ISBN
54 0-7821-2739-8, (Sybex, 2001).
55
56 http://www.am-utils.org
57
58 Amd - The 4.4 BSD Automounter
59
61 Original author Mike Walker <mike@tab00.larc.nasa.gov>. Script modi‐
62 fied by Erez Zadok <ezk@cs.sunysb.edu>, Computer Science Department,
63 Stony Brook University, Stony Brook, New York, USA.
64
65 Other authors and contributors to am-utils are listed in the AUTHORS
66 file distributed with am-utils.
67
68
69
70 24 May 1993 AUTOMOUNT2AMD(8L)