How to change /proc to the writable directory

Wolfgang Denk wd at
Fri Nov 28 19:12:50 EST 2003

In message <000001c3b568$639e70a0$b702a8c0 at newrock2> you wrote:
> when I boot kernel and mount file system( cramfs and JFFS), for default, the dir /proc is not writable that located in cramfs. Now, I want to change it to be writable. which places/functions should I modify?

/proc it it's own pseudo-filesystem. You don;t include this  in  your
filesystem image, but rather mount it.

> In cramfs I have these dirs:
> /bin
> /root
> /boot
> /sbin
> /usr
> /mnt
> /dev/ --> /mnt/rwfs/dev
> /proc --> /mnt/rwfs/proc

Make /proc a plain directroy,  and  as  part  of  your  init  scripts
execute something like "/bin/mount -t proc proc /proc"

Best regards,

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at
The IQ of the group is the lowest IQ of a member of the group divided
by the number of people in the group.

** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list