10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY suncopy "Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.">
10139N/A<
refentry id="gnome-volcheck-1">
10139N/A<
refmeta><
refentrytitle>gnome-volcheck</
refentrytitle><
manvolnum>1</
manvolnum>
11904N/A<
refmiscinfo class="date">2 Apr 2003</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man1;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
10139N/A<
indexterm><
primary>gnome-volcheck</
primary></
indexterm><
indexterm><
primary>
10139N/Amonitors the removable media</
primary></
indexterm><
refnamediv id="gnome-volcheck-1-name">
10139N/A<
refname>gnome-volcheck</
refname><
refpurpose>monitors removable media</
refpurpose>
10139N/A<
refsynopsisdiv id="gnome-volcheck-1-synp"><
title>&synp-tt;</
title>
10139N/A<
cmdsynopsis><
command>&cmd;</
command><
arg choice="opt"><
option>i <
replaceable>
10139N/Atime</
replaceable></
option></
arg><
arg choice="opt"><
option>z <
replaceable>
10139N/Atime</
replaceable></
option></
arg><
arg choice="opt"><
option>m <
replaceable>
10139N/Amedia-types</
replaceable></
option></
arg>
10139N/A<
refsect1 id="gnome-volcheck-1-desc"><
title>&desc-tt;</
title>
10139N/A<
para>The <
command>&cmd;</
command> daemon monitors removable media for GNOME. <
command>&cmd;</
command>
10139N/Ais launched as a child process of <
command>gnome-session</
command>.</
para>
15995N/A<
para><
command>&cmd;</
command> performs the following functions:
15995N/A<
listitem>Removes any existing notification pipe used by
15995N/A<
command>&cmd;</
command> to communicate with Action File Manager, as configured
15995N/A<
citerefentry><
refentrytitle>
rmmount.conf</
refentrytitle><
manvolnum>4</
manvolnum></
citerefentry>.
15995N/A<
listitem>Creates a new notification pipe to which Action File Manager writes.
15995N/A<
listitem>Listens on the notification pipe and interprets the data received.
15995N/A<
listitem>Launches the appropriate applications based on the data sent by
10139N/A<
refsect1 id="gnome-volcheck-1-exde"><
title>&exde-tt;</
title>
10139N/A<
para><
command>&cmd;</
command> listens to the events generated by Action File
10139N/AManager, but only processes the media insert events. When an insert event
10139N/Aoccurs, <
command>&cmd;</
command> may perform a number of actions. These actions
15995N/A</
filename> directory, as follows:
15995N/AIf a data file contains the text <
literal>password_protected</
literal>,
15995N/A<
command>&cmd;</
command> launches the GNOME protect media application
15995N/Ato protect the corresponding media.</
listitem>
15995N/A<
listitem>If a data file contains the text <
literal>unformatted_media
15995N/A</
literal>, <
command>&cmd;</
command> launches the GNOME format media
15995N/Aapplication to format the corresponding media.</
listitem>
15995N/A<
listitem>If a data file contains the text <
literal>audio_only</
literal>,
15995N/A<
command>&cmd;</
command> launches GNOME CD Player.</
listitem>
15995N/A<
listitem>If a data file does not contain any of the above,
15995N/A<
command>&cmd;</
command> launches Nautilus file manager to handle the
15995N/Acorresponding media. For multisegment media, <
command>&cmd;</
command> launches
15995N/Aa single file-manager view, instead of a file-manager view per segment.
10139N/A<
refsect1 id="gnome-volcheck-1-opts"><
title>&opts-tt;</
title>
10139N/A<
para>The following options are supported:</
para>
10139N/A<
variablelist termlength="narrow"><
varlistentry><
term><
option>i <
replaceable>
10139N/Atime</
replaceable></
option></
term><
listitem><
para>Specifies the number of
10139N/Aseconds to wait before starting the file manager. </
para>
10139N/A<
para>The minimum value is 0 seconds. The maximum value is 65535 seconds.
10139N/AThe default value is <
literal>30</
literal> seconds. If the specified value
10139N/Ais close to the minimum or maximum value, the removable media feature may
10139N/Anot work. If the specified value is outside the permitted range, the default
10139N/A<
para>If the file manager is in the user's session, the delay will ensure
10139N/Athat the file manager desktop view is started instead of the file manager
10139N/Aview, if any media is present in the drive during login. If the file manager
10139N/Ais not in the user's session, the delay will minimize the impact of run-time
10139N/A<
varlistentry><
term><
option>z <
replaceable>time</
replaceable></
option></
term>
10139N/A<
listitem><
para>Specifies the number of seconds to wait before checking the
10139N/A<
para>The minimum value is 0 seconds. The maximum value is 65535 seconds.
10139N/AThe default value is <
literal>3</
literal> seconds. If the specified value
10139N/Ais close to the minimum or maximum value, the removable media feature may
10139N/Anot work. If the specified value is outside the permitted range, the default
10139N/A<
para>This option is needed for multisegment media. Action File Manager creates
10139N/Aan insert event per segment. After 3 seconds sleep, <
command>&cmd;</
command>
10139N/Achecks to see whether there are additional insert events. This check is necessary
10139N/Ato ensure that <
command>&cmd;</
command> can handle correctly all events generated
10139N/A<
varlistentry><
term><
option>m <
replaceable>media</
replaceable></
option></
term>
10139N/A<
listitem><
para>Specifies the media types to be monitored. The supported values
10139N/Aare <
literal>cdrom</
literal>, <
literal>floppy</
literal>, <
literal>zip</
literal>, <
literal>
10139N/Ajaz</
literal>, and <
literal>dvdrom</
literal>. If the <
option>m</
option> option
10139N/Ais not specified, all media types are monitored.</
para>
10139N/A<
refsect1 id="gnome-volcheck-1-exam"><
title>&exam-tt;</
title>
10139N/A<
example role="example"><
title>Monitoring Several Removable Media With &cmd;</
title>
10139N/A<
para><
screen>example% <
userinput>&cmd; -i 40 -z 4 -m cdrom,zip,jaz,dvdrom
10139N/A<
para>This example shows how to run <
command>&cmd;</
command> with an initial
10139N/Asleep time of 40 seconds, and with 4 seconds of wait time before reading data
10139N/Afiles, to monitor the CD-ROM, Zip, Jaz, and DVD—ROM media types.</
para>
10139N/A<
refsect1 id="gnome-volcheck-1-envr"><
title>&envr-tt;</
title>
10139N/A<
para>See <
citerefentry><
refentrytitle>environ</
refentrytitle><
manvolnum>
10139N/A5</
manvolnum></
citerefentry> for descriptions of the following environment
10139N/Avariables that affect the execution of <
command>&cmd;</
command>: NLSPATH.
10139N/A<
refsect1 id="gnome-volcheck-1-exit"><
title>&exit-tt;</
title>
10139N/A<
para>The following exit values are returned:</
para>
10139N/A<
variablelist termlength="xtranarrow"><
varlistentry><
term><
returnvalue>0</
returnvalue></
term>
10139N/A<
listitem><
para>Application exited successfully</
para>
10139N/A<
varlistentry><
term><
returnvalue>2</
returnvalue></
term><
listitem><
para>Application
10139N/A<
varlistentry><
term><
returnvalue>3</
returnvalue></
term><
listitem><
para>Application
10139N/Afailed to create notification pipe</
para>
10139N/A<
refsect1 id="gnome-volcheck-1-file"><
title>&file-tt;</
title>
10139N/A<
para>The following files are used by this application:</
para>
10139N/A<
variablelist termlength="wholeline"><
varlistentry><
term><
filename>/
usr/
bin/&cmd;</
filename>
10139N/A</
term><
listitem><
para>The command-line executable for the application.</
para>
10139N/A</
term><
listitem><
para>The Sun GNOME Xsession startup configuration script.
10139N/A</
term><
listitem><
para>The notification pipe.</
para>
10139N/A<
refsect1 id="gnome-volcheck-1-attr"><
title>&attr-tt;</
title>
10139N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
10139N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
10139N/Afor descriptions of the following attributes:</
para>
10139N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
10139N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 10139N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
10139N/A<
row><
entry><
para>Availability</
para></
entry><
entry><
para>SUNWgnome-removable-media
10139N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry 10139N/Acolname="COLSPEC1"><
para>Volatile</
para></
entry></
row>
10139N/A<
refsect1 id="gnome-volcheck-1-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 11904N/A<
citerefentry><
refentrytitle>nautilus</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
11904N/A<
citerefentry><
refentrytitle>vold</
refentrytitle><
manvolnum>1M</
manvolnum></
citerefentry>,
11904N/A<
citerefentry><
refentrytitle>rmmount</
refentrytitle><
manvolnum>1M</
manvolnum></
citerefentry>,
11904N/A<
citerefentry><
refentrytitle>
rmmount.conf</
refentrytitle><
manvolnum>4</
manvolnum></
citerefentry>
11904N/A<
citerefentry><
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>,
11904N/A<
citerefentry><
refentrytitle>environ</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>
10139N/A<
refsect1 id="gnome-volcheck-1-note"><
title>¬e-tt;</
title>
10139N/A<
para><
command>&cmd;</
command> is a system administration program. It must
10139N/Abe invoked as a child of <
command>gnome-session</
command>. If invoked in any
10139N/Aother way, <
command>&cmd;</
command> behavior is not predictable.</
para>
11933N/A<
para>Written by Ghee Teo, Sun Microsystems Inc., 2003.</
para>