*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> newfs (1m)              


 newfs(1M)                                                         newfs(1M)

 NAME    [Toc]    [Back]
      newfs - construct a new file system

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/newfs [-F FStype] [-o specific_options] [-V] special

 DESCRIPTION    [Toc]    [Back]
      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    [Toc]    [Back]
      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.  Current valid Fstype values are:
                          hfs and vxfs, for the HFS and JFS (VxFS) file
                          systems, respectively.

           -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

           -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

 EXAMPLES    [Toc]    [Back]
      Execute the newfs command to create an HFS file system on

           newfs -F hfs /dev/rdsk/c1t0d2

 AUTHOR    [Toc]    [Back]
      newfs was developed by HP and the University of California, Berkeley.

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003

 newfs(1M)                                                         newfs(1M)

 FILES    [Toc]    [Back]
      /etc/default/fs          File that specifies the default file system
      /etc/fstab               Static information about the file systems.

 SEE ALSO    [Toc]    [Back]
      fsck(1M), fstyp(1M), mkfs(1M), newfs_hfs(1M), newfs_vxfs(1M),
      fstab(4), fs_wrapper(5).

 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
mkfs_hfs HP-UX construct an HFS file system
newfs_hfs HP-UX construct a new HFS file system
newfs_msdos OpenBSD construct a new MS-DOS (FAT) file system
newfs_msdos FreeBSD construct a new MS-DOS (FAT) file system
mkfs_vxfs HP-UX construct a VxFS file system
mkfs HP-UX construct a file system (generic)
newfs FreeBSD construct a new UFS1/UFS2 file system
tmpnam Tru64 Construct the name for a temporary file
tempnam Tru64 Construct the name for a temporary file
mktemp Tru64 Construct a unique file name or directory
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service