getmajor(1M) — ADMINISTRATOR COMMANDS
NAME
getmajor − print major number(s) of hardware and software drivers
SYNOPSIS
/usr/sbin/getmajor [−m master_dir] name
DESCRIPTION
The getmajor command prints the major number for the requested driver found in the corresponding master.d file. Name is the boot hame of the driver. Getmajor will convert name to lower case before searching for the master file.
Getmajor searches the directory /etc/master.d for the master file. The [−m] option can be used to specify an alternate master directory.
DIAGNOSTICS
If successful, a zero is returned. If name or ID_code is not found, a blank line is printed and the return code is nonzero.