The procedures in this section show how to manage devices and how to add devices.
Define which devices, if any, should be made allocatable.
Decide which normal users, if any, should be allowed to allocate devices.
Edit the device_allocate file and add the new device.
This procedure is described in "The device_allocate File".
Create an empty lock file for each allocatable device in the /etc/security/dev directory.
This procedure is described in "Setting Up Lock Files".
If you add a Xylogics or an Archive tape drive, you can use the st_clean script; otherwise, create your own. How to create a device-handling script is described in "Device-Clean Scripts".
Make all device-special files for the device to be owned by user bin, group bin, and mode 000.
You can run the dminfo command to get a listing from the device_maps file of all the device-special files that are associated with the device you are making allocatable.