xref: /onnv-gate/usr/src/cmd/allocate/devalloc_defaults (revision 9484:fbd5ddc28e96)
14746Srica#
24746Srica# CDDL HEADER START
34746Srica#
44746Srica# The contents of this file are subject to the terms of the
54746Srica# Common Development and Distribution License (the "License").
64746Srica# You may not use this file except in compliance with the License.
74746Srica#
84746Srica# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94746Srica# or http://www.opensolaris.org/os/licensing.
104746Srica# See the License for the specific language governing permissions
114746Srica# and limitations under the License.
124746Srica#
134746Srica# When distributing Covered Code, include this CDDL HEADER in each
144746Srica# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154746Srica# If applicable, add the following below this CDDL HEADER, with the
164746Srica# fields enclosed by brackets "[]" replaced with your own identifying
174746Srica# information: Portions Copyright [yyyy] [name of copyright owner]
184746Srica#
194746Srica# CDDL HEADER END
204746Srica#
214746Srica#
22*9484Sgarrett.damore@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
234746Srica# Use is subject to license terms.
244746Srica#
254746Srica# Default device_allocation attributes for device types.
264746Srica# Device types supported -
274746Srica#     audio, fd, sr, st, rmdisk
284746Srica#
294746Srica# Syntax -
304746Srica#     device-type:\
314746Srica#     minlabel=<ascii string for minimum label>;\
324746Srica#     maxlabel=<ascii string for maximum label>;\
334746Srica#     auths=<comma separated list of device authorizations>;\
344746Srica#     cleanscript=<full path to clean script for this type>
354746Srica#
364746Srica# Multi-word strings above should be in double quotes.
374746Srica# e.g.: minlabel="TS A B";maxlabel="TS AB";auths=solaris.device.allocate;\
384746Srica#       cleanscript=/bin/true
394746Srica#
40*9484Sgarrett.damore@Sun.COMaudio:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/lib/audio_clean
414746Sricafd:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/lib/disk_clean
424746Sricasr:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/lib/disk_clean
434746Sricast:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/lib/tape_clean
444746Sricarmdisk:minlabel=admin_low;maxlabel=admin_high;auths=solaris.device.allocate;cleanscript=/etc/security/lib/disk_clean
45