[Buildroot] Order of mounts in inittab
Rob Landley
rob at landley.net
Wed Oct 18 16:31:40 UTC 2006
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
More information about the buildroot
mailing list