Re: [RFC PATCH 1/1] VFS: Augment /proc/mount with subroot and shared-subtree

H. Peter Anvin
2007-06-30T13:08:16Z

Christoph Hellwig wrote:
>>
>> The following additional fields are appended to each record
>> in /proc/mounts
>
> NACK. Adding anything to the format will confuse the hell out of
> existing parsers. We really want something like your /proc/<pid>/mounts_new,
> except mounts_new should have a better name (/proc/<pid>/ns anyone? :))
>

Is that conjecture, or do you have evidence to that effect? Most users
of this file are using it via the glibc interfaces, and there probably
aren't all that many users of it in the first place.

This was debated in some detail earlier in this thread.

(Note: this patch is still wrong, since it appends the new fields in the
wrong place.)

-hpa