Skip to contentSkip to conversation

Memory leak in the ramfs file system

DISCUSSION Amit D Chaudhary 2 participants 3 messages Mar 30, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines
(none):/mnt/ramfs/root# df -h /mnt/ramfs/
Filesystem            Size  Used Avail Use% Mounted on
ramfs                    0     0     0   -  /mnt/ramfs

I am not sure, how related this is, but we have / on ramfs and using rpm to install(-iUvh) fails with the mesages, need 12K on /

Amit

#1 lore raw
Quoted 5 lines · Amit D Chaudhary
Quoted 3 lines
(none):/mnt/ramfs/root# df -h /mnt/ramfs/
Filesystem            Size  Used Avail Use% Mounted on
ramfs                    0     0     0   -  /mnt/ramfs

I am not sure, how related this is, but we have / on ramfs and using rpm to install(-iUvh) fails with the mesages, need 12K on /

This is normal -- ramfs doesn't do filesystem accounting needed for 'df'.

#2 lore raw

Hi,

Thanks for the reply.

So the question next would be whether ramfs will include features to make it viable or stay with less features with the aim of keeping it simple.

Today, plan to check the 2-4.2-ac2x series to see if they fix this.

Regards
Amit

Quoted 9 lines · Jeff Garzik
Quoted 4 lines · Amit D Chaudhary
Quoted 3 lines
(none):/mnt/ramfs/root# df -h /mnt/ramfs/
Filesystem            Size  Used Avail Use% Mounted on
ramfs                    0     0     0   -  /mnt/ramfs

I am not sure, how related this is, but we have / on ramfs and using rpm to install(-iUvh) fails with the mesages, need 12K on /

This is normal -- ramfs doesn't do filesystem accounting needed for 'df'.