<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[HyperForum — udisksctl powe-off -b /dev/sd*]]></title>
	<link rel="self" href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=1102&amp;type=atom" />
	<updated>2024-10-25T12:11:41Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.hyperbola.info/viewtopic.php?id=1102</id>
		<entry>
			<title type="html"><![CDATA[Re: udisksctl powe-off -b /dev/sd*]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8417#p8417" />
			<content type="html"><![CDATA[<p>Thanks, good to be here, and glad I could help out.</p>]]></content>
			<author>
				<name><![CDATA[pigeon123]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=719</uri>
			</author>
			<updated>2024-10-25T12:11:41Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8417#p8417</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: udisksctl powe-off -b /dev/sd*]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8416#p8416" />
			<content type="html"><![CDATA[<p>thanks, i will try it.</p>]]></content>
			<author>
				<name><![CDATA[gnu]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=717</uri>
			</author>
			<updated>2024-10-24T22:01:16Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8416#p8416</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: udisksctl powe-off -b /dev/sd*]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8410#p8410" />
			<content type="html"><![CDATA[<p>Welcome back, happy to see you here. And thank you for providing this command-set.</p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2024-10-24T11:30:49Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8410#p8410</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: udisksctl powe-off -b /dev/sd*]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8408#p8408" />
			<content type="html"><![CDATA[<p>How about the following sequence of commands:<br /></p><div class="codebox"><pre><code>$ doas sdparm --command=eject /dev/sdb
    /dev/sdb: Seagate   BUP Slim SL       0302
$ doas sdparm --command=stop /dev/sdb
    /dev/sdb: Seagate   BUP Slim SL       0302</code></pre></div><p>When I use this combination of commands my Seagate USB hard drive appears to power down, the power LED indicator goes dark.&nbsp; I have also tried the same commands with a Sandisk USB memory stick that also has an LED indicator, but in that case the LED stays illuminated.</p>]]></content>
			<author>
				<name><![CDATA[pigeon123]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=719</uri>
			</author>
			<updated>2024-10-24T02:25:57Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8408#p8408</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: udisksctl powe-off -b /dev/sd*]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8377#p8377" />
			<content type="html"><![CDATA[<p>In the end no problem so far. But I understand your honest question and also the demand doing. So I like to leave this open for sure so everyone can leave a thought, or two or even more. We should always remember that only this way projects like <strong>libudev-zero</strong> getting into existence. Same for <strong>gettext-tiny</strong>. They are not all perfect, but here comes the thought from all of us together: We can enhance this, as this is free software. <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2024-10-07T14:40:40Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8377#p8377</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: udisksctl powe-off -b /dev/sd*]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8376#p8376" />
			<content type="html"><![CDATA[<p>However, it is only a theory that this command, which &quot;turns off&quot; the unmounted disk without having to remove the cable, is safer. To be honest, I can live without it.</p>]]></content>
			<author>
				<name><![CDATA[gnu]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=717</uri>
			</author>
			<updated>2024-10-07T13:29:08Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8376#p8376</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: udisksctl powe-off -b /dev/sd*]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8375#p8375" />
			<content type="html"><![CDATA[<p>I know but there is none as said. You can only recreate a comparable behavior. There is no comparable command or package providing a command alike to reach the same as this is as said <strong>udisks2</strong> only. If we would want to replicate those known commands, we could also start including those packages with all the known issues and problems in the causing line. So I have only the possibility to scribble alternatives and proposals instead to replicate an alternative command.</p><p>If you have interest: It would be surely also possible to look into the code for <strong>udisks2</strong>, therefore also the call-stack of the command (program) and trying out to find possible ways forward. If you want a command from <strong>udisks2</strong> you need to use that package / software or replicate it that near so you can have a comparable outcome. What we have learned since the release of Hyperbola 0.4: There are commands and packages not being possible to be replaced or imitated. They are <a href="https://pkgs.org/search/?q=udisks2">Linux-only</a> (without GNU also) and not available elsewhere. The command <strong>udisksctl</strong> is the udisks command line tool, only available there. Imitating or replicating it, is only possible to either research or rewrite ... or replace it with different sets of commands, different and more perhaps, but nearing.</p><p>I keep this thread so far open: Perhaps others have a different perspective on that matter or another solution? Eager and interested to hear and read about.</p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2024-10-07T12:39:26Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8375#p8375</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: udisksctl powe-off -b /dev/sd*]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8374#p8374" />
			<content type="html"><![CDATA[<p>I didn&#039;t want to use udisks2, I wanted to know if there was a similar command...period!</p>]]></content>
			<author>
				<name><![CDATA[gnu]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=717</uri>
			</author>
			<updated>2024-10-07T12:29:21Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8374#p8374</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: udisksctl powe-off -b /dev/sd*]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8372#p8372" />
			<content type="html"><![CDATA[<p>The common known commands:</p><div class="codebox"><pre><code>sync
umount</code></pre></div><p>Those should be sufficient as <strong>udisks2</strong> is just another layer above without a current need doing so. You can also use <strong>pmount</strong> in combination with <strong>spacefm</strong> for example when you want a graphical interface for the file-management. But in general as said: <strong>udisks2</strong> is exactly the opposite point of what Hyperbola wants to offer and therefore also not available as it offers technical seen no further need or enhanced usage.</p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2024-10-07T12:16:07Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8372#p8372</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: udisksctl powe-off -b /dev/sd*]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8370#p8370" />
			<content type="html"><![CDATA[<p>After unmounting a disk, this command turns off the drive, it does not appear in the &quot;lsblk&quot; list and to mount it again you have to plug it in.</p>]]></content>
			<author>
				<name><![CDATA[gnu]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=717</uri>
			</author>
			<updated>2024-10-07T11:18:06Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8370#p8370</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: udisksctl powe-off -b /dev/sd*]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8369#p8369" />
			<content type="html"><![CDATA[<p>No, as there is no <strong>udisks2</strong> available at Hyperbola So I would try the opposite: What is the use-case you have in mind for this command? Perhaps there is a chance to reach something comparable for your use-case?</p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2024-10-07T06:44:32Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8369#p8369</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[udisksctl powe-off -b /dev/sd*]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=8368#p8368" />
			<content type="html"><![CDATA[<p>There is some command like this:<br /></p><div class="codebox"><pre><code>udisksctl powe-off -b /dev/sd*</code></pre></div>]]></content>
			<author>
				<name><![CDATA[gnu]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=717</uri>
			</author>
			<updated>2024-10-07T01:08:36Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=8368#p8368</id>
		</entry>
</feed>
