* [Buildroot] Order of mounts in inittab
@ 2006-10-12 9:38 Will Newton
2006-10-18 16:31 ` Rob Landley
0 siblings, 1 reply; 3+ messages in thread
From: Will Newton @ 2006-10-12 9:38 UTC (permalink / raw)
To: buildroot
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?
Patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inittab.patch
Type: application/octet-stream
Size: 504 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20061012/082502ef/attachment.obj
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Order of mounts in inittab
2006-10-12 9:38 [Buildroot] Order of mounts in inittab Will Newton
@ 2006-10-18 16:31 ` Rob Landley
2006-10-30 10:06 ` Will Newton
0 siblings, 1 reply; 3+ messages in thread
From: Rob Landley @ 2006-10-18 16:31 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Order of mounts in inittab
2006-10-18 16:31 ` Rob Landley
@ 2006-10-30 10:06 ` Will Newton
0 siblings, 0 replies; 3+ messages in thread
From: Will Newton @ 2006-10-30 10:06 UTC (permalink / raw)
To: buildroot
On 10/18/06, Rob Landley <rob@landley.net> wrote:
> 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.)
Sorry about the long delay, I've been away.
The above explanation makes sense, but the fact remains that the
inittab in buildroot does not work with the current version of the
tools.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-30 10:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12 9:38 [Buildroot] Order of mounts in inittab Will Newton
2006-10-18 16:31 ` Rob Landley
2006-10-30 10:06 ` Will Newton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox