Man Pages (1MTSOL): Maintenance and Administration Commands
  Search only this book
Download this book in PDF

NAME

device_clean - device clean programs

SYNOPSIS

/etc/security/lib/ <device-clean-program> ascii-media-label-string -[A|D]

AVAILABILITY

SUNWcsu

DESCRIPTION

An allocatable device may optionally have a device clean program. Device clean programs are specified in the device-clean field in the device_allocate(4TSOL) file. Device clean programs are invoked by allocate(1MTSOL) and deallocate(1MTSOL) to clean device states, registers, and any residual information in the device before it is allocated to a user as required by the object reuse policy, and also to ensure proper media labeling by asking the user to confirm the correct labeled media is inserted in the device on allocation and by asking the user to confirm removal of the media and affix correct label on the media.

OPTIONS

ascii-media-label-string
Provide CMW Label of the device. This information is used by most device clean programs in a prompt to remind the user to affix a correct label to the removable media.
-A
The device clean program is invoked from allocate(1MTSOL) command before the device is allocated to a user.
-D
The device clean program is invoked from deallocate(1MTSOL) command after the device is deallocated from a user.

FILES

/etc/security/device_allocate

SEE ALSO

allocate(1MTSOL), deallocate(1MTSOL), device_allocate(4TSOL)

)..TSOL Maintenance Commands..Trusted Solaris 2.5.1 1MTSOL-68

modified 9 Sep 1997