From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1.windriver.com ([147.11.146.13]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Sm6AG-0000qd-6I for openembedded-core@lists.openembedded.org; Tue, 03 Jul 2012 18:41:24 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail1.windriver.com (8.14.3/8.14.3) with ESMTP id q63GULDt026495 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 3 Jul 2012 09:30:21 -0700 (PDT) Received: from msp-dhcp21.wrs.com (172.25.34.21) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.1.255.0; Tue, 3 Jul 2012 09:30:21 -0700 Message-ID: <4FF31E1D.2030606@windriver.com> Date: Tue, 3 Jul 2012 11:30:21 -0500 From: Mark Hatle Organization: Wind River Systems User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: References: <1341259602.2886.27.camel@x121e.pbcl.net> <4FF30F93.6030706@balister.org> In-Reply-To: <4FF30F93.6030706@balister.org> Subject: Re: [PATCH 1/1] oprofile: Change /root to /home/root X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2012 16:41:24 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 7/3/12 10:28 AM, Philip Balister wrote: > On 07/02/2012 07:44 PM, Khem Raj wrote: >> On Mon, Jul 2, 2012 at 1:06 PM, Phil Blundell wrote: >>> >>> Why is it putting "daemon setup information" in /root in the first >>> place? Surely that should go in /etc or some such place. >>> >>> Also, the choice of where root's home directory goes is a distro >>> decision and, in the general case, it is not correct to say that "OE >>> uses /home/root". Changing the hardcoded value from one thing to >>> another is probably not that much of an improvement overall. >> >> yes having ROOTHOME configurable is desirable but probably nothing as such >> exists AFAICT > > Why do we use /home/root instead of /root? If we are having to patch > multiple recipes to account for this, maybe we should default to /root? I attempted to figure this out yesterday... I probably have some details wrong, so anyone who knows should correct this... The original Zaurus (commercial release) used /home/root, because the main / filesystem was read-only, and there was a need for all user data to reside on rw space (SD card?) When OpenZaurus came about, it copied this behavior and it was eventually adopted by handhelds.org, nslu2, OpenEmbedded etc.. this is around 2004 time frame and later. The first reference to this I find in the logs is around January of 2004, and it's been that way ever since. From what I can tell, there used to be a symlink from /root -> /home/root... but I don't see that symlink in OE anymore. This who /home/root vs /root certainly caught me by surprise.. but frankly I don't care either way. oprofile is not matching the system, so it needs to match -- or the system needs to change. Most of the developers I work with are partial to /root vs /home/root. I'm open to either changing it back to /root, allowing for a more dynamic option, or keeping it the way it is.. --Mark > Philip > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >