[ELDK] cramfs issue for hotplugged devices

Detlev Zundel dzu at denx.de
Fri Oct 1 14:18:30 CEST 2010


Hi Batsayan Das,

> Say the normal root file system has a file /etc/udhcpc.conf, and I decided 
> to put this file in writable tmpfs directory. 
>
> To make a "udhcpc.conf -> /tmpfs/udhcpc.conf"  did the following in the 
> root file system
>
> cd etc
> mv udhcpc.conf   temp_udhcpc.conf 
> ln -s  /tmpfs/udhcpc.conf    udhcpc.con

There seems to be a 'f' missing above.

> AND
> in the "rcS" file added the following
>
> /bin/mount -t tmpfs -o size=2M tmpfs /tmpfs
> cp /etc/temp_udhcpc.conf /tmpfs/udhcpc.conf

> I can't find other way without creating temp_udhcpc.conf  file in etc 
> directory. 
>
> Is this the above process is correct for any other file I chose to put it 
> in tmpfs? 

Apart from what looks like a copy&paste error, this looks correct.

Cheers
  Detlev

-- 
Computer scientists do it depth-first.
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the eldk mailing list