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

viro@parcelfarce.linux.theplanet.co.uk
Mon, 30 Jun 2003 08:52:42 +0100


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/