IVMan Automounter in Gentoo

<meta name="GENERATOR" content="OpenOffice.org 2.0 (Linux)" /><meta name="CREATED" content="20070506;18100900" /><meta name="CHANGED" content="16010101;0" /><br /> <style> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } H3 { margin-bottom: 0.08in } --> </style> <h3>Introduction</h3> <p>Linux is great in the respect that you have COMPLETE control over everything you do on the system. You can even control the mounting of drives. However, sometimes you may just want the system to mount it itself. I’ve read that many people were having problems with supermount and it is no longer mainstream.</p> <p>This is where IVMan comes into play. Submount was removed from the Gentoo Portage as of 2nd of Janurary, 2007. As long as my system mounts a USB stick at when I plug it in, I’m a happy camper.</p> <p>In order to use ivman, the system must have the following installed for it to work correctly:</p> <ul> <li> <p style="margin-bottom: 0in">udev</p> </li> <li> <p style="margin-bottom: 0in">hal</p> </li> <li> <p style="margin-bottom: 0in">dbus</p> </li> <li>pmount</li> </ul> <p>This is a quick and dirty way of how I set up ivman to work on my system. I use Gnome, so if you use Gnome as well, you may want to make sure that <strong>coldplug</strong> and <strong>gnome-volume-manager</strong> is installed.</p> <h3>Code</h3> <p># emerge -av ivman</p> <p># emerge –oneshot glibc linux-headers</p> <p># emerge coldplug gnome-volume-manager</p> <p># rc-update add ivman default</p> <p># rc-update add hald default</p> <p># rc-update add dbus default</p> <p># /etc/init.d/ivman start</p> <h3>Configuration</h3> <p>Make sure that the users that need the ability to mount devices automatically are added to the plugdev group.</p> <p>Chances are that if you plug in a USB flash drive, it’s going to tell you that you do not have permission to view the contents of the drive. Since whenever I plugged in a UFD, it would always get assigned /dev/sdd1, I just added the following line to my /etc/fstab file:</p> <p>/dev/sdd1 /media/sdd1 auto users,rw 0 0</p> <p class="postmetadata alt"> <small> This entry was posted on Sunday, May 6th, 2007 at 22:29 pm and is filed under <a href="http://paulslinuxbox.net/blog/category/linux/gentoo" title="View all posts in Gentoo" rel="category tag">Gentoo</a>, <a href="http://paulslinuxbox.net/blog/category/linux" title="View all posts in Linux" rel="category tag">Linux</a>. You can follow any responses to this entry through the <a href='http://paulslinuxbox.net/blog/linux/ivman-automounter-in-gentoo/feed'>RSS 2.0</a> feed. Responses are currently closed, but you can <a href="http://paulslinuxbox.net/blog/linux/ivman-automounter-in-gentoo/trackback " rel="trackback">trackback</a> from your own site. </small> </p> </div> </div> <!-- You can start editing here. --> <!-- If comments are closed. --> <p class="nocomments">Comments are closed.</p> </div> <hr /> <div id="footer"> <!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. --> <p> Paulus’ Blog is proudly powered by <a href="http://wordpress.org/">WordPress</a> <br /><a href="http://paulslinuxbox.net/blog/feed">Entries (RSS)</a> and <a href="http://paulslinuxbox.net/blog/comments/feed">Comments (RSS)</a>. <!-- 21 queries. 0.123 seconds. --> </p> </div> </div> <!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ --> <!-- Google Analytics for WordPress | http://yoast.com/wordpress/google-analytics/ --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-4515970-4"); </script> <script type="text/javascript"> pageTracker._initData(); pageTracker._trackPageview(); </script> <!-- End of Google Analytics code --> </body> </html>