xref: /titanic_51/usr/src/cmd/rmvolmgr/rmvolmgr.xml (revision d564a1c2c392e37baec0f96c9fa5796b264af787)
118c2aff7Sartem<?xml version="1.0"?>
218c2aff7Sartem<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
318c2aff7Sartem<!--
4*d564a1c2Sfei feng - Sun Microsystems - Beijing China	Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
518c2aff7Sartem
618c2aff7Sartem CDDL HEADER START
718c2aff7Sartem
818c2aff7Sartem The contents of this file are subject to the terms of the
918c2aff7Sartem Common Development and Distribution License (the "License").
1018c2aff7Sartem You may not use this file except in compliance with the License.
1118c2aff7Sartem
1218c2aff7Sartem You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1318c2aff7Sartem or http://www.opensolaris.org/os/licensing.
1418c2aff7Sartem See the License for the specific language governing permissions
1518c2aff7Sartem and limitations under the License.
1618c2aff7Sartem
1718c2aff7Sartem When distributing Covered Code, include this CDDL HEADER in each
1818c2aff7Sartem file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1918c2aff7Sartem If applicable, add the following below this CDDL HEADER, with the
2018c2aff7Sartem fields enclosed by brackets "[]" replaced with your own identifying
2118c2aff7Sartem information: Portions Copyright [yyyy] [name of copyright owner]
2218c2aff7Sartem
2318c2aff7Sartem CDDL HEADER END
2418c2aff7Sartem
2518c2aff7Sartem	NOTE:  This service manifest is not editable; its contents will
2618c2aff7Sartem	be overwritten by package or patch operations, including
2718c2aff7Sartem	operating system upgrade.  Make customizations in a different
2818c2aff7Sartem	file.
2918c2aff7Sartem
3018c2aff7Sartem	Service manifest for rmvolmgr.
3118c2aff7Sartem-->
3218c2aff7Sartem
3318c2aff7Sartem<service_bundle type='manifest' name='SUNWrmvolmgrr:rmvolmgr'>
3418c2aff7Sartem
3518c2aff7Sartem<service
3618c2aff7Sartem	name='system/filesystem/rmvolmgr'
3718c2aff7Sartem	type='service'
3818c2aff7Sartem	version='1'>
3918c2aff7Sartem
4018c2aff7Sartem	<create_default_instance enabled='false' />
4118c2aff7Sartem
4218c2aff7Sartem	<single_instance />
4318c2aff7Sartem
4418c2aff7Sartem	<dependency name='fs'
4518c2aff7Sartem		type='service'
4618c2aff7Sartem		grouping='require_all'
4718c2aff7Sartem		restart_on='none'>
4818c2aff7Sartem		<service_fmri value='svc:/system/filesystem/local' />
4918c2aff7Sartem	</dependency>
5018c2aff7Sartem
5118c2aff7Sartem	<dependency name='dbus'
5218c2aff7Sartem		type='service'
5318c2aff7Sartem		grouping='require_all'
5418c2aff7Sartem		restart_on='none'>
5518c2aff7Sartem		<service_fmri value='svc:/system/dbus' />
5618c2aff7Sartem	</dependency>
5718c2aff7Sartem
5818c2aff7Sartem	<dependency name='hal'
5918c2aff7Sartem		type='service'
6018c2aff7Sartem		grouping='require_all'
6118c2aff7Sartem		restart_on='none'>
6218c2aff7Sartem		<service_fmri value='svc:/system/hal' />
6318c2aff7Sartem	</dependency>
6418c2aff7Sartem
6518c2aff7Sartem	<exec_method
6618c2aff7Sartem		type='method'
6718c2aff7Sartem		name='start'
6818c2aff7Sartem		exec='/lib/svc/method/svc-rmvolmgr start'
6918c2aff7Sartem		timeout_seconds='30'/>
7018c2aff7Sartem
7118c2aff7Sartem	<!-- If device access problems keep rmvolmgr from stopping in
7218c2aff7Sartem	     30 seconds, customize this timeout to a higher value.
7318c2aff7Sartem	-->
7418c2aff7Sartem	<exec_method
7518c2aff7Sartem		type='method'
7618c2aff7Sartem		name='stop'
7718c2aff7Sartem		exec=':kill'
7818c2aff7Sartem		timeout_seconds='30' />
7918c2aff7Sartem
8018c2aff7Sartem	<property_group name='general' type='framework'>
8118c2aff7Sartem		<!-- to start stop service -->
8218c2aff7Sartem		<propval name='action_authorization' type='astring'
8318c2aff7Sartem			value='solaris.smf.manage.rmvolmgr' />
8418c2aff7Sartem		<!-- configure service -->
8518c2aff7Sartem		<propval name='value_authorization' type='astring'
8618c2aff7Sartem			value='solaris.smf.value.rmvolmgr' />
8718c2aff7Sartem	</property_group>
8818c2aff7Sartem
8918c2aff7Sartem	<property_group name='rmvolmgr' type='application'>
9018c2aff7Sartem		<propval name='legacy_mountpoints' type='boolean' value='true' />
9118c2aff7Sartem		<propval name='cde_compatible' type='boolean' value='true' />
9218c2aff7Sartem	</property_group>
9318c2aff7Sartem
9418c2aff7Sartem	<stability value='Unstable' />
9518c2aff7Sartem
9618c2aff7Sartem	<template>
9718c2aff7Sartem		<common_name>
9818c2aff7Sartem			<loctext xml:lang='C'>
9918c2aff7Sartem			removable volume manager
10018c2aff7Sartem			</loctext>
10118c2aff7Sartem		</common_name>
10218c2aff7Sartem		<documentation>
10318c2aff7Sartem			<manpage title='rmvolmgr' section='1M' manpath='/usr/man' />
10418c2aff7Sartem		</documentation>
10518c2aff7Sartem	</template>
10618c2aff7Sartem
10718c2aff7Sartem</service>
10818c2aff7Sartem
10918c2aff7Sartem</service_bundle>
110