Manual Pages for UNIX Darwin command on man newfs_hfs
MyWebUniversity

Manual Pages for UNIX Darwin command on man newfs_hfs

NEWFSHFS(8) BSD System Manager's Manual NEWFSHFS(8)

NAME

nneewwffsshhffss - construct a new HFS Plus file system

SYNOPSIS

nneewwffsshhffss [-NN [partition-size]] [-UU uid] [-GG gid] [-MM mask] [-hh | -ww]

[-ss] [-bb block-size] [-cc clump-size-list] [-ii first-cnid]

[-JJ [journal-size]] [-nn node-size-list] [-vv volume-name]

special

DESCRIPTION

NNeewwffsshhffss builds an HFS Plus file system on the specified special device. Before running nneewwffsshhffss the disk should be partitioned using the Disk Utility application or pdisk(8). The file system default parameters are calculated based on the size of the disk partition. Typically the defaults are reasonable, however nneewwffsshhffss has several options to allow the defaults to be selectively overridden. The options are as follows:

-NN [partition-size]

Causes the file system parameters to be printed out without really creating the file system.

-UU uid Set the owner of the file system's root directory to uid.

-GG gid Set the group of the file system's root directory to gid.

-MM mask Specify the access permissions mask for the file system's

root directory.

-hh Creates a legacy HFS format filesystem. This option is not

recomended for file systems that will be primarily used with Mac OS X or Darwin.

-ss Creates a case-sensitive HFS Plus filesystem. By default a

case-insensitive filesystem is created. Case-sensitive HFS

Plus file systems require a Mac OS X version of 10.3 (Darwin 7.0) or later.

-ww Adds an HFS wrapper around the HFS Plus file system. This

wrapper is required if the file system will be used to boot natively into Mac OS 9.

-bb block-size

The allocation block size of the file system. The default value is 4096.

-cc clump-size-list

This specifies the clump and/or initial sizes, in allocation blocks, for the various metadata files. Clump sizes are

specified with the -cc option followed by a comma separated

list of the form arg=blocks.

Example: -c c=5000,e=500

a=blocks Set the attribute file clump size. b=blocks Set the allocation bitmap file clump size. c=blocks Set the catalog file clump size. e=blocks Set the extent overflow file clump size.

-ii first-cnid

This specifies the initial catalog node ID for user files and directories. The default value is 16.

-JJ [journal-size]

Creates a journaled HFS+ volume. The default journal size is 8MB. Appending an 'M' to the journal size implies megabytes (i.e. 64M is 64 megabytes). The maximum journal size is 512 megabytes.

-nn node-size-list

This specifies the b-tree node sizes, in bytes, for the vari-

ous b-tree files. Node sizes are specified with the -nn

option followed by a comma separated list of the form arg=bytes. The node size must be a power of two and no larger than 32768 bytes.

Example: -n c=8192,e=4096

a=bytes Set the attribute b-tree node size.

c=bytes Set the catalog b-tree node size.

e=bytes Set the extent overflow b-tree node size.

-vv volume-name

Volume name (file system name) in ascii or UTF-8 format.

SEE ALSO

mount(8), pdisk(8) HISTORY The nneewwffsshhffss command appeared in Mac OS X Server 1.0 . Mac OS X April 1, 2003 Mac OS X




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™