NAME | SYNOPSIS | DESCRIPTION | OPTIONS | ERRORS | ATTRIBUTES | FILES | SEE ALSO
remove_allocatable removes database entries for allocatable devices and certain non-allocatable devices and deletes an ancillary file used by the allocate(1M) command to control access to an allocatable device. remove_allocatable removes the device's entries from the device_allocate(4) and device_maps(4) databases, and it deletes the ancillary file in /etc/security/dev for the specified device.
Force the removal of an entry. remove_allocatable exits with an error if this option is not specified when an entry with the specified device name no longer exists.
Removes the entry for a device named name from the device_allocate and device_maps and deletes the ancillary file of that name in /etc/security/dev.
When successful, remove_allocatable returns an exit status of 0 (true). remove_allocatable returns a nonzero exit status in the event of an error. The exit codes are as follows:
Invocation syntax error
Unknown system error
Device name not found. This error occurs only when the -f option is not specified.
Permission denied. User does not have DAC or MAC access to database.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Availability | SUNWtsu |
Mandatory access control file for devices
List of physical devices associated with a device name and type
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | ERRORS | ATTRIBUTES | FILES | SEE ALSO