Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fstomnt(1M) — HP-UX 6.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

checklist(4)

fsck(1M)

FSTOMNT(1M)  —  HP-UX

Series 300 Only

NAME

fstomnt − convert file system checklist file to new format

SYNOPSIS

/etc/fstomnt [−r] [file]

DESCRIPTION

Fstomnt converts entries in old checklist(4) format to entries in new checklist(4) format. Input is read from the /etc/checklist file unless the optional file argument is given.  The converted entries are written to the standard output. 

The −r option reverses the direction of the conversion.  That is, entries in new checklist(4) format are converted to old checklist(4) format.

The old checklist(4) format contains a list of mountable file system entries. The fields within each entry are separated by one or more blanks. Each file system entry is contained on a separate line. An entry in old checklist(4) format is defined by the following fields:

special file name
block special file name
directory
type
pass number
backup frequency
comment

special file name is either a character or block special file name.  The special file name field is required. 

The remaining fields are optional.  However, if any optional fields are specified, all remaining fields are required. 

block special file name
is the block special file corresponding to special file name . 

directory is the name of the root of the mounted file system that corresponds to the block special file name.

type can be rw, ro, sw or xx.  When the type field is converted to new format, rw and ro are unchanged, sw becomes swap, and xx becomes ignore. 

pass number is used by the fsck(1M) command to determine the order in which file system checks are done when using the -p option of fsck(1M).

backup frequency is reserved for possible use by future backup utilities. 

comment is an optional field that starts with a pound sign (#) and ends with a newline. 

The new checklist(4) format is defined on the checklist(4) page.

DIAGNOSTICS

Illegal checklist(4) entries are written as comment lines to the standard output.

EXAMPLES

An old format entry of the form:

/dev/rdsk/0s0 /dev/dsk/0s0 / rw  1 0 #root disk
/dev/rdsk/0s1 /dev/dsk/0s1 /spare xx  1 0 #ignored entry

will be converted to a new format entry of the form:

/dev/dsk/0s0 / hfs rw 0 1 #root
/dev/dsk/0s1 /spare ignore defaults 0 1 #ignored entry

WARNINGS

When converting from new to old format, entries of non-hfs type will be ignored.  Also, only the rw and ro options are significant.  All other options are ignored. 

Beware of

/etc/fstomnt > /etc/checklist

as this will destroy the checklist file before reading it. 

AUTHOR

Fstomnt was developed by HP. 

FILES

/etc/checklist

SEE ALSO

checklist(4), fsck(1M). 

Hewlett-Packard Company  —  Version B.1,  May 11, 2021

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