/proc/pid/mountinfo /proc/self/mountinfo

该文件包含有关进程的挂载名称空间中的挂载的信息(参见mount_namespaces(7))。
它提供了各种信息(例如,传播状态、绑定挂载的挂载根、每个挂载及其父挂载的标识符),这些信息在(旧的)/proc/pid/挂载文件中是没有的(例如,不可扩展性、无法区分每个挂载和每个超级块选项)。

 

(4) root:文件系统中构成本次挂载根目录的目录名。
(5)挂载点:挂载点相对于进程根目录的路径名。
(10)挂载源:文件系统特定信息或“none”。

 

RMX1901CN:/ $ /data/local/tmp/findmnt --list-columns
     ACTION <string>        action detected by --poll
      AVAIL <string|number> filesystem size available, use <number> if --bytes is given
       FREQ <integer>       dump(8) period in days [fstab only]
     FSROOT <string>        filesystem root
     FSTYPE <string>        filesystem type
 FS-OPTIONS <string>        FS specific mount options
         ID <integer>       mount ID
      LABEL <string>        filesystem label
    MAJ:MIN <string>        major:minor device number
OLD-OPTIONS <string>        old mount options saved by --poll
 OLD-TARGET <string>        old mountpoint saved by --poll
    OPTIONS <string>        all mount options
 OPT-FIELDS <string>        optional mount fields
     PARENT <integer>       mount parent ID
  PARTLABEL <string>        partition label
   PARTUUID <string>        partition UUID
     PASSNO <integer>       pass number on parallel fsck(8) [fstab only]
PROPAGATION <string>        VFS propagation flags
       SIZE <string|number> filesystem size, use <number> if --bytes is given
     SOURCE <string>        source device
    SOURCES <string>        all possible source devices
     TARGET <string>        mountpoint
        TID <integer>       task ID
       USED <string|number> filesystem size used, use <number> if --bytes is given
       USE% <string>        filesystem use percentage
       UUID <string>        filesystem UUID
VFS-OPTIONS <string>        VFS specific mount options

posted @ 2024-02-21 17:51  hrdom  阅读(136)  评论(0编辑  收藏  举报