Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] device_table & /dev/shm
@ 2011-06-25 18:29 Charles Krinke
  2011-06-25 23:40 ` Khem Raj
  2011-06-26  3:22 ` Baruch Siach
  0 siblings, 2 replies; 7+ messages in thread
From: Charles Krinke @ 2011-06-25 18:29 UTC (permalink / raw)
  To: buildroot

I have two issues I dont understand and am hoping for a few clues to
help me navigate through the "Swamp of Confusion" to the "Ridge of
Enlightment".

1. I can see the generic device_table.txt and it includes a /dev/shm
node. I can also see the /dev structure in output/target and it
matches the generic device_table.txt. But, ... when I build the jffs2
and load it on my MPC8323 target, what I see in /dev does not include
/dev/shm. In fact it is significantly different. So, my first question
is:

"What besides generic/device_table.txt can determine the contents of
/dev on an MPC8323 target?"

2. I can see that named semaphores are not working. That is,
sem_open() called from an application program fails with ENOSYS. In
researching this, I can see that this depends on part on /dev/shm and
linking with -lrt. It also appears that the default /etc/fstab does
not use /dev/shm. My second question is:

"What are the items that can go awry in an MPC8323 system that may
cause named semaphores using the sem_open() call to fail?"

-- 
Charles Krinke

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

end of thread, other threads:[~2011-06-27 10:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-25 18:29 [Buildroot] device_table & /dev/shm Charles Krinke
2011-06-25 23:40 ` Khem Raj
2011-06-26  3:22 ` Baruch Siach
2011-06-26 10:17   ` Peter Korsgaard
2011-06-26 17:51     ` Charles Krinke
2011-06-27  3:32       ` Baruch Siach
2011-06-27 10:12         ` Peter Korsgaard

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