How to get a first minor number of a device in 2.4 kernel?

How to get a first minor number of a device in 2.4 kernel?

If you need to go to the group name, you can put in the following –

cd /dev/mapper/
ls -l

After the you should get something like this:

brw-rw—- 1 root disk 253, 0 Sep 8 10:28 VolGroup00-LogVol00
brw-rw—- 1 root disk 253, 1 Sep 8 06:27 VolGroup00-LogVol01

In this 253 is the Major and the next number is the minor. In this example there are no devices.

Latest posts by shane (see all)

Sharing

Leave your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.