<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Mount with hal from command line - Revision history</title>
		<link>https://www.slackwiki.com/index.php?title=Mount_with_hal_from_command_line&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.40.0</generator>
		<lastBuildDate>Wed, 22 Apr 2026 16:32:42 GMT</lastBuildDate>
		<item>
			<title>Erik: Copy from old</title>
			<link>https://www.slackwiki.com/index.php?title=Mount_with_hal_from_command_line&amp;diff=139&amp;oldid=prev</link>
			<guid isPermaLink="false">https://www.slackwiki.com/index.php?title=Mount_with_hal_from_command_line&amp;diff=139&amp;oldid=prev</guid>
			<description>&lt;p&gt;Copy from old&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Manually mounting a device using HAL from the command line =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you're like me, you probably live in the command line and prefer it way over those nasty and uncomfortable file managers. But you also live in a world were people lends you their USB sticks / Portable HDs to copy something. Then, you've probably also felt that there must be a better way to mount than the typical &amp;quot;dmesg|tail ; mount -t vfat,ntfs-3g what where&amp;quot; (and &amp;quot;what&amp;quot; tipically is /dev/sda1 and &amp;quot;where&amp;quot; might be /mnt/hd or something).&lt;br /&gt;
&lt;br /&gt;
The obvious solution to make that more streamlined is to use HAL. But part of HAL's ugliness is that there are only graphical tools to work with.&lt;br /&gt;
&lt;br /&gt;
Well, fortunatelly for us, XFCE comes with a little handy tool called &amp;quot;exo-mount&amp;quot; (and &amp;quot;exo-unmount&amp;quot;) which does the dirty job of figuring out the HAL weird device name (another piece of HAL's ugliness), use the appropiate /usr/libexec/hal-* command (maybe via a DBUS message, I don't know) to create the mount point and mount the device as well as unmount the device and delete the mount point.&lt;br /&gt;
&lt;br /&gt;
The only problem is that you must still have lots of X/Gtk/Pango/... libraries installed (so it may not be a viable choice for an X-less system, but then you're probably not running a desktop but a server and shouldn't have HAL running).&lt;br /&gt;
&lt;br /&gt;
The usage is relatively simple:&lt;br /&gt;
&lt;br /&gt;
  exo-mount -d /dev/sda1 # The usual &amp;quot;what&amp;quot; is /dev/sda1&lt;br /&gt;
&lt;br /&gt;
and ''voila'' (if you have HAL running, that is). It should be mounted under /media/&amp;lt;Volume name&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To umount:&lt;br /&gt;
&lt;br /&gt;
  exo-'''un'''mount -d /dev/sda1&lt;br /&gt;
&lt;br /&gt;
And that's it... You still don't have console automounting (but there are many tutorials covering that, and personally I don't like it), but you're now using HAL to do your mount/unmount.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tips]]&lt;/div&gt;</description>
			<pubDate>Thu, 04 Jun 2009 05:23:35 GMT</pubDate>
			<dc:creator>Erik</dc:creator>
			<comments>https://www.slackwiki.com/Talk:Mount_with_hal_from_command_line</comments>
		</item>
</channel></rss>