fluca1978 said:Uhm...I suspect that due to devfs(4) there is no major number at all.
Maybe someone can provide more information.
SirDice said:There are no block devices anymore, they're all character devices.
http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html
Disk device name
All disklabel forms require a disk device name, which should always be
the raw "complete" (or "c") partition, for example /dev/rda0c. disklabel
understands the abbreviation da0, which it converts internally to
/dev/rda0c.
# ls -l /dev/ad0*
[B]c[/B]rw-r----- 1 root operator 0, 64 Oct 30 08:09 /dev/ad0
[B]c[/B]rw-r----- 1 root operator 0, 65 Oct 30 08:09 /dev/ad0s1
[B]c[/B]rw-r----- 1 root operator 0, 66 Oct 30 08:09 /dev/ad0s1a
[B]c[/B]rw-r----- 1 root operator 0, 67 Oct 30 08:09 /dev/ad0s1b
# ls -l /dev/ad0*
crw-r----- 1 root operator [b]0, 64[/b] Oct 30 08:09 /dev/ad0
crw-r----- 1 root operator [b]0, 65[/b] Oct 30 08:09 /dev/ad0s1
crw-r----- 1 root operator [b]0, 66[/b] Oct 30 08:09 /dev/ad0s1a
crw-r----- 1 root operator [b]0, 67[/b] Oct 30 08:09 /dev/ad0s1b
SirDice said:If I remember correctly you can tell just by listing the files. Taking fluca1978's example:
The numbers in bold should be the major and minor numbers. But I don't think they're of any use.Code:# ls -l /dev/ad0* crw-r----- 1 root operator [b]0, 64[/b] Oct 30 08:09 /dev/ad0 crw-r----- 1 root operator [b]0, 65[/b] Oct 30 08:09 /dev/ad0s1 crw-r----- 1 root operator [b]0, 66[/b] Oct 30 08:09 /dev/ad0s1a crw-r----- 1 root operator [b]0, 67[/b] Oct 30 08:09 /dev/ad0s1b