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

[no subject]



#####  start of post that helped me  ####

>
> No, don't do that! There is no such limit (/dev is basically just an
> ordinary directory full of device nodes - there's nothing particularly
> magic in the kernel for it, unless you're using something like devfs or
> udev, which still doesn't have such a limit), and it'll be a pain
> restoring the device nodes you've deleted.
>
> This isn't a kernel problem at all. You just need to upgrade makedev so
> that it knows how to create that device node properly; the version in
> woody doesn't. Alternatively, do it by hand (laborious, but should
> work):
>
>   mknod -m 0660 /dev/hdm b 88 0
>   chown root:disk /dev/hdm
>   for x in `seq 1 20`; do
>     mknod -m 0660 /dev/hdm"$x" b 88 "$x"
>     chown root:disk /dev/hdm"$x"
>   done
>
> Likewise for hdo, but substitute 89 for 88.
>
> Cheers,
>
> --
> Colin Watson                                  [cjwatson at flatline.org.uk]
>
>

#####  end of post that helped me  ####
> -----Original Message-----
&gt; From: ale-bounces at ale.org [<a  rel="nofollow" href="mailto:ale-bounces";>mailto:ale-bounces</a> at ale.org]On Behalf Of Danny
&gt; Cox
&gt; Sent: Sunday, March 07, 2004 2:35 PM
&gt; To: Atlanta Linux Enthusiasts
&gt; Subject: Re: [ale] Request for info on mknod -- or How I ran out of
&gt; devicenames
&gt;
&gt;
&gt; Greg,
&gt;
&gt; On Sat, 2004-03-06 at 18:03, Greg wrote:
&gt; &gt; I am trying to create 2 device files for my fileserver. It has
&gt; 3 Maxtor IDE
&gt; &gt; controller cards in it and the dmesg tells me that the 2 drives
&gt; that I am
&gt; &gt; trying to use are called hdo and hdm - however they are not in /dev.  I
&gt; &gt; tried MAKEDEV hdo and MAKEDEV hdm, but it only goes to hdk or
&gt; so. This is
&gt; &gt; true also on my Debian Woody Sparc64 box.  Someone on the
&gt; Libranet list said
&gt; &gt; that they can do a MAKEDEV hdo just fine, but I cannot.  I have
&gt; Googled and
&gt; &gt; know that I need a major and minor number for hard drives - is
&gt; there a way
&gt; &gt; to find this information on Libranet Debian 2.8.1 or on Linux
&gt; in general ?
&gt; &gt; I really need to use those 2 hard drives, but it looks like I
&gt; have ran out
&gt; &gt; of device names.
&gt; &gt;
&gt; &gt; Of course, if mknod is the wrong approach I would like to know what the
&gt; &gt; right one is also ...
&gt;
&gt; 	That's exactly the problem we ran into at Qunatum building
&gt; a 12 (IDE)
&gt; drive system (but only using the master side of each chipset).  That hit
&gt; (hmm, let me see, uh) hdv.  The problem is that due to how they're set
&gt; up, the kernel just doesn't recognize more than 10 hwifs (hardware
&gt; interfaces), unless you jigger the defines.  See
&gt; linux/include/asm-i386/ide.h (MAX_HWIFS) for that, plus you'll have to
&gt; jigger (perhaps) linux/drivers/ide/ide.c, function init_hwif_data(),
&gt; plus the array ide_hwif_to_major[] to map more drives.
&gt;
&gt; 	HTH!
&gt;
&gt; --
&gt; kernel, n.: A part of an operating system that preserves the
&gt; medieval traditions of sorcery and black art.
&gt;
&gt; Danny
&gt;
&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;


</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="00189" href="msg00189.html">[ale] Request for info on mknod -- or How I ran out of device	names</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="msg00189.html">[ale] Request for info on mknod -- or How I ran out of device	names</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00191.html">[ale] Frozen Bubble high score?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00189.html">[ale] Request for info on mknod -- or How I ran out of device	names</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00196.html">[ale] Request for info on mknod -- or How I ran out of device	names</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00190"><strong>Date</strong></a></li>
<li><a href="threads.html#00190"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

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