Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-07-2008, 02:29 AM   #1
Registered: Oct 2007
Posts: 101

Rep: Reputation: 15
Thumbs up deleted file using memory

Hi all
I am booting Linux from CF card. When I am deleting any file, file is deleted but memory not get free.
output of df -h
Filesystem Size Used Available Use% Mounted on
/dev/hda1 244.0M 231.6M 12.4M 95% /initrd/mnt/dev_ro1

How can I solve this problem?

Thanks & Regards
Old 04-07-2008, 03:16 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
What version of Linux is this? To me the /initrd/mnt/dev_ro1
suspiciously looks like /dev_ReadOnly1 ... which would explain
the inability to delete stuff (maybe it copies stuff into RAM
and your deletion only takes place there?) ....

Old 04-07-2008, 05:12 AM   #3
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
initrd often uses cramfs or romfs. These filesystems do not support deletion since they are special purpose filesystems, used when that is not usually a desired operation. The optimisations (size, simplicity, speed, compression capability and so on) gained by not implementing such functions are worth the limitation.


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
deleted file recovery nofear3829 Linux - General 1 02-21-2008 04:04 AM
I have deleted a file thru rm can i recover it ricka343 Linux - General 2 06-27-2006 04:28 AM
recovering a deleted file? berrance Linux - Software 4 03-24-2006 08:56 AM
File deleted but icon still there Pg2k3 Linux - Newbie 4 02-01-2006 08:35 PM
Deleted file klmn1 Linux - Software 2 12-12-2003 07:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:13 AM.

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