Solaris: Create a Mount Point

Posted August 31, 2004 by Rex in Solaris system administration

Creating a mount point is a trivial, yet poorly documented operation. This tech-recipe describes creating a mount point appropriate for use with the mount command to mount a filesystem, cdrom, etc.

A mount point in Solaris is simply a directory. To create the mount point /mnt/cdrom, use the following command as superuser:

mkdir /mnt/cdrom

[Almost] any directory can be used as a mount point, even a directory containing files (although you will not be able to access those files when something is mounted to their directory). Superuser access is not required if your current user has write privileges to the directory in which the mount point will be created.

The Conversation

Follow the reactions below and share your own thoughts.