<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=8258&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / umnt - Helper script to mount network drives.]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=8258</link>
		<description><![CDATA[The most recent posts in umnt - Helper script to mount network drives..]]></description>
		<lastBuildDate>Wed, 21 Oct 2026 18:54:26 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[umnt - Helper script to mount network drives.]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=66190#p66190</link>
			<description><![CDATA[<p>I&#039;ve uploaded umnt which is an awk script to mount network drives based on an fstab-like configuration file: &lt;<a href="https://codeberg.org/awk-scripting/umnt" rel="nofollow">https://codeberg.org/awk-scripting/umnt</a>&gt;.&#160; It does not use gvfs but mount (to make a late reply to <a href="https://dev1galaxy.org/viewtopic.php?id=7851)" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=7851)</a>.&#160; Something like</p><div class="codebox"><pre><code>&lt;your-user&gt; ALL=(ALL) NOPASSWD: /usr/bin/mount *
&lt;your-user&gt; ALL=(ALL) NOPASSWD: /usr/bin/umount *</code></pre></div><p>in /etc/sudoers is recommended.&#160; umnt supports smb, sftp and dav filesystems.&#160; It&#039;s a kind of beta release but good enough for use.</p><p>Now the (perhaps) interesting point: umnt does not do the mount itself.&#160; Instead, it creates the shell code to make the mount which must be piped to /bin/sh.&#160; To illustrate, here is one of the two example scripts.</p><div class="codebox"><pre><code>$ cat net-mount 
#!/bin/sh

# Must be run in tty window.

dir=$(umnt --list |
	dmenu |
	umnt --stdin --verbose |
	sh)

[ &quot;$dir&quot; != &quot;&quot; ]  &amp;&amp;  open &quot;$dir&quot; &amp;</code></pre></div><p>Why do I post that here?&#160; Of course, you might want to use that thing.&#160; My use case is simply &quot;no gvfsd&quot;.&#160; But I would also like to get some feedback on the approach and suggestions for the next thing I would like to implement that way: network configuration, that is, have a script that reads configuration information and creates the shell script to configure the network.&#160; But I already understand that this is more difficult.</p>]]></description>
			<author><![CDATA[dummy@example.com (coder-hase)]]></author>
			<pubDate>Wed, 21 Oct 2026 18:54:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=66190#p66190</guid>
		</item>
	</channel>
</rss>
