
# getminor

Returns the minor device number for a specified device

```
vmlinux`dev_t getminor(vmlinux`dev_t)
```

The `getminor` function returns the minor device number for a specified device.

**Parent topic:**[DTrace Function Reference](../reference/dtrace_functions.md)

