[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-keyrings
Subject: Re: Upcoming: Notifications, FS notifications and fsinfo()
From: David Howells <dhowells () redhat ! com>
Date: 2020-03-31 21:56:26
Message-ID: 2418581.1585691786 () warthog ! procyon ! org ! uk
[Download RAW message or body]
Lennart Poettering <mzxreary@0pointer.de> wrote:
> - We also have code that needs to check if /dev/ is plain tmpfs or
> devtmpfs. We cannot use statfs for that, since in both cases
> TMPFS_MAGIC is reported, hence we currently parse
> /proc/self/mountinfo for that to find the fstype string there, which
> is different for both cases.
btw, fsinfo(FSINFO_ATTR_IDS) gets you the name of the filesystem type in
addition to the magic number.
David
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic