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 Almesberger, ICA, EPFL, CH email@example.com / /_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:21 EST