<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Script on ads' corner</title><link>https://andreas.scherbaum.la/tags/script/</link><description>Recent content in Script on ads' corner</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 26 Jul 2024 10:16:48 +0200</lastBuildDate><atom:link href="https://andreas.scherbaum.la/tags/script/index.xml" rel="self" type="application/rss+xml"/><item><title>How to determine the mount point for a device on Linux</title><link>https://andreas.scherbaum.la/post/2024-07-26_how-to-identify-the-mount-point-for-a-device-on-linux/</link><pubDate>Fri, 26 Jul 2024 10:16:48 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2024-07-26_how-to-identify-the-mount-point-for-a-device-on-linux/</guid><description>&lt;p&gt;While &lt;a href="https://andreas.scherbaum.la/post/2024-07-22_install-debian-bookworm-on-a-software-raid-and-efi/"&gt;reinstalling a server&lt;/a&gt; and moving it to &lt;em&gt;Debian&lt;/em&gt;, I ran into the problem that I need to sync the &lt;em&gt;EFI&lt;/em&gt; partitions. The system is using a &lt;em&gt;RAID&lt;/em&gt; on two disks (&lt;em&gt;RAID 1&lt;/em&gt;), but the &lt;em&gt;EFI&lt;/em&gt; partitions can&amp;rsquo;t be a &lt;em&gt;RAID&lt;/em&gt; and need to exist on both disks. Or rather it is useful to have the &lt;em&gt;EFI&lt;/em&gt; partition on every disk: if one disk fails, the system can boot from the other disk.&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;grub&lt;/code&gt; only installs the necessary files on one partition. However one can use a script as &lt;code&gt;grub&lt;/code&gt; hook, and sync all partitions.&lt;/p&gt;&#10;&lt;p&gt;This script needs to determine if a device (the &lt;em&gt;EFI&lt;/em&gt; partition) is already mounted somewhere, or needs to be mounted. Turns out there is a little and not well-known tool for this.&lt;/p&gt;</description></item><item><title>Web service for Dynamic DNS service</title><link>https://andreas.scherbaum.la/post/2014-04-12_web-service-for-dynamic-dns-service/</link><pubDate>Sat, 12 Apr 2014 20:22:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2014-04-12_web-service-for-dynamic-dns-service/</guid><description>&lt;p&gt;Last in my small series about running your own &lt;a href="https://andreas.scherbaum.la/tags/dynamic-dns"&gt;Dynamic DNS&lt;/a&gt; service: how to support clients which can&amp;rsquo;t use the &lt;code&gt;nsupdate&lt;/code&gt; tool directly.&lt;/p&gt;</description></item><item><title>What is my IP address?</title><link>https://andreas.scherbaum.la/post/2014-04-10_what-is-my-ip-address/</link><pubDate>Thu, 10 Apr 2014 08:00:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2014-04-10_what-is-my-ip-address/</guid><description>&lt;p&gt;For a number of reasons it is nice to know your own IP-address. If you are behind a firewall or a &lt;a href="https://en.wikipedia.org/wiki/Network_address_translation"&gt;NAT&lt;/a&gt; system, you usually only have a &lt;a href="https://en.wikipedia.org/wiki/RFC_1918"&gt;private IP-address&lt;/a&gt; and &amp;ldquo;someone else&amp;rdquo; on the internet needs to tell you your official IP-address.&lt;/p&gt;</description></item><item><title>Run your own Dynamic DNS server</title><link>https://andreas.scherbaum.la/post/2014-04-08_run-your-own-dynamic-dns-server/</link><pubDate>Tue, 08 Apr 2014 18:00:00 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2014-04-08_run-your-own-dynamic-dns-server/</guid><description>&lt;p&gt;Dyn, the company behind the widely known dynamic &lt;em&gt;DNS&lt;/em&gt; service &lt;em&gt;DynDNS&lt;/em&gt;, will &lt;a href="https://www.theregister.com/2014/04/07/dyn_kills_free_dynamic_dns/"&gt;shut&lt;/a&gt; &lt;a href="https://web.archive.org/web/20140407192532/http://dyn.com/blog/why-we-decided-to-stop-offering-free-accounts/"&gt;down&lt;/a&gt; it&amp;rsquo;s free service effectively May 7th, 2014. Of course there are plenty of other free or freemium services out there, but history will repeat itself and these services will vanish over time, or change their business modell.&lt;/p&gt;&#10;&lt;p&gt;A while ago I spent an afternoon to implement my own dynamic &lt;em&gt;DNS&lt;/em&gt; service.&lt;/p&gt;</description></item><item><title>Cleanup and reuse unused Copy&amp;Paste disk space occupied by VMware</title><link>https://andreas.scherbaum.la/post/2013-09-09_cleanup-and-reuse-unused-copypaste-disk-space-occupied-by-vmware/</link><pubDate>Mon, 09 Sep 2013 16:08:37 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2013-09-09_cleanup-and-reuse-unused-copypaste-disk-space-occupied-by-vmware/</guid><description>&lt;p&gt;Whenever you &lt;em&gt;Copy&amp;amp;Paste&lt;/em&gt; (or &lt;em&gt;Cut&amp;amp;Paste&lt;/em&gt;) something into or from a &lt;em&gt;VMware&lt;/em&gt; instance, the software first copies the files into a temporary directory and later on sends the copy/move job to &lt;em&gt;Windows&lt;/em&gt;. Since the &lt;em&gt;Windows&lt;/em&gt; task is asynchronous, &lt;em&gt;VMware&lt;/em&gt; has no chance to find out when this actually finishes - so it is supposed to clean up this temporary directory at boot time.&lt;/p&gt;&#10;&lt;p&gt;However, waiting for the next reboot can clog up quite some disk space (when I develop something I often have to copy many files around between several virtual machines and the desktop) - despite that &lt;em&gt;Windows&lt;/em&gt; still likes to &lt;a href="https://en.wikipedia.org/wiki/Blue_screen_of_death"&gt;BSoD&lt;/a&gt; on me from time to time. And sometimes &lt;em&gt;VMware&lt;/em&gt; does not get the cleanup right at reboot and the files are still there.&lt;/p&gt;</description></item><item><title>New screen_away release</title><link>https://andreas.scherbaum.la/post/2007-09-02_new-screen_away-release/</link><pubDate>Sun, 02 Sep 2007 20:55:30 +0200</pubDate><guid>https://andreas.scherbaum.la/post/2007-09-02_new-screen_away-release/</guid><description>&lt;p&gt;The new release (0.9.7) is already submitted and some days old, but not yet published on the &lt;a href="https://irssi.org/scripts/"&gt;irssi scripts website&lt;/a&gt; :-(&lt;/p&gt;</description></item></channel></rss>