[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



<a  rel="nofollow" href="http://altlinux.org/index.php?module=sisyphus&amp;package=kernel-modules-subfs-vs-smp";>http://altlinux.org/index.php?module=sisyphus&amp;package=kernel-modules-subfs-vs-smp</a>

On Wed, 2005-02-02 at 17:27, Danny Cox wrote:
&gt; Sean,
&gt; 
&gt; On Tue, 2005-02-01 at 20:48 -0500, Sean Kilpatrick wrote:
&gt; &gt; I typed udev at the command line and got nada -- not even
&gt; &gt; the usual &quot;No such command&quot;
&gt; &gt; Tried hotplug and got this:
&gt; &gt; Usage: /etc/hotplug.d/default/default.hotplug AgentName [AgentArguments]
&gt; &gt; AgentName values on this system:  dasd firmware ieee1394 input net pci scsi 
&gt; &gt; tape usb
&gt; &gt; 
&gt; &gt; 
&gt; &gt; This is even less illuminating than the man page.
&gt; &gt; Obviously the solution to this _very_ common problem is still
&gt; &gt; non-trivial.
&gt; 
&gt; 	I just went through much of this with my Lego USB Tower IR transceiver.
&gt; The basic idea is: you plug in the drive, and the necessary commands
&gt; execute to create a file with a very long name in /sys.  Then, two more
&gt; files come into play.  They are /etc/udev/permissions.d/*
&gt; and /etc/udev/rules.d/*.  The permissions.d entry (which can live in any
&gt; one of several files in that directory) looks like:
&gt; 
&gt; sd*:root:disk:0660
&gt; 
&gt; the first arg (separated by colons) is a shell-glob that matches the
&gt; name of the device.  The next two are the owner user and group, and the
&gt; third is the octal permissions (rw-rw---- in this case).
&gt; 
&gt; 	A simple rules.d entry looks like this:
&gt; 
&gt; KERNEL=&quot;legousbtower*&quot;, NAME=&quot;usb/%k&quot;
&gt; 
&gt; shamelessly stolen off the 'net.  There are so many variables (the
&gt; KERNEL and NAME strings above, for instance) that I can't possibly
&gt; include them all in this missive.  At any rate, the rules file should
&gt; point you toward finding how to name your backup USB drive to a constant
&gt; entry in /dev.
&gt; 
&gt; 	Hope this helps!
&gt; 
&gt; 	See <a  rel="nofollow" href="http://www.linuxjournal.com/article/7316";>http://www.linuxjournal.com/article/7316</a> for a better explanation
&gt; than the above.


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00024" href="msg00024.html">[ale] Re; simple question</a></strong>
<ul><li><em>From:</em> drifter at oppositelock.org (Sean Kilpatrick)</li></ul></li>
<li><strong><a name="00034" href="msg00034.html">[ale] Re; simple question</a></strong>
<ul><li><em>From:</em> barry at alltc.com (Barry Hawkins)</li></ul></li>
<li><strong><a name="00040" href="msg00040.html">[ale] Re; simple question</a></strong>
<ul><li><em>From:</em> drifter at oppositelock.org (Sean Kilpatrick)</li></ul></li>
<li><strong><a name="00089" href="msg00089.html">[ale] Re; simple question</a></strong>
<ul><li><em>From:</em> danscox at mindspring.com (Danny Cox)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00105.html">[ale] Speaker for next ALE NW meeting?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00107.html">[ale] ifup problems, possible IPv6</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00089.html">[ale] Re; simple question</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00029.html">[ale] Re; simple question</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00106"><strong>Date</strong></a></li>
<li><a href="threads.html#00106"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>