LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Ubuntu10.4 BSP (http://www.linuxquestions.org/questions/linux-kernel-70/ubuntu10-4-bsp-847912/)

ShivMangal 12-02-2010 07:50 AM

Ubuntu10.4 BSP
 
We are facing problem
if we create any file in /etc folder again i am booting the board , the file id destroying

ex: vim /etc/1.txt
save it
again i am booting file have gone

Help me

dragonnefyre 12-02-2010 05:15 PM

Saving files in /etc
 
Does your user have write permission in /etc? Is there an error message that pops up that you may be missing? This is an obvious one but once you have saved the file, have you checked to see that it actually exists? I am sure you have, just have to ask. Sometimes the solution is obvious but we can't see the woods for the trees. Also, check to see how full the partition is that /etc is on. If it is full then that may be the cause. Unless /etc is mounted on it's own partition it will be on your / partition.

The only other thing I can think of is that something is clearing out files from /etc with particular properties. Perhaps a shutdown or even startup script?

Do you have the same problem in any sub-directories in /etc or even in other directories? Do other users have the same problem saving files in /etc? Have you tried it as root?

I hope this helps.

Andy.

hemanthv414 12-02-2010 05:27 PM

Quote:

Originally Posted by ShivMangal (Post 4178172)
We are facing problem
if we create any file in /etc folder again i am booting the board , the file id destroying

ex: vim /etc/1.txt
save it
again i am booting file have gone

Help me


Your file can be saved only if you have the write permissions.
can you save it or not ?
Do u get any warning/error mesgs while trying to save the file ?

ShivMangal 12-07-2010 02:26 AM

Destrying File from folder
 
Hi
We have Intel atom processor target board( Meego Linux).if we are booting through SD card, we are able to create file in root or other folder but if we are booting boot from NAND , files are destroy from root or other directory after reboot the target board .we are not using any ramfs , directory mounting ext3 on /

Please help


All times are GMT -5. The time now is 09:12 PM.