Browse Source

mountpoint: add page (#2963)

lbonanomi 5 năm trước cách đây
mục cha
commit
da2344c7a5
1 tập tin đã thay đổi với 15 bổ sung0 xóa
  1. 15 0
      pages/linux/mountpoint.md

+ 15 - 0
pages/linux/mountpoint.md

@@ -0,0 +1,15 @@
+# mountpoint
+
+> Test if a directory is a filesystem 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}}`