Solaris: Create a mount point

Contributor Icon Contributed by Rex Date Icon August 31, 2004  
Tag Icon Tagged: Solaris system administration

Creating a mount point is a trivial yet poorly documented operation. This 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 won’t 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.

Previous recipe | Next recipe |
 
blog comments powered by Disqus