cancel
Showing results for 
Search instead for 
Did you mean: 

minor number

 
boomerang
Frequent Advisor

minor number

Hi Admins,

Just a General knwgle Q.

Is it possible to change the minor number of a device file( apart from removing and recreating)? is any command avaliable?
6 REPLIES
Johnson Punniyalingam
Honored Contributor

Re: minor number

Hope this Helps

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1457654
Problems are common to all, but attitude makes the difference
Shibin_2
Honored Contributor

Re: minor number

I don't think you can change it without recreating.

What OS version ?
Regards
Shibin
boomerang
Frequent Advisor

Re: minor number

B.11.23
EmmanuelK2
Advisor

Re: minor number

Hello boomerang,

You have the following options with device files:

The command "insf -e -v" recreates device files. The "-e"option creates non-existent device files while the "-v" option re-creates existent device files.

You can manually create device files with the command below:
"mknod /dev/vg01/rvol9 c 64 0x010011"


Regards,
Emmanuel
Shibin_2
Honored Contributor

Re: minor number

I hope you are not talking about VG minor number. To do this, see this thread.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1222511

If you are talking about a tape device, you can't change it without recreating, but an alternate option, create a hard link to the existing device.
Regards
Shibin
boomerang
Frequent Advisor

Re: minor number

Thanks to all for your valuable suggestions.