<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Automount on Simon Waite</title>
    <link>https://simonwaite.com/tags/automount/</link>
    <description>Recent content in Automount on Simon Waite</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 27 Sep 2012 12:06:04 +0000</lastBuildDate>
    <atom:link href="https://simonwaite.com/tags/automount/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Setting up automounting on the Raspberry PI</title>
      <link>https://simonwaite.com/posts/hotspot-raspberry-pi-automount/</link>
      <pubDate>Thu, 27 Sep 2012 12:06:04 +0000</pubDate>
      <guid>https://simonwaite.com/posts/hotspot-raspberry-pi-automount/</guid>
      <description>&lt;p&gt;Post date: Sep 27, 2012 12:06:04 PM&lt;/p&gt;&#xA;&lt;p&gt;So the non-optimised debian setup hasn&amp;rsquo;t been working for me, so I&amp;rsquo;m using the raspbian distro now.&lt;/p&gt;&#xA;&lt;p&gt;So I&amp;rsquo;ll be using the &lt;code&gt;udisks-glue&lt;/code&gt; package.&lt;/p&gt;&#xA;&lt;p&gt;Just add a line with &lt;code&gt;udisks-glue&lt;/code&gt; into &lt;code&gt;/etc/rc.local&lt;/code&gt; just before the &amp;ldquo;exit 0&amp;rdquo; line.&lt;/p&gt;&#xA;&lt;p&gt;Then edit &lt;code&gt;/etc/udisks-glue.conf&lt;/code&gt; to look (something like) this:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;--- Start File ---&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;filter disks {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    optical = false&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    partition_table = false&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    usage = filesystem&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;match disks {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    automount = true&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    automount_options = { sync, noatime, &amp;#34;dmask=0&amp;#34;, &amp;#34;fmask=0&amp;#34; }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;filter optical {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   optical = true&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   usage = filesystem&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;match optical {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   automount = true&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   automount_options = { ro, &amp;#34;mode=0444&amp;#34;, &amp;#34;dmode=0555&amp;#34;  }&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;--- End File ---&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Notes:&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
