--- In [email protected], "Ernst Mayerhofer"
<[EMAIL PROTECTED]> wrote:
>
> hi,
> 
> you can create the node in /etc, instead of /dev, dynamically.
> 
> 

Hi again, Ernst.

I have one question left about the /etc directory.  From what I
understood of your reply, is that /etc is located in RAM. This is
correct, right?

Well, I have the following issue I can't explain so far:

When I build the FB image with the scripts adapted to create an
/etc/dev/i2c device node, the node is created the very first time I
download the image to the FB.

After that, when I restart the FB (even after switching off the power,
so not simply a reset), I see that the directory /etc/dev and also the
file /etc/dev/i2c are still there.

I thought, since this directory was located in RAM, it would have to
be recreated every time you reboot your board.  But that's apparently
not the case.

Do you have an explanation for that?

Anyhow, I've modified my scripts such that they first check to see if
the directory /etc/dev and/or the file /etc/dev/i2c exists and only
create them when they do not exist.

But still, I'm curious about the "why"...

Best rgds,

--Geert

Reply via email to