From: "Hua Zhong" <hzhong@cisco.com>
To: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: use shmfs
Date: Sat, 15 Dec 2001 16:26:15 -0800 [thread overview]
Message-ID: <00c801c185c8$466ebb60$5900a8c0@cisco.com> (raw)
Hi:
Currently I'm using shmfs as a volatile storage. I am using Monta Vista's
kernel (2.4.2). I added the following line in /etc/fstab:
tmpfs /dev/shm shm defaults 0 0
# df /dev/shm
Filesystem 1k-blocks Used Available Use% Mounted on
tmpfs 0 0 0 - /dev/shm
the "0" number of blocks seems fishy.
I cannot write to the filesystem. write returns EINVAL. I can create an
empty file, however.
What should I do to make it work? Thanks.
By the way, I know tmpfs is a replacement of shmfs, but it's not in the
2.4.2 kernel I am using (can't find in config). Is it in any newer kernels
(especially 2.4.9)? Is it stable enough?
Thanks
next reply other threads:[~2001-12-16 0:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-16 0:26 Hua Zhong [this message]
2001-12-16 5:31 ` use shmfs Robert Love
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='00c801c185c8$466ebb60$5900a8c0@cisco.com' \
--to=hzhong@cisco.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