Re: Kernel setup()

H. Peter Anvin (hpa@zytor.com)
12 Mar 2003 08:24:36 -0800


Followup to: <Pine.GHP.4.53.0303120915340.16277@alderaan.science-computing.de>
By author: Oliver Tennert <tennert@science-computing.de>
In newsgroup: linux.dev.kernel
>
> My question is: is pivot_root deprecated by now? I just am quite dazzled
> and want to know how to __cleanly__ handle the mounting of a new root
> device.
>

pivot_root() is the currently preferred method. Depending on where
the initramfs is by the time Linux 2.6 comes out it may be replaced by
then, but for 2.4, pivot_root() is the way to go.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
-
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/