mknod script for more than 26 /dev/dasd entries

2007-12-11 Thread Lee Stewart
Wasn't there a script posted somewhere that would help create all the /dev/dasd... nodes for more than 26 devices? I can find mention of it in the list archives, but can't find either of the two scripts mentioned.. Thanks, Lee -- Lee Stewart, Senior SE Sirius Computer Solutions Phone: (303)

Re: mknod script for more than 26 /dev/dasd entries

2007-12-11 Thread Mark Post
On Tue, Dec 11, 2007 at 9:36 AM, in message [EMAIL PROTECTED], Lee Stewart [EMAIL PROTECTED] wrote: Wasn't there a script posted somewhere that would help create all the /dev/dasd... nodes for more than 26 devices? I can find mention of it in the list archives, but can't find either of the

Re: mknod script for more than 26 /dev/dasd entries

2007-12-11 Thread Aristarc Diez Redorta
Hi, Hope this script helps you: Here's a small script that creates devices nodes up to dasdbl3: #! /usr/bin/perl my $maj=94; for (my $min=104; $min 256; $min++) { $b=$min/4; if ($b = 26) { $a = $b / 26; $b = $b % 26; } my $p =

Re: mknod script for more than 26 /dev/dasd entries

2007-12-11 Thread Lee Stewart
My mistake... (Sorry!) You're right. 2.6 does it for you. I was used to having to do it on 2.4 and when faced with a very large LVM on 2.6 I assumed I'd still have to... Delighted that I don't have to... (But slightly red faced.) (And thanks also to those others who responded...) Lee