RE: [PATCH] Trying to improve /proc/filesystems

Frederick, Fabian (Fabian.Frederick@prov-liege.be)
Mon, 30 Jun 2003 09:55:45 +0200


Alexander,

Why don't we have centralized /proc/filesystems access ? 2 fields
file for fs can't be a standard
Take a look at slab outputs evolution for instance....

Regards,
Fabian

-----Message d'origine-----
De : viro@parcelfarce.linux.theplanet.co.uk
[mailto:viro@parcelfarce.linux.theplanet.co.uk]
Envoyé : lundi 30 juin 2003 09:53
À : Frederick, Fabian
Cc : 'linux-kernel@vger.kernel.org'
Objet : Re: [PATCH] Trying to improve /proc/filesystems

On Mon, Jun 30, 2003 at 09:21:00AM +0200, Frederick, Fabian wrote:
> Hi,
> I'm trying to do
>
> nodev xxx 0
> yyy 2
> (or replace nodev by 0->x)
>
> with the following but Linux complains : VFS : unable to mount
> root....Someone could help ?

Yes. Layout of files in procfs should be treated as a part of ABI.
IOW, you make incompatible change - things break.

Folks, file in /proc is not different from a syscall in that respect -
changing layout has the same effect as changes of layout in syscall
arguments.

IOW, don't do that.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/