Section: Linux System Administrator's Manual (1)
Updated: Mar 15, 2004
/bin/mountpoint [-q] [-d] /path/to/directory
Mountpoint checks if the directory is a mountpoint.
Symbolic links are not followed, except when the -x option is used. To force following symlinks, add a trailing slash to the path of the directory.
The name of the command is misleading when the -x option is used, but the option is useful for comparing if a directory and a device match up, and there is no other command that can print the info easily.
Miquel van Smoorenburg, [email protected]
Tutoriais de Tecnologia Web