Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Motorola System V 88k Release 3.2 Version 1.2C

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  FBLKGEN(1M)           (UniSoft Value Added)           FBLKGEN(1M)



  NAME
       fblkgen - convert track numbers into file system logical
       block numbers

  SYNOPSIS
       etclkgen [-T] [-t file] [-d ddefsdir] devtype device

  DESCRIPTION
       For each file system on the specified disk device which
       contains logical blocks residing on track numbers from the
       input, create a file which contains those logical block
       numbers, one per line.

       By default, the input is assumed to be in head,cyclinder
       format, where the head and cylinder are blank- or tab-
       separated, one pair per line.  For example:
                 3 104
                 7 986

       The files are placed in /etc/badtracks.  The names are of
       the form F.x_ysp, where x is the controller, y is the drive
       logical unit number on that controller, and p is the
       partition (or slice) in which this file system begins.  No
       files are created for partitions which do not have bad
       blocks or which do not contain a file system.

       These files are suitable as input files for fsck ( option).
       If you do not remove existing files for the device before
       starting, the new numbers are appended.

       fblkgen discards those input values having corresponding
       track numbers which are less than zero or larger than the
       maximum as computed from entries in /etc/dskdefs/devtype.

       If file systems appear to overlap because of an obsolete
       file system which has not yet had its superblock
       overwritten, you will be prompted to indicate which is the
       correct file system.




  Page 1                                                   May 1989


















  FBLKGEN(1M)           (UniSoft Value Added)           FBLKGEN(1M)



       The options are:

       -T        The input, whether from a file or entered
                 interactively, is in track format, one track
                 number per line.  The default format without this
                 option is head,cylinder pairs format.

       -t file   Use the named file as input.  The format is either
                 single track numbers or head,cylinder pairs, one
                 track number or pair per line.  If this option is
                 omitted, you will be prompted to enter the data
                 manually.

       -d ddefsdir
                 Use the directory ddefsdir rather than
                 /etc/dskdefs to find the entry for devtype.

       devtype   This is the device type found in /etc/dskdefs
                 which uniquely identifies the device (e.g.,
                 m323182). See ddefs(1M).

       device    The disk device name of the form x_y, where x is
                 the controller mnemonic and y is the drive logical
                 unit number on that controller.  For example,
                 m323_1.

       The xformtrk(1M) utility converts various input formats into
       a form suitable for fblkgen.

  EXAMPLE
       Use the list, which is in head,cylinder format, to generate
       a list of affected file system logical blocks on the first
       CDC WREN disk attached to the MVME323 controller.

                 fblkgen  -t  m323182  m3200

  FILES
       /etc/badtracks/F.device
       /etc/dskdefs/*



  Page 2                                                   May 1989


















  FBLKGEN(1M)           (UniSoft Value Added)           FBLKGEN(1M)



  SEE ALSO
       xformtrk(1M)

  DIAGNOSTICS
       Exit Codes:

            0 - success

            1 - internal failure        unknown type or device,
                                        general error

            2 - I/O failure             files not found, read/write
                                        failure, etc.

            3 - bad command usage       syntax error within command
                                        line

            4 - user interrupt






















  Page 3                                                   May 1989


















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