<?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=3399&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Drive letter assignments [Solved]]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3399</link>
		<description><![CDATA[The most recent posts in Drive letter assignments [Solved].]]></description>
		<lastBuildDate>Tue, 31 Mar 2020 20:34:16 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Drive letter assignments [Solved]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20867#p20867</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>Yes, that did it.</p></div></blockquote></div><p>Spoke too soon ...</p><p>The problem was still there.&#160; =^ 7<br />ie: Rebooting with anything <em>storage</em> plugged in would screw up the conky readout.</p><p>I think/guess what using UUIDs in <span class="bbc">fstab</span> does is link the drive&#039;s UUIDs to partitions but still that leaves eventual drive letter assignments in a dynamic state, so to speak.<br />ie: a UUID does not get <em>permanently</em> linked to a drive letter.</p><p>The solution then is to point <span class="bbc">conky</span> to the drive&#039;s UUID.</p><p>eg:</p><div class="codebox"><pre><code>TEMPERATURES
${hr 2}
${execpi 5 sensors | grep Core | awk &#039;{print $1 $2 $3}&#039; | cut -c1-15}
${hr 0.3}
/dev/sda: ${execi 60 hddtemp /dev/disk/by-uuid/d6841f29-e39b-4c87-9c52-3a9c3bafe2d3 | cut -c 81-84}
/dev/sdb: ${execi 60 hddtemp /dev/disk/by-uuid/49d1369c-ed70-4543-b0ee-ef65327e101b | cut -c 83-86}
/dev/sdc: ${execi 60 hddtemp /dev/disk/by-uuid/bdf33361-5929-433e-ac7f-1a626aa6e844 | cut -c 78-81}
/dev/sdd: ${execi 60 hddtemp /dev/disk/by-uuid/c722f26d-5c9a-42a9-8c2b-6dbdf926d865 | cut -c 83-86}
/dev/sde: ${execi 60 hddtemp /dev/disk/by-uuid/ca8dbded-819d-4e2b-b017-0981a75ea718 | cut -c 101-104}</code></pre></div><p>... instead of what I was using before:</p><div class="codebox"><pre><code>TEMPERATURES
${hr 2}
${execpi 5 sensors | grep Core | awk &#039;{print $1 $2 $3}&#039; | cut -c1-15}
${hr 0.3}
/dev/sda: ${execi 60 hddtemp /dev/sda | cut -c 35-55}
/dev/sdb: ${execi 60 hddtemp /dev/sdb | cut -c 37-57}
/dev/sdc: ${execi 60 hddtemp /dev/sdc | cut -c 32-55}
/dev/sdd: ${execi 60 hddtemp /dev/sdd | cut -c 37-55}
/dev/sde: ${execi 60 hddtemp /dev/sde | cut -c 55-65}</code></pre></div><p>Now, independently of changing my <span class="bbc">fstab</span> to UUID (or not) now <span class="bbc">conky</span> will run <span class="bbc">hddtemp</span> on drives by UUID.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 31 Mar 2020 20:34:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20867#p20867</guid>
		</item>
		<item>
			<title><![CDATA[Re: Drive letter assignments [Solved]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20807#p20807</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Camtaf wrote:</cite><blockquote><div><p>... using the disk UUIDs, (PARTUUIDs) ...</p></div></blockquote></div><p>Yes, that did it.</p><div class="quotebox"><cite>Camtaf wrote:</cite><blockquote><div><p>... or using labels ...</p></div></blockquote></div><p>That too ...<br />But then I realised that a label could end up not being as <em>unique</em> as a UUID.</p><p>Thanks a lot for your input.</p><p>Cheers,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 29 Mar 2020 20:40:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20807#p20807</guid>
		</item>
		<item>
			<title><![CDATA[Re: Drive letter assignments [Solved]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20785#p20785</link>
			<description><![CDATA[<p>Maybe by using the disk UUIDs, (PARTUUIDs), or using labels instead of relying on the Linux enumeration system.</p>]]></description>
			<author><![CDATA[dummy@example.com (Camtaf)]]></author>
			<pubDate>Sat, 28 Mar 2020 14:52:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20785#p20785</guid>
		</item>
		<item>
			<title><![CDATA[Drive letter assignments [Solved]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=20784#p20784</link>
			<description><![CDATA[<p>Hello:</p><p>I use conky to monitor the temperature of my SAS/SATA drives with this configuration:</p><div class="codebox"><pre><code>TEMPERATURES
${hr 2}
${execpi 5 sensors | grep Core | awk &#039;{print $1 $2 $3}&#039; | cut -c1-15}
${hr 0.3}
/dev/sda: ${execi 60 hddtemp /dev/sda | cut -c 35-55}
/dev/sdb: ${execi 60 hddtemp /dev/sdb | cut -c 37-57}
/dev/sdc: ${execi 60 hddtemp /dev/sdc | cut -c 32-55}
/dev/sdd: ${execi 60 hddtemp /dev/sdd | cut -c 37-55}
/dev/sde: ${execi 60 hddtemp /dev/sde | cut -c 55-65}</code></pre></div><p>The readout I get is ...</p><div class="codebox"><pre><code>/dev/sda: 27 C
/dev/sdb: 44 C
/dev/sdc: 50 C
/dev/sdd: 45 C
/dev/sde: 39 C</code></pre></div><p>But everytime I plug in an external drive or a reader, forget to unplug it and reboot, the readout gets mangled as whatever I have plugged in gets assigned one of the already assigned drive letters and scrambling the readout.</p><p>It makes me remember that I have left something plugged in but it is a nuisance.&#160; =-)</p><p>Is there a way to get the system to keep the already assigned drive letters in place and assign vacan ones to whatever gets plugged in?</p><p>Thanks in advance,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 28 Mar 2020 14:31:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=20784#p20784</guid>
		</item>
	</channel>
</rss>
