From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: losetuping files in tmpfs fails?
Date: 5 Jan 2002 15:18:49 -0800 [thread overview]
Message-ID: <a181kp$tl4$1@cesium.transmeta.com> (raw)
In-Reply-To: <3C35F8B2.98763627@sltnet.lk>
Followup to: <3C35F8B2.98763627@sltnet.lk>
By author: Ishan Oshadi Jayawardena <ioshadi@sltnet.lk>
In newsgroup: linux.dev.kernel
>
> No, there isn't. I noticed this myself a few months back, but didn't
> complain because, well, the purpose of tmpfs is to provide support for
> POSIX shared memory, right? (At least according to Configure.help).
> {If,/ Because} tmpfs does that correctly, it's not broken.
>
That was the original reason for it, when it was called "shmfs". It
has become more than that, due to the fairly clever observation that
"shmfs" already supported virtually everything needed for a swappable
temporary-storage general filesystem.
-hpa
P.S. On kernel.org, I was forced to hack tmpfs so that it returns a
nonzero size for directories; otherwise "make distclean" breaks for
older Linux kernels, and the incdiff robot that runs on kernel.org
relies on this operation working correctly. It would be a good thing
if tmpfs could account for the amount of memory consumed by
directories, etc.
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
next prev parent reply other threads:[~2002-01-05 23:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-04 18:47 losetuping files in tmpfs fails? Ishan Oshadi Jayawardena
2002-01-05 23:18 ` H. Peter Anvin [this message]
2002-01-14 12:43 ` tmpfs accounting (was: losetuping files in tmpfs fails?) Christoph Rohland
2002-01-14 15:44 ` H. Peter Anvin
-- strict thread matches above, loose matches on Subject: below --
2002-01-05 21:51 losetuping files in tmpfs fails? Frédéric L. W. Meunier
2002-01-05 23:20 ` H. Peter Anvin
2002-01-06 0:15 ` Guest section DW
2001-12-30 12:39 Andy Gaynor
2002-01-03 23:10 ` Andrew Morton
2002-01-03 23:42 ` David Golden
2002-01-03 23:42 ` Andreas Dilger
2002-01-04 10:38 ` Andy Gaynor
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='a181kp$tl4$1@cesium.transmeta.com' \
--to=hpa@zytor.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