From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Landley Date: Wed, 18 Oct 2006 12:31:40 -0400 Subject: [Buildroot] Order of mounts in inittab In-Reply-To: <87a5b0800610120238l480df3c4lfefd6133afe981c@mail.gmail.com> References: <87a5b0800610120238l480df3c4lfefd6133afe981c@mail.gmail.com> Message-ID: <200610181231.43387.rob@landley.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Thursday 12 October 2006 5:38 am, Will Newton wrote: > Hi all, > > I noticed that since upgrading to busybox 1.2.1 that I had to reorder > the mount lines in inittab so proc was mounted before remounting / as > rw took place or I would get "could not open /proc/mounts" and the > remount would fail. Does anyone know why this might be? Because the order in which inittab lines are executed is not specified by any spec anywhere, and it's easier to create a linked list by inserting rather than tracing to the end of the thing? (There are such things as sysinit scripts. And fstab. These things exist for a reason.) Rob -- "Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away." - Antoine de Saint-Exupery