3057 Remove sgml util from cmd/man
[unleashed.git] / usr / src / cmd / allocate / allocate.xml
blob9de9a1ddb8a58a9a47b3be5469aac1743a0059a0
1 <?xml version="1.0"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3 <!--
5  CDDL HEADER START
7  The contents of this file are subject to the terms of the
8  Common Development and Distribution License (the "License").
9  You may not use this file except in compliance with the License.
11  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12  or http://www.opensolaris.org/os/licensing.
13  See the License for the specific language governing permissions
14  and limitations under the License.
16  When distributing Covered Code, include this CDDL HEADER in each
17  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18  If applicable, add the following below this CDDL HEADER, with the
19  fields enclosed by brackets "[]" replaced with your own identifying
20  information: Portions Copyright [yyyy] [name of copyright owner]
22  CDDL HEADER END
24  Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
26         NOTE:  This service manifest is not editable; its contents will
27         be overwritten by package or patch operations, including
28         operating system upgrade.  Make customizations in a different
29         file.
30 -->
32 <service_bundle type='manifest' name='SUNWcs:allocate'>
34 <service
35         name='system/device/allocate'
36         type='service'
37         version='1'>
39         <create_default_instance enabled='false' />
41         <single_instance/>
43         <dependency
44                 name='usr'
45                 grouping='require_all'
46                 restart_on='none'
47                 type='service'>
48                 <service_fmri value='svc:/system/device/local' />
49         </dependency>
51         <!--
52           Start method timeout is long to account for devices which
53           take a long time to probe or enumerate.
54         -->
55         <exec_method
56                 type='method'
57                 name='start'
58                 exec='/lib/svc/method/svc-allocate %m'
59                 timeout_seconds='60' />
61         <exec_method
62                 type='method'
63                 name='stop'
64                 exec='/lib/svc/method/svc-allocate %m'
65                 timeout_seconds='60' />
67         <property_group name='startd' type='framework'>
68                 <propval name='duration' type='astring'
69                         value='transient' />
70         </property_group>
72         <property_group name='general' type='framework'>
73                 <propval name='action_authorization' type='astring'
74                         value='solaris.smf.manage.allocate' />
75                 <propval name='value_authorization' type='astring'
76                         value='solaris.smf.manage.allocate' />
77         </property_group>
79         <stability value='Stable' />
81         <template>
82                 <common_name>
83                         <loctext xml:lang='C'>
84                                 device allocation
85                         </loctext>
86                 </common_name>
87                 <documentation>
88                         <manpage title='allocate' section='1' manpath='/usr/share/man' />
89                         <manpage title='deallocate' section='1' manpath='/usr/share/man' />
90                         <manpage title='list_devices' section='1' manpath='/usr/share/man' />
91                         <manpage title='device_allocate' section='1M' manpath='/usr/share/man' />
92                         <manpage title='mkdevalloc' section='1M' manpath='/usr/share/man' />
93                         <manpage title='mkdevmaps' section='1M' manpath='/usr/share/man' />
94                         <manpage title='dminfo' section='1M' manpath='/usr/share/man' />
95                         <manpage title='device_maps' section='4' manpath='/usr/share/man' />
96                         <manpage title='device_allocate' section='4' manpath='/usr/share/man' />
97                 </documentation>
98         </template>
99 </service>
101 </service_bundle>