mountpoint
Test if a directory is a filesystem mountpoint. More information: <https://manned.org/mountpoint>.
Install
- All systems
-
curl cmd.cat/mountpoint.sh
- Debian
-
apt-get install util-linux - Ubuntu
-
apt-get install util-linux -
Alpine
-
apk add util-linux - Arch Linux
-
pacman -S util-linux - Kali Linux
-
apt-get install util-linux - CentOS
-
yum install util-linux - Fedora
-
dnf install util-linux - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install util-linux - OS X
-
brew install util-linux - Raspbian
-
apt-get install util-linux - Docker
-
docker run cmd.cat/mountpoint mountpointpowered by Commando
Test if a directory is a filesystem mountpoint. More information: <https://manned.org/mountpoint>.
-
Check if a directory is a mountpoint:
mountpoint path/to/directory -
Check if a directory is a mountpoint without showing any output:
mountpoint -q path/to/directory -
Show major/minor numbers of a mountpoint's filesystem:
mountpoint --fs-devno path/to/directory
© tl;dr; authors and contributors