Subject: major device numbers
To: None <>
From: Valentin Pepelea <>
List: tech-kern
Date: 01/27/1999 15:30:40
I'm confused about major device numbers. The 'ls -l /dev/*wd0*' command shows
both character and block disk devices using major number 16. How is this
possible? Attempting to clear out the confusion, I read /dev/ata/wd.c to see
what numbers it uses. There I can find the statement

  wdstrategy = readdisklabel(MAKEWDDEV(0, wd->sc_dev.dv_unit, RAW_PART), ...

which implies that /dev/rwd0c uses major number 0. Ok, I give up. :-P