Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fstyp(8) — CLIX 3.1r7.6.22

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mount(8)

mount(2)

sysfs(2)



  fstyp(8)                            CLIX                            fstyp(8)



  NAME

    fstyp - Determines file system identifier

  SYNOPSIS

    fstyp special

  FLAGS

    None.

  DESCRIPTION

    The fstyp command allows the user to determine the file system identifier
    for mounted or unmounted file systems using heuristic programs.  The file
    system type is required by mount and sometimes by mount to mount file
    systems of different types.

    The directory /etc/fstyp.d contains a program for each file system type to
    be checked; each of these programs applies some appropriate heuristic to
    determine whether the supplied special file is of the type for which it
    checks.  If it is, the program displays, on stdout, the usual file system
    identifier for that type and exits with a return code of 0; otherwise it
    displays error messages on stderr and exits with a nonzero return code.
    The fstyp command runs the programs in /etc/fstyp.d in alphabetical order,
    passing special as an argument; if any program succeeds, its file system
    type identifier is displayed and fstyp exits immediately.  If no program
    succeeds, the fstyp command displays Unknown_fstyp to indicate failure.

  EXAMPLES

    1.  To get the identifier for the file system associated with the named
        device.

        fstyp /dev/dsk/slu0p7.5


  FILES

    etc/fstyp.d/*   Contains functions to identify various file system types.

  CAUTIONS

    The use of heuristics implies that the result of fstyp is not guaranteed
    to be accurate.

  DIAGNOSTICS

    Unknown fstyp
           The file system type could not be determined.



  2/94 - Intergraph Corporation                                              1






  fstyp(8)                            CLIX                            fstyp(8)



  EXIT VALUES

    The fstyp command exits with a value of 1 if an error occurs or if the
    file system type could not be determined.

  RELATED INFORMATION

    Commands:  mount(8)

    Functions:  mount(2), sysfs(2)












































  2                                              Intergraph Corporation - 2/94




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