Re: mirroring /dev somewhere else

2010-11-15 Thread Christophe Aeschlimann
On 15.11.2010 09:42, Mulyadi Santosa wrote: On Mon, Nov 15, 2010 at 15:18, Christophe Aeschlimann wrote: does "mount --bind" help? please kindly check "man mount" too Thanks for the trick ! What I did is cp -a /dev/* /var/tmp/udpdate/dev/ which works fine. But I'l

Re: mirroring /dev somewhere else

2010-11-15 Thread Christophe Aeschlimann
On 12.11.2010 19:13, Mulyadi Santosa wrote: On Fri, Nov 12, 2010 at 20:14, Christophe Aeschlimann wrote: On 12.11.2010 13:34, Christophe Aeschlimann wrote: The problem I have is with recreating the /dev inside my mini rootfs. I'm using udev and I don't know how to instruct udev

Re: mirroring /dev somewhere else

2010-11-12 Thread Christophe Aeschlimann
On 12.11.2010 13:34, Christophe Aeschlimann wrote: Hi, I'm working on a custom arm embedded system and I would like to implement a "live" system update. The system is running from NAND flash and has two mtd partitions one to store the kernel and another one to store the filesy

mirroring /dev somewhere else

2010-11-12 Thread Christophe Aeschlimann
ev/. Or maybe I can just create the devices (mtdX) I need using mknod ? Would that work (I'll be trying) ? Best regards, -- Christophe Aeschlimann Embedded Software Engineer Advanced Communications Networks S.A. Rue du Puits-Godet 8a 2000 Neuchâtel, Switzerland Tél. +41 32 724 74

Re: Concurrent accesses to sysfs

2010-09-07 Thread Christophe Aeschlimann
On 06.09.2010 15:59, Greg KH wrote: > On Mon, Sep 06, 2010 at 09:23:06AM +0200, Christophe Aeschlimann wrote: >> On 04.09.2010 02:58, Greg KH wrote: >>> On Tue, Aug 24, 2010 at 11:52:07AM +0200, Christophe Aeschlimann wrote: >>>> Hi, >>>> >>>

Re: Concurrent accesses to sysfs

2010-09-06 Thread Christophe Aeschlimann
Hi Greg, Thanks for taking the time to answer my email. On 04.09.2010 02:58, Greg KH wrote: > On Tue, Aug 24, 2010 at 11:52:07AM +0200, Christophe Aeschlimann wrote: >> Hi, >> >> I'm implementing a user-space API that will give access to >> custom hardware feature

Concurrent accesses to sysfs

2010-08-24 Thread Christophe Aeschlimann
led on or 0 to switch it off - close the brightness file - return Now what will happen if a thread tries to switch on the led while another thread tries to switch it off ? Thank your for your comments / help. Best regards, -- Christophe Aeschlimann Embedded Software Engineer Advanced Communic

Re: Question about kernel module syntax !!

2009-05-11 Thread Christophe Aeschlimann
Woodrow Douglass a écrit : Bob Beers wrote: On Mon, May 11, 2009 at 5:22 PM, Robert P. J. Day wrote: On Mon, 11 May 2009, Bob Beers wrote: On Mon, May 11, 2009 at 5:00 PM, RT Mistler wrote: Hi, I've been looking at some kernel modules trying to map an embedded devices resource