mount -a [-F][-fnrsvw] [-t fstype] linux darwin/BSD
mount [-fnrsvw] [-o options] [-t fstype] device directory
mount [-fnrsvw] [-o options [,…]] device | directory
mount [-hV]
Temporaily attach the file system which exists on device
overlaying directory
and update /etc/mtab
device |
File system specific types
ufs |
The previous contents of directory
are hidden.
It might be a good idea to touch "not mounted"
at the mount point
this will cause the file not mounted
to be displayed if the mount point is retained and has no device mounted.
List all mounted file systems of type fstype
mount [-t fstype]
The proc
file system is not associated with a special device, proc can be used instead of a device specification.
cifs
//server/share
-o options
user=[workgroup/]uname[%pass
| ||||||||
pass[word]=pppp
| ||||||||
ro |
mount [-adfruvw] [-t fstype ]
Prepare and graft a special device or the remote node (
Without Without arguments, the currently mounted files systems are output with options. > mount minor edits for clarity /dev/disk1s6s1 on / (apfs, sealed, local, read-only, journaled) /dev/disk1s1 on /System/Volumes/Data (apfs, local, journaled, nobrowse) /dev/disk1s3 on /System/Volumes/Preboot (apfs, local, journaled, nobrowse) /dev/disk1s5 on /System/Volumes/VM (apfs, local, noexec, journaled, noatime, nobrowse) /dev/disk1s7 on /System/Volumes/Update (apfs, local, journaled, nobrowse) /dev/disk1s2 on /Volumes/DATA (apfs, local, journaled) map auto_home on /System/Volumes/Data/home (autofs, automounted, nobrowse) //com.apple.idms.appleid.prd.001019-05-6083f738-c989-45c0-a0c0-61c7d6a816bb@ smac14._smb._tcp.local/dgerman on /Volumes/dgerman (smbfs, nodev, nosuid, mounted by dgerman) by finder //com.apple.idms.appleid.prd.001019-05-6083f738-c989-45c0-a0c0-61c7d6a816bb@ smac14._smb._tcp.local/Macintosh%20HD on /Volumes/Macintosh HD-1 (smbfs, nodev, nosuid, mounted by dgerman) by finder devfs on /dev (devfs, local, nobrowse)
| ||||||||||||||||||||||||||||||||||||||||||||||
struct fstab: spec /* block special device name */ file /* file system path prefix */ vfstype /* File system type, ufs, nfs */ mntops /* Mount options ala -o */ type /* FSTAB_* from fs_mntops */ freq /* dump frequency, in days */ passno /* pass number on parallel fsck */ File System types as per: ls -log /sbin/mount_* ( as of 09/12/22 Monterey) § /System/Library/Filesystems/ ® /Contents/Resources/mount_ acfs -> §acfs.fs/Contents/bin/redirection.sh afp apfs -> ..§apfs.fs®apfs cd9660 -> §cd9660.fs®cd9660 cddafs -> §cddafs.fs®cddafs devfs exfat -> §exfat.fs®exfat fdesc ftp -> §ftp.fs®ftp hfs -> §hfs.fs®hfs lifs msdos -> §msdos.fs®msdos nfs ntfs -> §ntfs.fs®ntfs smbfs tmpfs -> ..§tmpfs.fs®tmpfs udf -> §udf.fs®udf webdav 9p apfs APFS is the Mac OS default hfs HFS+ is the previous Mac OS default nfs Sun Microsystems compatible ``Network File System'' cd9660 CD-ROM (as per ISO 9660) fdesc /dev/fd floppy union translucent 9p Plan 9 |
dev/rdisk3s1: fsck_hfs started at Wed Feb 23 15:47:59 2022 /dev/rdisk3s1: /dev/rdisk3s1: ** /dev/rdisk3s1 (NO WRITE) /dev/rdisk3s1: Executing fsck_hfs (version hfs-583.100.9). QUICKCHECK ONLY; FILESYSTEM CLEAN /dev/rdisk3s1: fsck_hfs completed at Wed Feb 23 15:47:59 2022 /dev/rdisk2s2: fsck_hfs started at Thu Feb 24 19:50:15 2022 /dev/rdisk2s2: /dev/rdisk2s2: ** /dev/rdisk2s2 (NO WRITE) /dev/rdisk2s2: Executing fsck_hfs (version hfs-583.100.10). QUICKCHECK ONLY; FILESYSTEM CLEAN /dev/rdisk2s2: fsck_hfs completed at Thu Feb 24 19:50:15 2022
> mount -v -a mount_apfs: volume could not be mounted: Operation not permitted mount: / failed with 77 > sudo mount -a mount_apfs: volume could not be mounted: Permission denied mount: / failed with 66 > sudo mount -t smbfs -v /Volumes/rn23 mount: /Volumes/dgerman23: invalid special file or file system.
getfsent,
mount, mount_afp, mount_cd9660, mount_cddafs, mount_fdesc, mount_hfs, mount_msdos, mount_nfs,
mount_smbfs, mount_udf, mount_webdav,
umount
df
- Report filesystem disk space usage and device/mount_points
fdformat
- Low-level format a floppy disk
fdisk
- Partition table manipulator for Linux
ram
- ram_disk
umount- detach/unmount a device
OS X administrative utility
diskutil