Before You Begin
Device allocation must be enabled, as described in Enabling or Disabled Device Allocation, However, if Trusted Extensions is installed and enabled on the system, then device allocation is already enabled. Device allocation is usually enabled.
Specify the device by device name.
$ allocate device-name
$ allocate device-name allocate. Device already allocated.
In this example, a user allocates a printer. No one else can print to printer-1 until the user deallocates it, or until the printer is forcibly allocated to another user.
$ allocate /dev/lp/printer-1
For an example of forcible deallocation, see Forcibly Allocating or Deallocating a Device.Example 16 Allocating a USB Flash Drive
In this example, a user allocates a USB flash drive, rmdisk1.
$ allocate rmdisk1