From: Stefan Monnier <monnier@iro.umontreal.ca>
To: linux-kernel@vger.kernel.org
Subject: Treat disk space like memory space
Date: Thu, 15 Nov 2007 17:24:32 -0500 [thread overview]
Message-ID: <jwvr6irqhn2.fsf-monnier+gmane.linux.kernel@gnu.org> (raw)
The normal situation on the memory is side is that most of the memory is
in use, but some pages are ready to be discarded, they're just kept
around because we have nothing better to do (yet) with that page.
Is there a tool to do something similar with file systems. I have a lot
of unimportant files in my file-system, typically browser caches and
things like that, which can be thrown away without any risk of
losing data. I just keep them around because I have nothing better to
do with my disk space.
So I'd like to be able to say "these areas of my file-system hold data
that you can discard whenever you need space". So I can freely fill up
my disk with such irrelevant data, safe in the knowledge that if I ever
need this disk space it'll be automatically reclaimed.
[ I realize this is probably better implemented outside of the kernel, but
it seems like it might be of interest here. Please redirect me to
a more appropriate place if you can think of one (other than
/dev/null that is). ]
Stefan
next reply other threads:[~2007-11-15 22:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-15 22:24 Stefan Monnier [this message]
2007-11-16 0:03 ` Treat disk space like memory space Wes Felter
2007-11-16 0:24 ` Lee Revell
2007-11-16 18:30 ` H. Peter Anvin
2007-11-16 19:34 ` Jörn Engel
2007-11-23 14:28 ` Pavel Machek
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=jwvr6irqhn2.fsf-monnier+gmane.linux.kernel@gnu.org \
--to=monnier@iro.umontreal.ca \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.