linuxutils-system 0.1.0

System utilities from linuxutils
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# mountpoint

Check if a directory or file is a mountpoint.

## Implemented

- Check via `/proc/self/mountinfo` with stat fallback
- `-d` / `--fs-devno`: print major:minor device number of the filesystem
- `-q` / `--quiet`: suppress all output
- `-x` / `--devno`: print major:minor of the block device
- `--nofollow`: don't follow symlinks
- Exit code 0 for mountpoints, 32 otherwise