Operating System - HP-UX
1752378 Members
6295 Online
108788 Solutions
New Discussion

mknod on HP-UX 11.31 getting usage message

 
SOLVED
Go to solution
John Jimenez
Super Advisor

mknod on HP-UX 11.31 getting usage message

Can anyone tell me what I did wrong?

 

mknod /dev/vg10/group c 128 0x00a000 /dev/disk/disk34
mknod: arg count
usage: mknod name b|c major minor
       mknod name p

Hustle Makes things happen
2 REPLIES 2
Patrick Wallek
Honored Contributor
Solution

Re: mknod on HP-UX 11.31 getting usage message

You don't specify a disk drive device file when creating the VGs group file.  All you need is:

 

mknod /dev/vg10/group c 128 0x00a000

 

The minor number is usually specified as 0x0a0000, when you use the first 2 characters of the hex number for the minor number.

 

So, I think you should do:

 

mknod /dev/vg10/group c 128 0x0a0000

John Jimenez
Super Advisor

Re: mknod on HP-UX 11.31 getting usage message

What the heck was I doing?    Just back from vacation, I guess my brain is still there.....Thanks Patrick.   

Hustle Makes things happen