NAMN
- Provided by: util-linux-locales (Version: 2.42.2-1ubuntu2)
- Source: util-linux
- Report a bug
mountpoint [-d|-q] katalog|fil
mountpoint -x enhet
mountpoint checks whether the given directory or file is a mountpoint. On kernels that support the statmount(2) system call (Linux 6.8 and newer), it uses that interface. On older kernels, it falls back to reading /proc/self/mountinfo.
-d, --fs-devno
-q, --quiet
--nofollow
-x, --devno
--show
-h, --help
-V, --version
mountpoint har följande värden för utgångsstatus:
0
1
32
LIBMOUNT_DEBUG=all
Implementationen av mountpoint för util-linux skrevs från grunden för libmount. Den ursprungliga versionen för sysvinit-sviten skrevs av Miquel van Smoorenburg.
Karel Zak <kzak@redhat.com>
För felrapporter, använd felhanteraren <https://github.com/util-linux/util-linux/issues>.
Kommandot mountpoint ingår i paketet util-linux som kan hämtas från Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.