[Buildroot] Strange behaviour of inittab
Lionel Landwerlin
llandwerlin at gmail.com
Tue Jan 18 18:05:20 UTC 2011
On Tue, 2011-01-18 at 11:55 -0600, ANDY KENNEDY wrote:
> I'm on drugs, sorry if this post is illegible.
>
> The original inittab included by BuildRoot looked like this:
>
> # Startup the system
> ::sysinit:/bin/mount -o remount,rw /
> ::sysinit:/bin/mount -t proc proc /proc
> ::sysinit:/bin/mkdir -p /dev/pts
> ::sysinit:/bin/mount -a
>
> Anyone else have a problem with this? On my mips, I have an NFS mounted
> RFS. With the above configuration, I cannot get the system to remount
> because proc is not mounted (apparently this version of BusyBox mount
> requires proc????).
All the busybox versions I've used required /proc to be mounted. In
particular /proc/filesystem which is parsed by busybox to guess the
available filesystems supported by the kernel when mounting with "-t
auto".
>
> The fix I have done is to reverse the mounting/remounting of proc and
> the RFS as follows:
>
> # Startup the system
> ::sysinit:/bin/mount -t proc proc /proc
> ::sysinit:/bin/mount -o remount,rw /
> ::sysinit:/bin/mkdir -p /dev/pts
> ::sysinit:/bin/mount -a
>
>
> The question I have is should we change the inittab from within
> BuildRoot or is there really only a problem with something in my
> configuration?
>
>
> Andy
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
More information about the buildroot
mailing list