Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mount_apfs(8) [mojave man page]

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

NAME
mount_apfs -- mount an APFS volume SYNOPSIS
mount_apfs [-o options] [-u user] [-g group] special directory mount_apfs [-o options] -s snapshot pathname directory DESCRIPTION
The mount_apfs command attaches the APFS volume indicated by the device special to the global file system namespace at the location indicated by directory. This command is normally executed by diskarbitrationd(8) or mount(8) at boot time. The special parameter should be the path to an APFS pseudo disk device node, such as /dev/disk0s2s1 (which is a volume inside the container /dev/disk0s2), which can also be specified as simply disk0s2s1. The options are as follows: -o options Options passed to mount(2) are specified with the -o option followed by a comma separated string of options. See the mount(8) man page for possible options and their meanings. -u user Set the owner of the files in the file system to user. The default owner is the owner of the directory on which the file system is being mounted. The user may be a user-name, or a numeric value. -g group Set the group of the files in the file system to group. The default group is the group of the directory on which the file system is being mounted. The group may be a group-name, or a numeric value. -s snapshot The name of the snapshot to mount. In this usage pathname is the mounted root directory of the base volume containing the snapshot. DIAGNOSTICS
The mount_apfs utility exits 0 on success, and >0 if an error occurs. SEE ALSO
mount(2), unmount(2), fstab(5), mount(8) HISTORY
The mount_apfs utility first appeared in OS X 10.12. Mac OS X September 16, 2015 Mac OS X

Check Out this Related Man Page

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

NAME
mount_hfs -- mount an HFS/HFS+ file system SYNOPSIS
mount_hfs [-e encoding] [-u user] [-g group] [-m mask] [-o options] [-j] [-c] [-w] [-x] special directory DESCRIPTION
The mount_hfs command attaches the HFS file system residing on the device special to the global file system namespace at the location indi- cated by directory. This command is normally executed by mount(8) at boot time. The options are as follows: -e encoding (standard HFS volumes only) Specify the Macintosh encoding. The following encodings are supported: Arabic, ChineseSimp, ChineseTrad, Croatian, Cyrillic, Greek, Hebrew, Icelandic, Japanese, Korean, Roman (default), Romanian, Thai, Turkish -u user Set the owner of the files in the file system to user. The default owner is the owner of the directory on which the file system is being mounted. The user may be a user-name, or a numeric value. -g group Set the group of the files in the file system to group. The default group is the group of the directory on which the file system is being mounted. The group may be a group-name, or a numeric value. -m mask Specify the maximum file permissions for files in the file system. (For example, a mask of 755 specifies that, by default, the owner should have read, write, and execute permissions for files, but others should only have read and execute permissions. See chmod(1) for more information about octal file modes.) Only the nine low-order bits of mask are used. The default mask is taken from the directory on which the file system is being mounted. -o Options are specified with a -o flag followed by a comma separated string of options. See the mount(8) man page for possible options and their meanings. -j Ignore the journal for this mount. -c Disable group commit for journaling. -w Mount the HFS wrapper volume. -x Disable execute permissions on a standard HFS file system. SEE ALSO
mount(2), unmount(2), fstab(5), mount(8) BUGS
Some HFS file systems with highly fragmented catalog files may not mount. HISTORY
The mount_hfs utility first appeared in Mac OS X Server 1.0. Mac OS X March 14, 2001 Mac OS X
Man Page