Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ newfs(1M) — Amiga System V Release 4 Version 2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck(1M)

mkfs(1M)

tunefs(1M)

fs(4)



newfs(1M)         MISC. REFERENCE MANUAL PAGES          newfs(1M)



NAME
     newfs - construct a new file system

SYNOPSIS
     /usr/ucb/newfs [ -nNv ] [ mkfs-options ] block-special-file

DESCRIPTION
     newfs is a friendly front-end to the mkfs(1M)  program.   On
     Sun systems, the disk type is determined by reading the disk
     label for the specified block-special-file.   block-special-
     file is the name of a block special device residing in /dev.
     If you want to make a file system on sd0,  you  can  specify
     sd0  rsd0  or /dev/rsd0; if you only specify sd0, newfs will
     find the proper device.  newfs then calculates the appropri-
     ate  parameters to use in calling mkfs, builds the file sys-
     tem by forking mkfs and, if the file system is a root parti-
     tion,  installs the necessary bootstrap programs in its ini-
     tial 16 sectors.

OPTIONS
     -n   Do not install the bootstrap programs.

     -N   Print out the file system parameters  without  actually
          creating the file system.

     -v   Verbose.  newfs prints out its actions,  including  the
          parameters passed to mkfs.

     mkfs-options
          Options that override the default parameters passed  to
          mkfs(1M) are:

          -b block-size
               The block size of the file system in bytes.

          -c #cylinders/group
               The number of cylinders per cylinder  group  in  a
               file system.  The default value used is 16.

          -d rotdelay
               This specifies the expected time (in milliseconds)
               to  service  a  transfer  completion interrupt and
               initiate a new transfer on the same disk.   It  is
               used  to  decide  how  much  rotational spacing to
               place between successive blocks in a file.

          -f frag-size
               The fragment size of the file system in bytes.

          -i bytes/inode
               This specifies the density of inodes in  the  file
               system.   The  default  is  to create an inode for



             Last change: BSD Compatibility Package             1





newfs(1M)         MISC. REFERENCE MANUAL PAGES          newfs(1M)



               each 2048 bytes of data space.   If  fewer  inodes
               are  desired,  a  larger number should be used; to
               create more inodes  a  smaller  number  should  be
               given.

          -m free-space%
               The  percentage  of  space  reserved  from  normal
               users;  the  minimum  free  space  threshold.  The
               default value used is 10%.

          -o optimization
               (space or time).  The file system  can  either  be
               instructed to try to minimize the time spent allo-
               cating blocks, or to try  to  minimize  the  space
               fragmentation  on  the  disk.  If the minimum free
               space threshold (as specified by the -m option) is
               less  than  10%,  the  default  is to optimize for
               space; if the  minimum  free  space  threshold  is
               greater  than  or  equal to 10%, the default is to
               optimize for time.

          -r revolutions/minute
               The speed of the disk in  revolutions  per  minute
               (normally 3600).

          -s size
               The size of the file system in sectors.

          -t #tracks/cylinder
               The number of tracks per cylinders on the disk.

FILES
     /usr/mdec       for boot strapping programs
     /dev

SEE ALSO
     fsck(1M),  mkfs(1M),  tunefs(1M),  fs(4)   in   the   System
     Administrator's Reference Manual.

















             Last change: BSD Compatibility Package             2



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