<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Mount_with_hal_from_command_line</id>
	<title>Mount with hal from command line - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Mount_with_hal_from_command_line"/>
	<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Mount_with_hal_from_command_line&amp;action=history"/>
	<updated>2026-04-22T16:33:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://www.slackwiki.com/index.php?title=Mount_with_hal_from_command_line&amp;diff=139&amp;oldid=prev</id>
		<title>Erik: Copy from old</title>
		<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Mount_with_hal_from_command_line&amp;diff=139&amp;oldid=prev"/>
		<updated>2009-06-04T05:23:35Z</updated>

		<summary type="html">&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;</summary>
		<author><name>Erik</name></author>
	</entry>
</feed>