Re: Kernel setup()

From: H. Peter Anvin (hpa@zytor.com)
Date: Wed Mar 12 2003 - 11:24:36 EST


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/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:31 EST