LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   deleted file using memory (https://www.linuxquestions.org/questions/linux-newbie-8/deleted-file-using-memory-633585/)

kkpal 04-07-2008 01:29 AM

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
KKPal

Tinkster 04-07-2008 02:16 AM

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?) ....


Cheers,
Tink

matthewg42 04-07-2008 04:12 AM

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.


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