Openembedded Core Discussions
 help / color / mirror / Atom feed
* RFC: Move PSEUDO_LOCALSTATEDIR for filesystems outside the filesystem
@ 2012-08-15  1:41 Peter Seebach
  2012-08-17 20:00 ` Mark Hatle
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Seebach @ 2012-08-15  1:41 UTC (permalink / raw)
  To: openembedded-core@

Got a bug related to this that probably only affects our build
environment, but it caused me to note:

When we're using export/dist as a user-mode NFS root (under pseudo),
the PSEUDO_LOCALSTATEDIR is export/dist/var/pseudo.

This seems a bit weird to me -- I don't think pseudo's db should be
part of the filesystem it's maintaining. And I'm wondering whether
there is a historical reason for this that I need to be aware of,
before I propose moving it to something like export/pseudo.

... And if not, I propose we move it to something like export/pseudo.

-s
-- 
Listen, get this.  Nobody with a good compiler needs to be justified.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RFC: Move PSEUDO_LOCALSTATEDIR for filesystems outside the filesystem
  2012-08-15  1:41 RFC: Move PSEUDO_LOCALSTATEDIR for filesystems outside the filesystem Peter Seebach
@ 2012-08-17 20:00 ` Mark Hatle
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2012-08-17 20:00 UTC (permalink / raw)
  To: openembedded-core

On 8/14/12 8:41 PM, Peter Seebach wrote:
> Got a bug related to this that probably only affects our build
> environment, but it caused me to note:
>
> When we're using export/dist as a user-mode NFS root (under pseudo),
> the PSEUDO_LOCALSTATEDIR is export/dist/var/pseudo.
>
> This seems a bit weird to me -- I don't think pseudo's db should be
> part of the filesystem it's maintaining. And I'm wondering whether
> there is a historical reason for this that I need to be aware of,
> before I propose moving it to something like export/pseudo.
>
> ... And if not, I propose we move it to something like export/pseudo.

The NFS export scripts and such expect the pseudo DB to be available to them. 
The filesystem can be anywhere the user wants, so somehow we have to know where 
it was extracted, and the only answer we came up with at the time was to put the 
pseudo database into the filesystem directory.  It doesn't cause any harm to the 
target that is being booted, and it ensures that the NFS server setup scripts 
know where the both the root and pseudo DBs are located.

--Mark

> -s
>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-17 20:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-15  1:41 RFC: Move PSEUDO_LOCALSTATEDIR for filesystems outside the filesystem Peter Seebach
2012-08-17 20:00 ` Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox