See what file system mount is using with -t auto

ClydeTheGhost

How can I see what file system mount is using when I use the "-t auto" flag?

I am using a minimal build of Yocto Linux so I cannot simply use "file" to see what it is after the fact.

Toby Speight

The filesystem type is the third column in /proc/mounts; to extract that column, you can write:

awk '{print $3}' /proc/mounts

To make it more specific, you need to match the second column with your mountpoint:

awk "\$2 == \"$mountpoint\" {print \$3}" /proc/mounts

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

What can cause different processes to see different mount points?

분류에서Dev

per process private file system mount points

분류에서Dev

I'm Working with a button command, but can't see what's wrong with this code using elseif statements

분류에서Dev

Mount Azure Data Lake Storage to Windows VM file system

분류에서Dev

How to mount the huge tlb (huge page) as a file system?

분류에서Dev

Error when attempting to mount NFSv4 file system

분류에서Dev

Unable to mount Elastic File System on EC2 (mount.nfs4: Connection timed out)

분류에서Dev

SCSS file doesn't see imported files

분류에서Dev

I'm using iron:router v1.0.7 but this.render() is "undefined". I can't see what I'm doing wrong

분류에서Dev

What are the implications of using NFS3 file system for multi-instance queue managers in WebSphere MQ

분류에서Dev

How to see what command is being run by a systemd .timer file?

분류에서Dev

How to see what is on external monitor using built-in screen?

분류에서Dev

Apache does not see files under overlay mount

분류에서Dev

Why I can't see port opened by a process in file descriptors?

분류에서Dev

What is the difference between mount and mount -o loop

분류에서Dev

How to auto mount / permanently mount external devices on NixOS

분류에서Dev

passing file in mount options

분류에서Dev

system lock up when storage go offline when using nfs mount options bg,hard,nointr

분류에서Dev

Can't find using yum search, but can see it in yum list

분류에서Dev

What are file-level snapshots , is there any file system that supports this feature?

분류에서Dev

What are the FHS compliant mount points?

분류에서Dev

what happens when mount a partition on / ?

분류에서Dev

Can't Scroll To Auto Middle of TextView in Kotlin using ScrollTo

분류에서Dev

My external hard drive won't mount. I am using Ubuntu 14.10

분류에서Dev

What is the difference in using "touch file" and "> file" in creating a new file?

분류에서Dev

Saving file to the file system using different user credentials in C#

분류에서Dev

How can I tell what process is unmounting a file system?

분류에서Dev

Isn't /boot a separate mount?

분류에서Dev

How to mount my old system HDD?

Related 관련 기사

  1. 1

    What can cause different processes to see different mount points?

  2. 2

    per process private file system mount points

  3. 3

    I'm Working with a button command, but can't see what's wrong with this code using elseif statements

  4. 4

    Mount Azure Data Lake Storage to Windows VM file system

  5. 5

    How to mount the huge tlb (huge page) as a file system?

  6. 6

    Error when attempting to mount NFSv4 file system

  7. 7

    Unable to mount Elastic File System on EC2 (mount.nfs4: Connection timed out)

  8. 8

    SCSS file doesn't see imported files

  9. 9

    I'm using iron:router v1.0.7 but this.render() is "undefined". I can't see what I'm doing wrong

  10. 10

    What are the implications of using NFS3 file system for multi-instance queue managers in WebSphere MQ

  11. 11

    How to see what command is being run by a systemd .timer file?

  12. 12

    How to see what is on external monitor using built-in screen?

  13. 13

    Apache does not see files under overlay mount

  14. 14

    Why I can't see port opened by a process in file descriptors?

  15. 15

    What is the difference between mount and mount -o loop

  16. 16

    How to auto mount / permanently mount external devices on NixOS

  17. 17

    passing file in mount options

  18. 18

    system lock up when storage go offline when using nfs mount options bg,hard,nointr

  19. 19

    Can't find using yum search, but can see it in yum list

  20. 20

    What are file-level snapshots , is there any file system that supports this feature?

  21. 21

    What are the FHS compliant mount points?

  22. 22

    what happens when mount a partition on / ?

  23. 23

    Can't Scroll To Auto Middle of TextView in Kotlin using ScrollTo

  24. 24

    My external hard drive won't mount. I am using Ubuntu 14.10

  25. 25

    What is the difference in using "touch file" and "> file" in creating a new file?

  26. 26

    Saving file to the file system using different user credentials in C#

  27. 27

    How can I tell what process is unmounting a file system?

  28. 28

    Isn't /boot a separate mount?

  29. 29

    How to mount my old system HDD?

뜨겁다태그

보관