Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

What is major and minor in partitions ?

JhilAug 28 2016 — edited Aug 29 2016

Hi

From following output what is major and minor (numbers) indicate ?

why major is always 8 ?

# raw -a

/dev/raw/raw1:  bound to major 8, minor 17

/dev/raw/raw2:  bound to major 8, minor 33

/dev/raw/raw3:  bound to major 8, minor 49

/dev/raw/raw4:  bound to major 8, minor 65

/dev/raw/raw5:  bound to major 8, minor 81

/dev/raw/raw6:  bound to major 8, minor 97

# ls -l /dev/* |grep '8,   17'

brw-r----- 1 root disk     8,   17 Aug 28 13:39 /dev/sdb1

# cat /proc/partitions

major minor  #blocks  name

   8     0   92274688 sda

   8     1   10755486 sda1

   8     2   25599577 sda2

   8     3   25599577 sda3

   8     4          1 sda4

   8     5    5116671 sda5

   8     6    5116671 sda6

   8     7   20081218 sda7

   8    16   20971520 sdb

   8    17   20964824 sdb1

   8    32   20971520 sdc

   8    33   20964793 sdc1

   8    48   20971520 sdd

   8    49   20964793 sdd1

   8    64   20971520 sde

   8    65   20964793 sde1

   8    80   20971520 sdf

   8    81   20964793 sdf1

   8    96   20971520 sdg

   8    97   20964793 sdg1

Distro is : Oracle linux 5.5

Thanks

This post has been answered by Nik on Aug 28 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2016
Added on Aug 28 2016
6 comments
1,584 views