Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 12 Mar 2003 11:14:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 12 Mar 2003 11:14:07 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:18948 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Wed, 12 Mar 2003 11:14:05 -0500 To: linux-kernel@vger.kernel.org From: "H. Peter Anvin" Subject: Re: Kernel setup() Date: 12 Mar 2003 08:24:36 -0800 Organization: Transmeta Corporation, Santa Clara CA Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Disclaimer: Not speaking for Transmeta in any way, shape, or form. Copyright: Copyright 2003 H. Peter Anvin - All Rights Reserved Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 971 Lines: 23 Followup to: By author: Oliver Tennert 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 -- at work, 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/