From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932594AbWFIXov (ORCPT ); Fri, 9 Jun 2006 19:44:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932595AbWFIXov (ORCPT ); Fri, 9 Jun 2006 19:44:51 -0400 Received: from hera.kernel.org ([140.211.167.34]:34782 "EHLO hera.kernel.org") by vger.kernel.org with ESMTP id S932594AbWFIXov (ORCPT ); Fri, 9 Jun 2006 19:44:51 -0400 To: linux-kernel@vger.kernel.org From: "H. Peter Anvin" Subject: Re: klibc Date: Fri, 9 Jun 2006 16:44:46 -0700 (PDT) Organization: Mostly alphabetical, except Q, with we do not fancy Message-ID: References: <20060604135011.decdc7c9.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: terminus.zytor.com 1149896686 19606 127.0.0.1 (9 Jun 2006 23:44:46 GMT) X-Complaints-To: news@terminus.zytor.com NNTP-Posting-Date: Fri, 9 Jun 2006 23:44:46 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Followup to: By author: "Joshua Hudson" In newsgroup: linux.dev.kernel > Should work if the following is true: > if pwd is /, mount / followed by ls . retunrs the contents of initramfs. It does, and it does work as described. Again, see the referenced code. You can also fchdir() to the rootfs if you have a file descriptor to any directory therein. -hpa