<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://www.skepticats.com/LnBlog/themes/default/styles/rss.css" ?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<channel>
<link>http://linlog.skepticats.com/content/automount/comments/comments.xml</link>
<title>Automount: The Nickel Tour</title>
<description>Automount: The Nickel Tour</description>
<generator>LnBlog 1.0.0</generator>
<item>
<title>Show windows with content</title>
<link>http://linlog.skepticats.com/content/automount/comments/#comment2005-09-27_035704</link>
<description>
&lt;p&gt;Is it not possible to have a filemanager popup with the content of the USB device - if it is a hard drive or memory stick ??&lt;/p&gt;
</description>
<guid>http://linlog.skepticats.com/content/automount/comments/#comment2005-09-27_035704</guid>
</item>
<item>
<title>Show content</title>
<link>http://linlog.skepticats.com/content/automount/comments/#comment2005-09-28_160946</link>
<description>
&lt;p&gt;Yes, that can be done, but that's a different article altogether.  I wrote a summary of how to do this with just udev here:&lt;br /&gt;&lt;a href=&quot;http://www.skepticats.com/linlog/content/udevautorun/&quot;&gt;http://www.skepticats.com/linlog/content/udevautorun/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;If you use GNOME, I understand you can do this with the GNOME volume manager.  If you distribution comes with HAL and D-BUS, you can also use IVMan for this.&lt;/p&gt;
</description>
<guid>http://linlog.skepticats.com/content/automount/comments/#comment2005-09-28_160946</guid>
</item>
<item>
<title>udev in recent kernels</title>
<link>http://linlog.skepticats.com/content/automount/comments/#comment2008-07-31_001331</link>
<description>
&lt;p&gt;hi&lt;br /&gt;with recent kernels hotplug is vanished replaced by udev; i am not able to find /etc/dev.d, anymore; i have to use an autorun when an usb pen is automounted like &lt;a href=&quot;http://linlog.skepticats.com/content/udevautorun/&quot;&gt;http://linlog.skepticats.com/content/udevautorun/&lt;/a&gt; explain.&lt;br /&gt;But, at the moment, i am not able to find a place where put bash script to be executed.&lt;br /&gt;Any advice would unvaluable&lt;/p&gt;
</description>
<guid>http://linlog.skepticats.com/content/automount/comments/#comment2008-07-31_001331</guid>
</item>
<item>
<title>Use udev rules</title>
<link>http://linlog.skepticats.com/content/automount/comments/#comment2008-07-31_093200</link>
<description>
&lt;p&gt;These days, you can do the same sort of thing with udev rules.  You would create/edit a file in your /etc/udev/rules.d directory that specifies the device and the script you want to run.  &lt;/p&gt;&lt;p&gt;You can see an example rule in this entry:&lt;br /&gt;&lt;a href=&quot;http://linlog.skepticats.com/entries/2007/11/Fixing_Sansa_attributes.php&quot;&gt;http://linlog.skepticats.com/entries/2007/11/Fixing_Sansa_attributes.php&lt;/a&gt;&lt;br /&gt;In that case, the rule has 4 parts: &lt;br /&gt;1) The kernel device - here a USB mass storage node like sda0.&lt;br /&gt;2) The action - &amp;quot;add&amp;quot; for inserting the device.&lt;br /&gt;3) Some attributes - in this case the model string, to distinguish it from other USB devices.&lt;br /&gt;4) The RUN action, which just executes a program, in this case passing it the kernel device name as a parameter.&lt;/p&gt;&lt;p&gt;Hopefully that should get you started.  The only hard part if figuring out the exact attributes you need to identify a particular device.&lt;/p&gt;
</description>
<guid>http://linlog.skepticats.com/content/automount/comments/#comment2008-07-31_093200</guid>
</item>
</channel>
</rss>
