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 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? Regards, Batsayan Das Tata Consultancy Services Mailto: [email protected] Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ From: Wolfgang Denk <[email protected]> To: Batsayan Das <[email protected]> Cc: [email protected] Date: 09/27/2010 07:26 PM Subject: Re: [ELDK] cramfs issue for hotplugged devices Dear Batsayan Das, In message <ofacaf4a93.614659b5-on652577ab.00476762-652577ab.0049f...@tcs.com> you wrote: > > The above url says "in the root filesystem symbolic links are used to > point to their new locations" , my question is how a symbolic link to be > created when the source of the symbolic link is not present in the file > system Just create it - the "ln" command does not care whether the target of the link actually exists or not. > How cramfs deal with hot plugged device entries in /dev directory? Exactly as mentioned above: we use symlinks to redirect accesses to such files to a writable file system. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] "The trouble with doing something right the first time is that nobody appreciates how difficult it was." - Walt West =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
_______________________________________________ eldk mailing list [email protected] http://lists.denx.de/mailman/listinfo/eldk
