Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mkfs(1a) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

makefsys(1M)

vfstab(4)



mkfs(1M)         SYSTEM ADMINISTRATION COMMANDS          mkfs(1M)



NAME
     mkfs (generic) - construct a file system

SYNOPSIS
     mkfs   [-F   FSType]   [-V]   [-m]   [current_options]   [-o
     specific_options] special [operands]

DESCRIPTION
     mkfs constructs a file system  by  writing  on  the  special
     file;  special  must be the first argument.  The file system
     is  created  based  on  the  FSType,  specific_options   and
     operands  specified  on  the  command  line.  mkfs  waits 10
     seconds before starting to construct the file system.   Dur-
     ing  this  time  the  command  can  be aborted by entering a
     delete (DEL).

     Building new filesystems on a new disk requires the  use  of
     format, which formats the disk, fmthard, which adds the disk
     partition table to the disk, newfs or  mkfs,  which  creates
     filesystems,  and  mount, which makes the filesystems avail-
     able for use.

     operands are FSType-specific and the FSType specific  manual
     page of mkfs should be consulted for a detailed description.

     current_options are options  supported  by  the  s5-specific
     module  of  mkfs.   Other FSTypes do not necessarily support
     these options.  specific_options indicate suboptions  speci-
     fied   in   a  comma-separated  list  of  suboptions  and/or
     keyword-attribute pairs for interpretation  by  the  FSType-
     specific module of the command.

     The options are:

     -F        Specify the FSType to be constructed.  The  FSType
               should either be specified here or be determinable
               from /etc/vfstab by matching the special  with  an
               entry in the table.

     -V        Echo the complete command line, but do not execute
               the  command.   The  command  line is generated by
               using the options and arguments  provided  by  the
               user  and  adding to them information derived from
               /etc/vfstab.  This option should be used to verify
               and validate the command line.

     -m        Return the command line which was used  to  create
               the  file  system.   The  file system must already
               exist.  This option provides a means of  determin-
               ing the command used in constructing the file sys-
               tem.  It  cannot  be  used  with  current_options,
               specific_options, or operands.  It must be invoked



                                                                1





mkfs(1M)         SYSTEM ADMINISTRATION COMMANDS          mkfs(1M)



               by itself.

     -o        Specify FSType-specific options.

NOTES
     This command may not be supported for all FSTypes.

FILES
     /etc/vfstab    list of default parameters for each file sys-
     tem

SEE ALSO
     makefsys(1M), vfstab(4).
     Manual pages for the FSType-specific modules of mkfs.









































                                                                2



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