From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.windriver.com ([147.11.1.11]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Sm6YG-0001f6-Bn for openembedded-core@lists.openembedded.org; Tue, 03 Jul 2012 19:06:12 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id q63Gt8AR019085 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 3 Jul 2012 09:55:08 -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:55:08 -0700 Message-ID: <4FF323EC.1000103@windriver.com> Date: Tue, 3 Jul 2012 11:55:08 -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: Saul Wold References: <1341259602.2886.27.camel@x121e.pbcl.net> <4FF30F93.6030706@balister.org> <4FF31E1D.2030606@windriver.com> <4FF321B3.1030807@linux.intel.com> In-Reply-To: <4FF321B3.1030807@linux.intel.com> Cc: Patches and discussions about the oe-core layer 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 17:06:12 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 7/3/12 11:45 AM, Saul Wold wrote: > On 07/03/2012 09:30 AM, Mark Hatle wrote: >> 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, > > For the sack of expediency, maybe we take your change now, can you file > a bug to make it dynamic and we can get that fixed overall? > > Making it dynamic will require a bit more work, would you take that RFE > on for 1.3 or future? I'll add an enhancement request to the Yocto Project bugzilla.. I'm not sure at this point where it could be implemented, but due to history the "safe" answer right now is to keep /home/root until we can make it dynamic. --Mark > Sau! > >> --Mark >> >>> Philip >>> >>> >>> _______________________________________________ >>> Openembedded-core mailing list >>> Openembedded-core@lists.openembedded.org >>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >>> >> >> >> >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >> >>