HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)

m
mkfs_hfs(1M) mkfs_hfs(1M)
Access Control Lists
Every file with one or more optional ACL entries consumes an extra (continuation) inode. If you anticipate
significant use of ACLs on a new file system, you can allocate more inodes by reducing the value of nbpi
appropriately. The small default value typically causes allocation of many more inodes than are actually
necessary, even with ACLs. To evaluate your need for extra inodes, run the
bdf -i command on existing
file systems. For more information on access control lists, see acl(5).
EXAMPLES
Execute the
mkfs command to create a 32MB HFS file system on the non-LVM disk
/dev/dsk/c1t2d0
:
mkfs -F hfs /dev/dsk/c1t2d0 32768
Display the command that was used to construct the file system on
/dev/dsk/c1t2d0
:
mkfs -F hfs -m /dev/dsk/c1t2d0
Create an HFS file system within a logical volume
/dev/vg01/my_lvol
of a size equal to the size of
my_lvol:
mkfs -F hfs /dev/vg01/my_lvol
WARNINGS
The old -F option, from prior releases of mkfs(1M), is no longer supported.
mkfs_hfs(1M) cannot be executed specifying creation of a file system on a whole disk if that disk was previ-
ously used as an LVM disk. If you wish to do this, use mediainit(1) to reinitialize the disk first.
The
-o largefile option should be used with care, since older applications will not react correctly
when confronted with large files.
AUTHOR
mkfs was developed by HP and the University of California, Berkeley.
FILES
/var/adm/sbtab List of locations of the superblocks for the created file system. The
mkfs com-
mand appends entries to this file.
SEE ALSO
chmod(1), bdf(1M), df(1M), fsadm_hfs(1M), fsck(1M), fsck_hfs(1M), fsclean(1M), mkfs(1M), mount_hfs(1M),
newfs(1M), newfs_hfs(1M), dir(4), fstab(4), group(4), passwd(4), symlink(4), acl(5).
STANDARDS CONFORMANCE
mkfs: SVID3
568 Hewlett-Packard Company 4 HP-UX 11i Version 2: December 2007 Update