lkml.org 
[lkml]   [2001]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Q] pivot_root and initrd
Date
Followup to:  <3BD5ABF3.1040404@usa.net>
By author: Eric <ebrower@usa.net>
In newsgroup: linux.dev.kernel
>
> Would it even be worthwhile to propose a patch that would set a flag
> when pivot_root is called during an initrd and prevent change_root from
> occuring once the linuxrc thread exits?
>
> Your method of placing "initrx=xxx" and "root=xxx" is similar to my
> method of stuffing those values into /proc/sys/kernel/real_root_dev once
> the pivot_root is complete; I am not really happy with that solution,
> not the least of which because it is an undocumented work-around and
> somewhat unexpected behavior for a system call that is to (presumably)
> replace or augment change_root.
>
> I was also hoping that Warner or Hans would chime-in either in defense
> of the current documentation or with clarifications...
>

The right thing is to get rid of the old initrd compatibility cruft,
but that's a 2.5 change.

-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:10    [W:0.677 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site