CmdID

CmdID / Commands

mountpoint

Check whether the directory or device is a mountpoint. toybox

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Linux

from the toybox, 0BSD
mountpoint [-qd] DIR
mountpoint [-qx] DEVICE
-qBe quiet, return zero if directory is a mountpoint
-dPrint major/minor device number of the directory
-xPrint major/minor device number of the block device

Test if a directory is a filesystem mountpoint.

Check if a directory is a mountpoint

mountpoint path/to/directoryIdentify

Check if a directory is a mountpoint without showing any output

mountpoint --quiet path/to/directoryIdentify

Show major/minor numbers of a mountpoint's filesystem

mountpoint --fs-devno path/to/directoryIdentify