Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261697AbVAAPi6 (ORCPT ); Sat, 1 Jan 2005 10:38:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261491AbVAAPi5 (ORCPT ); Sat, 1 Jan 2005 10:38:57 -0500 Received: from quechua.inka.de ([193.197.184.2]:26290 "EHLO mail.inka.de") by vger.kernel.org with ESMTP id S261697AbVAAPit (ORCPT ); Sat, 1 Jan 2005 10:38:49 -0500 From: Andreas Jellinghaus Subject: Re: initramfs: is it supposed to work? Date: Sat, 01 Jan 2005 16:40:13 +0100 User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux)) Message-Id: References: <41D4A2A6.3060607@tls.msk.ru> To: linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 708 Lines: 21 Hi, run-init seems to mount the new root, rm files in the old root, mount, chroot, open the console, exec. any reason we can't do that in shell script commands? > You don't pivot_root initramfs, because initramfs *IS* rootfs. > > Instead, use the run-init program ok, but still: is it ok for the kernel to die? after all pivot_root works fine, unless /initrd is unmounted. what exactly is the kernel internal that makes pivot_root special? Regards, Andreas - 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/