Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ newfs(1M) — HP-UX 10.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck(1M)

fstyp(1M)

mkfs(1M)

newfs_FStype(1M)

fstab(4)

fs_wrapper(5)

newfs(1M)

NAME

newfs (generic) − construct a new file system

SYNOPSIS

/usr/sbin/newfs [−F FStype] [−o specific_options] [−V] special

DESCRIPTION

The newfs command is a "friendly" front-end to the mkfs command (see mkfs(1M)). The newfs command calculates the appropriate parameters and then builds the file system by invoking the mkfs command. 

special represents a character (raw) special device. 

Options

newfs recognizes the following options:

−F FStype Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)). If this option is not included on the command line, then the file system type is determined from the file /etc/fstab by matching special with an entry in that file.  If there is no entry in /etc/fstab, then the file system type is determined from the file /etc/default/fs. 

−o specific_options
Specify options specific to the file system type. specific_options is a list of suboptions and/or keyword/attribute pairs intended for an FStype-specific module of the command. See the file system specific manual entries for a description of the specific_options that are supported, if any. 

−V Echo the completed command line, but perform no other actions.  The command line is generated by incorporating the specified options and arguments and other information derived from /etc/fstab.  This option allows the user to verify the command line. 

EXAMPLES

Execute the newfs command to create an HFS file system on /dev/rdsk/c1d0s2

newfs −F hfs /dev/rdsk/c1d0s2

AUTHOR

newfs was developed by HP and the University of California, Berkeley. 

FILES

/etc/default/fs File that specifies the default file system type. 

/etc/fstab Static information about the file systems. 

SEE ALSO

fsck(1M), fstyp(1M), mkfs(1M), newfs_FStype(1M), fstab(4), fs_wrapper(5).

Hewlett-Packard Company  —  HP-UX Release 10.20:  July 1996

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