Re: [PATCH] 5 year old bug in main.c (initrd). Can this please be fixed?

Date: Mon May 29 2000 - 10:48:50 EST

Adam J. Richter wrote:
> Werner Almesberger's support for unmounting the previous rooot
> partition is useful in a much broader variety of situations, and
> makes much less generally useful /linuxrc support unnecessary.

Very good point. Indeed, linking /linuxrc even more tightly to the
general initrd magic would make it harder to phase out the change_root
mechanism in the future.

> kernel. I think Werner's unmount-old-root support should be part of
> the standard kernel,

It's already there ;-) pivot_root was added in 2.3.41, January 2000.
And I think user-space support was added with util-linux-...h.

According to grep, arm m68k ppc don't have the pivot_root syscall yet,
though. (My patch had the syscall only for i386, because that's the
only architecture where I can test 2.3.x.)

> and the /linuxrc hack should be removed.

We'll have to keep /linuxrc and change_root for a while, because too
many people depend on them now. It would make sense to label them as
deprecated in 2.4, though.

- Werner

 / Werner Almesberger, ICA, EPFL, CH /

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:21 EST