How do I find the FreeBSD major?

Peter J. Braam braam at cs.cmu.edu
Thu Jul 23 18:43:51 CEST 1998



On FreeBSD I get the following output: 

su-2.01# modload -e xfs_mod -o /var/tmp/symbols /usr/arla/bin/xfs_mod.o
xfs_channel[0] = {
messageq.next = 0xf5a4e1f4 messageq.prev = 0xf5a4e1f4 sleepq.next =
0xf5a4e204 sleepq.prev = 0xf5a4e204 nsequence = 0 selecting_proc = 0x0
status = 0
}
xfs_channel[1] = {
messageq.next = 0xf5a4e224 messageq.prev = 0xf5a4e224 sleepq.next =
0xf5a4e234 sleepq.prev = 0xf5a4e234 nsequence = 0 selecting_proc = 0x0
status = 0
}
Currently loaded filesystems are:
vfsconf[0] = { "", 0x0}
vfsconf[1] = { "ufs", 0xf020d2a0}
vfsconf[2] = { "nfs", 0xf020b880}
vfsconf[3] = { "", 0x0}
vfsconf[4] = { "msdos", 0xf020a984}
vfsconf[5] = { "", 0x0}
vfsconf[6] = { "", 0x0}
vfsconf[7] = { "", 0x0}
vfsconf[8] = { "", 0x0}
vfsconf[9] = { "", 0x0}
vfsconf[10] = { "", 0x0}
vfsconf[11] = { "", 0x0}
vfsconf[12] = { "procfs", 0xf020a550}
vfsconf[13] = { "", 0x0}
vfsconf[14] = { "cd9660", 0xf0208100}
vfsconf[15] = { "", 0x0}
vfsconf[16] = { "", 0x0}
vfsconf[17] = { "xfs", 0xf5a4e060}
Current xfs_nodes on xfs[0] are:
Current xfs_nodes on xfs[1] are:
Module loaded as ID 1
su-2.01# ls -l /dev | grep 17
crw-r-----  1 root   operator   17,   0 Apr 15 13:34 ch0


Is 17 the major I want? What should I look for in the console output?

- Peter -






More information about the Arla-drinkers mailing list