Add mountpoint(1) a simple utility to figure out if the directory pointed to by the argument is a mount point.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
This cannot work for deep enough hierarchies. Also I am not sure that it works after chroot or jailing, or rather it should not.
I propose the following D59910. It should allow you to get the info directly from source, with single stat(2).
| usr.bin/mountpoint/mountpoint.c | ||
|---|---|---|
| 46 | nullfs supports file and socket mounts over files | |