Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: Saul Wold <sgw@linux.intel.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] oprofile: Change /root to /home/root
Date: Tue, 3 Jul 2012 11:55:08 -0500	[thread overview]
Message-ID: <4FF323EC.1000103@windriver.com> (raw)
In-Reply-To: <4FF321B3.1030807@linux.intel.com>

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 <philb@gnu.org> 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
>>
>>





  reply	other threads:[~2012-07-03 17:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-02 19:25 [PATCH 0/1] Update oprofile to know about OE root home directory Mark Hatle
2012-07-02 19:25 ` [PATCH 1/1] oprofile: Change /root to /home/root Mark Hatle
2012-07-02 20:06   ` Phil Blundell
2012-07-02 20:31     ` Mark Hatle
2012-07-02 23:44     ` Khem Raj
2012-07-03 15:28       ` Philip Balister
2012-07-03 16:30         ` Mark Hatle
2012-07-03 16:45           ` Saul Wold
2012-07-03 16:55             ` Mark Hatle [this message]
2012-07-05 17:44 ` [PATCH 0/1] Update oprofile to know about OE root home directory Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FF323EC.1000103@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=sgw@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox