LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 12-02-2010, 07:50 AM   #1
ShivMangal
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
Question 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
 
Old 12-02-2010, 05:15 PM   #2
dragonnefyre
LQ Newbie
 
Registered: Aug 2006
Distribution: Slackware 14.1
Posts: 18

Rep: Reputation: 1
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.

Last edited by dragonnefyre; 12-02-2010 at 05:17 PM. Reason: Saw your distro at the top of your post
 
Old 12-02-2010, 05:27 PM   #3
hemanthv414
Member
 
Registered: Oct 2008
Posts: 37

Rep: Reputation: 15
Quote:
Originally Posted by ShivMangal View Post
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 ?
 
Old 12-07-2010, 02:26 AM   #4
ShivMangal
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux BSP Architecture... sumeet4linux Linux - Kernel 0 01-20-2009 02:09 PM
Pxa320 Bsp belcor Linux - Embedded & Single-board computer 0 12-09-2007 10:01 PM
LXer: BSP Marathon / BSP in Berlin (Germany) September 22-24 LXer Syndicated Linux News 0 09-06-2006 07:54 PM
LXer: BSP Marathon / BSP in =?iso-8859-1?Q?ich?= (Germany) 15.-17. September LXer Syndicated Linux News 0 08-23-2006 08:54 PM
Arm9 Linux.bsp ThatDude Linux - Hardware 0 07-22-2004 10:28 AM


All times are GMT -5. The time now is 07:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration