Re: [PATCH 2/4] fs: add a helper to show all the options for a mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 25, 2024 at 04:16:47PM GMT, Christian Brauner wrote:
> On Mon, Jun 24, 2024 at 03:40:51PM GMT, Josef Bacik wrote:
> So Karel just made me aware of this. You're using the old /proc/mounts
> format here and you're mixing generic sb options, mount options, and fs
> specific mount options.

Yes, the patch takes us back in time to the era of /etc/mtab when vfs
and fs options were merged into a single string. For example,
/proc/self/mountinfo separates the options into two fields.

> Please only call ->show_options().

 +1

 Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux