Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lionel Landwerlin <llandwerlin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Strange behaviour of inittab
Date: Tue, 18 Jan 2011 18:05:20 +0000	[thread overview]
Message-ID: <1295373920.16414.126.camel@worky> (raw)
In-Reply-To: <9AC3F0E75060224C8BBC5BA2DDC8853A1EF91EB1@EXV1.corp.adtran.com>

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

  reply	other threads:[~2011-01-18 18:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-18 17:55 [Buildroot] Strange behaviour of inittab ANDY KENNEDY
2011-01-18 18:05 ` Lionel Landwerlin [this message]
2011-01-18 18:26   ` ANDY KENNEDY
2011-01-21  3:41   ` [Buildroot] [PATCH] " ANDY KENNEDY
2011-01-27 18:10   ` [Buildroot] [BuildRoot][PATCH] Resubmit Strange behavior " ANDY KENNEDY
2011-02-21 22:31     ` [Buildroot] [PATCH] " Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1295373920.16414.126.camel@worky \
    --to=llandwerlin@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox