FILETYPE(5)

NAME
filetype - DeskSet binding database file

SYNOPSIS
/etc/filetype

DESCRIPTION

The filetype file is a database file used by both the OpenWindows and SunView DeskSet tools.

The file describes bindings between types of files. That is, it contains entries defining what type of action should be done on a type of file. Specifically, it binds an icon and color to a file type, and defines what method is used to invoke and print a given filetype.

Files may be described in one of two ways: by a name pattern (such as *.ras) or by their magic number (as defined in the /etc/magic file).

/etc/filetype is the system default database file created by running the install_deskset script (for the SunView DeskSet), or install_filemgr script (for the OpenWindows DeskSet).

$HOME/.filetype is the user's own personal binding database file, which can be created and modified using the binder tool.

The DeskSet will first use the user's personal $HOME/.filetype file if it is found; else it will use the system defaults defined in /etc/filetype. These two files are mutually exclusive; entries are not shared between them.

These files are not meant to be modified by hand; the DeskSet tool binder should always be used to modify them. Remember to start the binder as root if you wish to modify the system's defaults in /etc/filetype.

FILES
/etc/magic
/etc/filetype
$HOME/.filetype

NOTES

These files will only be used for SunView DeskSet 1.0 & 1.1 and OpenWindows DeskSet 2.0. A new way of storing and retrieving binding information will be used in future OpenWindows DeskSet tools.