Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ newfs(8) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fs(5)

fsck(8)

mkfs(8)

scsiformat(8)

tunefs(8)



NEWFS(8)                COMMAND REFERENCE                NEWFS(8)



NAME
     newfs - construct a new file system

SYNOPSIS
     /etc/newfs [ -v ] [ -F ] [ mkfs-options ] special

DESCRIPTION
     Newfs is a friendly front-end to the mkfs(8) program.  The
     information that mkfs needs is available from header
     information put on the disk when it was formatted.  Newfs
     will use the argument special to find that information to
     format the parameters for use in calling mkfs, then build
     the file system by running mkfs.

     Special is the special file on which the file system is to
     be mounted.  It will typically be a partition of a disk
     (e.g., /dev/ds06a).  The disk must have previously been
     formatted using scsifmt(8) or its equivalent in the Stand-
     alone Utilities Package.

     Newfs must be run as super-user, since it must write to an
     entire file system.

     Only under extraordinary circumstances will a user need to
     use any of the options below to override normal operation.

OPTIONS
     -v        Newfs will print out its actions, including the
               parameters passed to mkfs.

     -F        Newfs will only print warnings, rather than exit,
               if it fails to identify the system, or if it
               discovers the special file is a swap device.

     Mkfs-options which may be used to override default
     parameters passed to mkfs 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.

     -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
               each 2048 bytes of data space.  If fewer inodes
               are desired, a larger number should be used; to



Printed 5/12/88                                                 1





NEWFS(8)                COMMAND REFERENCE                NEWFS(8)



               create more inodes a smaller number should be
               given.

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

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

     -S sector-size
               The size of a sector in bytes (almost never
               anything but 512).

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

     -t #tracks/cylinder
               The number of tracks per cylinder.

FILES
     /etc/mkfs to build the file system

RETURN VALUE
     [NO_ERRS]      Command completed without error.

     [NP_ERR]       An error occurred that was not a system
                    error.  Execution terminated.

     [P_ERR]        A system error occurred. Execution
                    terminated.  See intro(2) for more
                    information on system errors.

SEE ALSO
     fs(5), fsck(8), mkfs(8), scsiformat(8), and tunefs(8).



















Printed 5/12/88                                                 2





































































%%index%%
na:264,87;
sy:351,419;
de:770,1426;
op:2196,1547;4079,849;
fi:4928,111;
rv:5039,461;
se:5500,217;
%%index%%000000000131

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