Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rmmount.conf(4) — SunOS 5.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rmmount(1)

vold(1M)

vold.conf(4)

rmmount.conf(4)

NAME

rmmount.conf − removable media mounter configuration file

SYNOPSIS

/etc/rmmount.conf

DESCRIPTION

The rmmount.conf file contains the rmmount(1) configuration information.  This file describes where to find shared objects to identify file systems and perform actions after identifying and mounting them. 

The syntax for the rmmount.conf file is shown here. 

# File system identification
ident filesystem_type shared_object media_type [media_type ...]

# Actions
action media_type shared_object args_to_so

Here are the explanations of the syntax for the file system identification fields. 

filesystem_type An ASCII string that is used as the file system type flag to the mount command (see the −F option of mount(1M)).  It is also used to match against names passed into rmmount(1) from Volume Management. 

shared_object Programs that identify file systems and perform actions.  If shared_object starts with ’/’, the full path name is used, otherwise, /usr/lib/fs/filesystem_type is prepended to the name. 

media_type The type of media that this file system may be found on. 

Here are the explanations of the syntax for the Actions fields. 

media_type Type of media.  Passed in from Volume Management as VOLUME_TYPE. 

shared_object Programs that identify file systems and perform actions.  If shared_object starts with ’/’, the full path name is used, otherwise, /usr/lib/fs/filesystem_type is prepended to the name. 

args_to_so Arguments can be passed to the shared_object by placing them here.  They are passed in as an argc, argv, and the action function interprets them as desired. 

Default Values

The default rmmount.conf file is shown here. 

#
# Removable Media Mounter configuration file.
#

# File system identification
ident hsfs ident_hsfs.so cdrom
ident ufs ident_ufs.so cdrom floppy
ident pcfs ident_pcfs.so floppy
# Actions
action cdrom action_filemgr.so
action floppy action_filemgr.so

SEE ALSO

rmmount(1), vold(1M), vold.conf(4)

SunOS 5.2  —  Last change: 23 Feb 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026