AUTOMOUNT2AMD(8L)

πŸ“¦ version 6.2.0, in fedora 43, fedora 44

πŸ’– AUTOMOUNT2AMD(8L) πŸ’–

okay bestie, so this is automount2amd β€” a little perl script from the 8L section of the manual that takes your crusty old Sun automount maps and glow-ups them into shiny Amd maps. no cap, it's giving time traveler energy.


✨ NAME ✨

automount2amd β€” converts old Sun automount maps to Amd maps πŸ¦‹


🌸 SYNOPSIS 🌸

automount2amd auto.map

like that's literally it, one argument, she's low maintenance πŸ’…


πŸ’« DESCRIPTION πŸ’«

so automount2amd is the girl who takes an old Sun automount map called auto.map and converts it into an Amd map. she's a perl script, she's humble, she works.

by default she's gonna use this /default entry:

type:=nfs;opts:=rw,grpid,nosuid,utimeout=600

and if that vibe isn't your vibe? you can override it by defining the $DEFAULTS environment variable, or by modifying the script itself. your call, bestie 🫢

and if you wanna generate Amd maps using the hostd (host domain) Amd map syntax, then define the environment variable $DOMAIN, or again β€” just modify the script. she's flexible like that ✨


πŸŽ€ EXAMPLE πŸŽ€

okay so picture this. you have a Sun automount file called auto.foo, and it has these two lines:

home                  earth:/home
moon  -ro,intr        server:/proj/images

then you run:

automount2amd auto.foo > amd.foo

and boom πŸ’₯ you get the Amd map amd.foo with this content:

# generated by automount2amd on Sat Aug 14 17:59:32 US/Eastern 1999

/defaults \
  type:=nfs;opts:=rw,grpid,nosuid,utimeout=600

home   host==earth;type:=link;fs:=/home \
  rhost:=earth;rfs:=/home

moon   -addopts:=ro,intr \
  host==server;type:=link;fs:=/proj/images \
  rhost:=server;rfs:=/proj/images

ate, no crumbs πŸ”₯


😭 BUGS 😭

ngl this is the part where we hold hands. automount2amd does not understand newer Sun Automount map syntax β€” specifically the ones used by autofs. she's old school, she doesn't know those newer girlies. periodt. πŸ’€

🌈 SEE ALSO 🌈

  • conv2amd(8), amd(8). πŸ’œ
  • the ``am-utils'' info(1) entry. ⭐
  • Linux NFS and Automounter Administration by Erez Zadok, ISBN 0-7821-2739-8, (Sybex, 2001). πŸ“š
  • http://www.am-utils.org 🌐
  • Amd - The 4.4 BSD Automounter πŸ‘‘

πŸ‘‘ AUTHORS πŸ‘‘

original author: Mike Walker <mike@tab00.larc.nasa.gov>. 🫑

script modified by Erez Zadok <ezk@cs.sunysb.edu>, Computer Science Department, Stony Brook University, Stony Brook, New York, USA. 🌸

other authors and contributors to am-utils are listed in the AUTHORS file distributed with am-utils β€” go give them their flowers πŸ’


and that's the whole page, bestie!! this one dropped way back on 24 May 1993, and it lives under the AUTOMOUNT2AMD(8L) manual header. fr fr, 1993 said "let me cook" and she did. 🧚✨

πŸ“¦ where this page comes from