[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Sun Mar 7 15:19:53 2004 -->
- <!--x-from-r13: ehazna ng fcrrqsnpgbel.arg (Uert) -->
- <!--x-message-id: 002301c40481$0aa208a0$0a00a8c0@atlas -->
- <!--x-reference: 1078688128.1069.14.camel@pip --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Request for info on mknod -- or How I ran out of devicenames -->
- <li><em>date</em>: Sun Mar 7 15:19:53 2004</li>
- <li><em>from</em>: runman at speedfactory.net (Greg)</li>
- <li><em>in-reply-to</em>: <1078688128.1069.14.camel@pip></li>
- <li><em>subject</em>: [ale] Request for info on mknod -- or How I ran out of devicenames</li>
##### 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-----
> From: ale-bounces at ale.org [<a rel="nofollow" href="mailto:ale-bounces">mailto:ale-bounces</a> at ale.org]On Behalf Of Danny
> Cox
> Sent: Sunday, March 07, 2004 2:35 PM
> To: Atlanta Linux Enthusiasts
> Subject: Re: [ale] Request for info on mknod -- or How I ran out of
> devicenames
>
>
> Greg,
>
> On Sat, 2004-03-06 at 18:03, Greg wrote:
> > I am trying to create 2 device files for my fileserver. It has
> 3 Maxtor IDE
> > controller cards in it and the dmesg tells me that the 2 drives
> that I am
> > trying to use are called hdo and hdm - however they are not in /dev. I
> > tried MAKEDEV hdo and MAKEDEV hdm, but it only goes to hdk or
> so. This is
> > true also on my Debian Woody Sparc64 box. Someone on the
> Libranet list said
> > that they can do a MAKEDEV hdo just fine, but I cannot. I have
> Googled and
> > know that I need a major and minor number for hard drives - is
> there a way
> > to find this information on Libranet Debian 2.8.1 or on Linux
> in general ?
> > I really need to use those 2 hard drives, but it looks like I
> have ran out
> > of device names.
> >
> > Of course, if mknod is the wrong approach I would like to know what the
> > right one is also ...
>
> That's exactly the problem we ran into at Qunatum building
> a 12 (IDE)
> drive system (but only using the master side of each chipset). That hit
> (hmm, let me see, uh) hdv. The problem is that due to how they're set
> up, the kernel just doesn't recognize more than 10 hwifs (hardware
> interfaces), unless you jigger the defines. See
> linux/include/asm-i386/ide.h (MAX_HWIFS) for that, plus you'll have to
> jigger (perhaps) linux/drivers/ide/ide.c, function init_hwif_data(),
> plus the array ide_hwif_to_major[] to map more drives.
>
> HTH!
>
> --
> kernel, n.: A part of an operating system that preserves the
> medieval traditions of sorcery and black art.
>
> Danny
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
</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>