Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #129
Difficulty: Easy
The original Linux source code was developed by Linus Torvalds and the GNU Foundation.
True or False?
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_ADOS(8)						    BSD System Manager's Manual 					     MOUNT_ADOS(8)

NAME
mount_ados -- mount an AmigaDOS file system SYNOPSIS
mount_ados [-o options] [-u uid] [-g gid] [-m mask] special node DESCRIPTION
The mount_ados command attaches the AmigaDOS filesystem residing on the device special to the global filesystem namespace at the location indicated by node. Both special and node are converted to absolute paths before use. This command is normally executed by mount(8) at boot time, but can be used by any user to mount an AmigaDOS file system on any directory that they own (provided, of course, that they have appro- priate access to the device that contains the file system). The options are as follows: -o options Use the specified mount options, as described in mount(8). -u uid Set the owner of the files in the file system to uid. The default owner is the owner of the directory on which the file system is being mounted. -g gid Set the group of the files in the file system to gid. The default group is the group of the directory on which the file system is being mounted. -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. SEE ALSO
mount(2), unmount(2), fstab(5), mount(8) HISTORY
The mount_ados utility first appeared in NetBSD 1.0. BUGS
The 'ados' filesystem currently supports the Amiga fast file system. The 'ados' filesystem implementation currently is read-only. The mount_ados utility silently retries the mount read-only, as if the ro option were specified, when it encounters the [EROFS] error. BSD
April 7, 1994 BSD

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mounting Netware Volume

I have an Intranetware 4.11 server with a shared directory that I want to be able to access from my SCO UNIX server. I think I need to mount the netware volume from within UNIX, but I don't know the proper syntax for mounting it. When I'm done I would like to be able to copy files from the UNIX... (2 Replies)
Discussion started by: jamacin
2 Replies

2. UNIX for Dummies Questions & Answers

Symbolic Links to a network drive ??

Hi, I'm running Mac OS 10.3 (I was going to post to the Apple section but there were very few posts there when I looked)... I mount a network volume at startup, and would like to create an alias or symbolic link to that network volume that is reachable/readable/writeable by users who connect to my... (3 Replies)
Discussion started by: djbeta
3 Replies

3. AIX

Downgrade AIX 5.3 to AIX 5.2. Is it possible??

Good day. I have a machine with 5.3 installed but I do not have the cds. I have the 5.2 cds and when i boot in maintenance mode I cannot mount my root volume group. (5.2!=5.3) I thought about wiping and installing the machine with 5.2 but I am not sure if 5.2 will be able top mount my 5.3... (1 Reply)
Discussion started by: Netghost
1 Replies

4. UNIX for Dummies Questions & Answers

cp command issue.

All, I have files in directory,when i try to overwrite those files it gave operation not permitted error. I am using same group user (ina2) while overwritng this file. Sample file : -rw-rw-r-- 1 ina1 indev 316 Jun 06 13:44 ONCTEST.dat Error: cp: /proj/out/ONCTEST.dat: Operation... (4 Replies)
Discussion started by: sai_nj
4 Replies

5. UNIX for Dummies Questions & Answers

After changing permissions, volume wont mount

Ok. Here it is. I limited access to my external hard disk's partition/volume on Mac os X simply by changing permissions in Get Info window. But now the hard disk icon has disappeard and wont mount. Have tried different kind of soft to mount, but no luck. Then there is the utility called Terminal,... (0 Replies)
Discussion started by: meelismalgand
0 Replies

6. UNIX for Dummies Questions & Answers

how to export a volume group

what are the steps necessary to export a Volume group when its file systems are mounted. how to restore the system to normal. (3 Replies)
Discussion started by: docaia
3 Replies

7. Solaris

Command used for checking space occupied by files & sub-direc's inside a mount in %?

Hi, I want to know the command which can be used for finding the % of disk space occupied by files & sub-folders inside a given mount in Sun Solaris For eg: I have /tmp/ folder when I sat df -k it will give the percentage of space used by /tmp/. Say if I want to see how much % the files &... (2 Replies)
Discussion started by: weblogicsupport
2 Replies

8. Filesystems, Disks and Memory

Porting OSE to Linux

Hi, I was trying to port efs_mount(OSE system call) to a LInux.The efs_mount function is used to mount a volume on the indicated device dev.Upon successful completion of this OSE sytem call a volume manager (VM) will be available through which files on this volume are accessed. The Syntax for... (4 Replies)
Discussion started by: roshantraj30
4 Replies

9. Solaris

Mount A ZFS volume

Is there any way i can mount a zfs volume using snapshot or some other means ? (2 Replies)
Discussion started by: fugitive
2 Replies

10. Solaris

In Solaries 10 how to mount multiple volume on same mounted point

Hi , I am completely stuck and not getting any clue to come out this . So looking for help Q : I have salaries 10 in server with that Dell Equallogic storage connected. in dell Equlalogic in i have 70 TB storage . I created 7 volumes 10 TB each . In Solaries 10 i have syslog server i... (1 Reply)
Discussion started by: Roahn Tiwari
1 Replies

11. Shell Programming and Scripting

List files whose owner or group is numeric

I want to add a condition is my find command to include files/sub-directory whose owner or group is all numeric number. My current find command is find . \( -user root -o -user soham\) -type f -exec ls -l {} \; 2>&1 ---------- Post updated at 10:20 AM ---------- Previous update was at... (5 Replies)
Discussion started by: Soham
5 Replies

12. UNIX for Beginners Questions & Answers

Is there a way to restrict a user (owner) to execute scripts from a specific directory

Hello, I have a user Bob on a RHEL 7 server1. Where his script area is "/home/Bob/scripts/" and he is the owner for this directory. On the server1, there is a NFS mount from another server2, with path as "/global/work/" and Bob is the owner for this directory too in server2. (Same UID and GID... (5 Replies)
Discussion started by: karumudi7
5 Replies

Featured Tech Videos