From: Padraig Brady <padraig@antefacto.com>
To: linux-kernel@vger.kernel.org
Subject: ramfs leak
Date: Thu, 08 Nov 2001 11:35:32 +0000 [thread overview]
Message-ID: <3BEA6E04.3020400@antefacto.com> (raw)
In-Reply-To: <E161aYo-0000ch-00@fenrus.demon.nl>
When I remove files from a ramfs the space is not reclaimed?
What am I doing wrong? Details below.
thanks,
Padraig.
------------
host:/root# uname -a
Linux host 2.4.12-ac3 #5 Fri Oct 19 12:52:10 IST 2001 i686 unknown
host:/root# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 58997 47112 8839 84% /
ramfs 63524 3360 60164 5% /var
host:/root# dd if=/dev/zero count=20000 bs=1024 of=/tmp/leak
20000+0 records in
20000+0 records out
host:/root# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 58997 47112 8839 84% /
ramfs 63524 23360 40164 37% /var
host:/root# rm /tmp/leak
host:/root# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 58997 47112 8839 84% /
ramfs 63524 23360 40164 37% /var
host:/root# mount
/dev/root on / type ext2 (ro)
proc on /proc type proc (rw)
ramfs on /var type ramfs (rw,noexec)
host:/root# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 130097152 48156672 81940480 49152 2990080 16277504
Swap: 0 0 0
MemTotal: 127048 kB
MemFree: 80020 kB
MemShared: 48 kB
Buffers: 2920 kB
Cached: 15896 kB
SwapCached: 0 kB
Active: 1760 kB
Inact_dirty: 17104 kB
Inact_clean: 0 kB
Inact_target: 26200 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 127048 kB
LowFree: 80020 kB
SwapTotal: 0 kB
SwapFree: 0 kB
next prev parent reply other threads:[~2001-11-08 11:37 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-07 15:00 ext3 vs resiserfs vs xfs Roy Sigurd Karlsbakk
2001-11-07 15:23 ` Alan Cox
2001-11-07 15:28 ` Zvi Har'El
2001-11-07 20:19 ` Andreas Dilger
2001-11-07 21:11 ` Zvi Har'El
2001-11-07 21:25 ` Christian Bornträger
2001-11-07 21:45 ` Mike Fedyk
2001-11-07 21:42 ` Andreas Dilger
2001-11-07 22:11 ` arjan
2001-11-07 21:48 ` arjan
2001-11-08 7:08 ` Zvi Har'El
2001-11-08 11:06 ` Arjan van de Ven
2001-11-08 12:10 ` Zvi Har'El
2001-11-08 12:11 ` Arjan van de Ven
2001-11-08 11:35 ` Padraig Brady [this message]
2001-11-07 16:31 ` James A Sutherland
2001-11-07 19:38 ` Ville Herva
2001-11-07 20:44 ` James A Sutherland
2001-11-07 21:11 ` Andreas Dilger
2001-11-07 21:37 ` ext3 vs resizerfs " Ville Herva
2001-11-07 21:45 ` Andreas Dilger
2001-11-08 0:13 ` ext3 vs resiserfs " James A Sutherland
2001-11-07 19:50 ` Daniel Gryniewicz
2001-11-07 20:24 ` Robert Love
2001-11-07 20:35 ` Andrew Morton
2001-11-07 20:27 ` Anton Altaparmakov
2001-11-07 18:40 ` Anton Altaparmakov
2001-11-07 19:12 ` Alan Cox
2001-11-07 20:36 ` Anton Altaparmakov
2001-11-07 19:40 ` Anton Altaparmakov
2001-11-07 20:15 ` Andrew Morton
2001-11-07 21:33 ` Mike Fedyk
2001-11-07 22:00 ` Andrew Morton
2001-11-07 22:27 ` Mike Fedyk
2001-11-07 22:56 ` Andrew Morton
2001-11-07 23:18 ` Andreas Dilger
2001-11-07 22:52 ` Mike Fedyk
2001-11-07 22:59 ` Andrew Morton
2001-11-07 23:36 ` D. Stimits
2001-11-07 23:55 ` Mike Castle
2001-11-07 23:38 ` Mike Castle
2001-11-07 23:49 ` Mike Fedyk
2001-11-08 10:58 ` Juan Quintela
2001-11-07 20:25 ` Andreas Dilger
2001-11-07 23:33 ` Ryan Cumming
2001-11-09 16:11 ` Andreas Dilger
2001-11-07 20:21 ` Andreas Dilger
2001-11-07 20:05 ` Theodore Tso
2001-11-07 20:18 ` Andreas Dilger
[not found] <no.id>
2001-11-09 20:40 ` ramfs leak W Christopher Martin
2001-11-12 2:47 ` Tachino Nobuhiro
2001-11-12 18:35 ` Padraig Brady
2001-11-12 21:35 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BEA6E04.3020400@antefacto.com \
--to=padraig@antefacto.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome