<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linux autofs question in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-autofs-question/m-p/2847254#M2901</link>
    <description>Well, I did some tests on a RH 7.3 box, and this is what I've seen work:&lt;BR /&gt;&lt;BR /&gt;--snip: /etc/auto.master--&lt;BR /&gt;/tmp/blah /etc/auto.tmp -DMACHINE=notes&lt;BR /&gt;--snip--&lt;BR /&gt;&lt;BR /&gt;--snip: /etc/auto.tmp--&lt;BR /&gt;*               -fstype=nfs             ${MACHINE}:/var/local/shares&lt;BR /&gt;--snip--&lt;BR /&gt;&lt;BR /&gt;This worked succesfully.&lt;BR /&gt;&lt;BR /&gt;What version of the Auto-mounter, what kernel, what OS ?&lt;BR /&gt;&lt;BR /&gt;Try without the '--fstype=autofs,' part, and see if the problem also continues (it's obviously NFS, and MOUNT should be intelligent enough to recognise that).</description>
    <pubDate>Mon, 18 Nov 2002 23:21:53 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2002-11-18T23:21:53Z</dc:date>
    <item>
      <title>Linux autofs question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-autofs-question/m-p/2847253#M2900</link>
      <description>Hi admins:&lt;BR /&gt;&lt;BR /&gt;Here is an excerpt of my /etc/auto.master file:&lt;BR /&gt;&lt;BR /&gt;--snip--&lt;BR /&gt;/tools yp:auto_tools --fstype=autofs,-DNFS_SERVER=hpnfs001&lt;BR /&gt;--snip--&lt;BR /&gt;&lt;BR /&gt;And here is auto_tools:&lt;BR /&gt;--snip--&lt;BR /&gt;* ${NFS_SERVER}:/tools/${OSNAME}/${OSREL}/&amp;amp;&lt;BR /&gt;--snip--&lt;BR /&gt;&lt;BR /&gt;This config does not work, as the variable NFS_SERVER is not expanded.&lt;BR /&gt;&lt;BR /&gt;My question is: how can I define a variable (as with HP-Ux and AUTOMOUNTD_OPTIONS) that can be used within map files?&lt;BR /&gt;&lt;BR /&gt;Any workaround?&lt;BR /&gt;&lt;BR /&gt;Thanks for help!&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;&lt;BR /&gt;/Brian</description>
      <pubDate>Mon, 18 Nov 2002 19:16:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-autofs-question/m-p/2847253#M2900</guid>
      <dc:creator>Brian Kennedy</dc:creator>
      <dc:date>2002-11-18T19:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Linux autofs question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-autofs-question/m-p/2847254#M2901</link>
      <description>Well, I did some tests on a RH 7.3 box, and this is what I've seen work:&lt;BR /&gt;&lt;BR /&gt;--snip: /etc/auto.master--&lt;BR /&gt;/tmp/blah /etc/auto.tmp -DMACHINE=notes&lt;BR /&gt;--snip--&lt;BR /&gt;&lt;BR /&gt;--snip: /etc/auto.tmp--&lt;BR /&gt;*               -fstype=nfs             ${MACHINE}:/var/local/shares&lt;BR /&gt;--snip--&lt;BR /&gt;&lt;BR /&gt;This worked succesfully.&lt;BR /&gt;&lt;BR /&gt;What version of the Auto-mounter, what kernel, what OS ?&lt;BR /&gt;&lt;BR /&gt;Try without the '--fstype=autofs,' part, and see if the problem also continues (it's obviously NFS, and MOUNT should be intelligent enough to recognise that).</description>
      <pubDate>Mon, 18 Nov 2002 23:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-autofs-question/m-p/2847254#M2901</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-11-18T23:21:53Z</dc:date>
    </item>
  </channel>
</rss>

