<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.scott5.org/index.php?action=history&amp;feed=atom&amp;title=Autofs</id>
	<title>Autofs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.scott5.org/index.php?action=history&amp;feed=atom&amp;title=Autofs"/>
	<link rel="alternate" type="text/html" href="https://wiki.scott5.org/index.php?title=Autofs&amp;action=history"/>
	<updated>2026-04-12T19:10:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.scott5.org/index.php?title=Autofs&amp;diff=641&amp;oldid=prev</id>
		<title>Scott: /* NFS4 home directory example */</title>
		<link rel="alternate" type="text/html" href="https://wiki.scott5.org/index.php?title=Autofs&amp;diff=641&amp;oldid=prev"/>
		<updated>2011-02-15T00:01:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;NFS4 home directory example&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{lowercase title}}&lt;br /&gt;
Use &amp;lt;code&amp;gt;autofs&amp;lt;/code&amp;gt; on the NFS client to auto-mount.&lt;br /&gt;
&lt;br /&gt;
For Ubuntu, install the &amp;lt;code&amp;gt;autofs&amp;lt;/code&amp;gt; package after you&amp;#039;ve gotten &amp;lt;code&amp;gt;nfs-common&amp;lt;/code&amp;gt; set up.&lt;br /&gt;
&lt;br /&gt;
== NFS4 home directory example ==&lt;br /&gt;
In &amp;lt;code&amp;gt;/etc/auto.master&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/home	file:/etc/auto.home --ghost -t 600&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The &amp;lt;code&amp;gt;ghost&amp;lt;/code&amp;gt; argument makes the directories appear to be present under &amp;lt;code&amp;gt;/home&amp;lt;/code&amp;gt; even when they aren&amp;#039;t actually mounted.&lt;br /&gt;
The &amp;lt;code&amp;gt;-t 600&amp;lt;/code&amp;gt; gives a 10-minute (600 seconds) timeout.&lt;br /&gt;
&lt;br /&gt;
In &amp;lt;code&amp;gt;/etc/auto.home&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
barney -fstype=nfs4,port=2049,soft  123.45.67.89:/users/&amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Scott</name></author>
	</entry>
</feed>