Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fstyp(ADM) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(ADM)

mount(S)

sysfs(S)


 fstyp(ADM)                    06 January 1993                     fstyp(ADM)


 Name

    fstyp - determine filesystem type

 Syntax

    /etc/fstyp device

 Description

    The fstyp command allows the super user to determine the filesystem type
    of mounted or unmounted filesystems using heuristic programs. The file-
    system type is required by mount(S) and sometimes by mount(ADM) to mount
    filesystems of different types.

    fstyp runs the fstyp programs in each of the directories
    /etc/fscmd.d/TYPE in alphabetical order, passing the name of the special
    device file (device) associated with the filesystem as an argument; if
    any program succeeds, its filesystem type identifier is printed and fstyp
    exits immediately. If no program succeeds, fstyp prints:

       Unknown_fstyp

    to indicate failure.

 Examples

    To find the filesystem type for the root filesystem:

       /etc/fstyp /dev/root

    To find the filesystem type for another filesystem; here /dev/u (usually
    mounted on /u):

       /etc/fstyp /dev/u


 See also

    mount(ADM), mount(S) and sysfs(S).


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