lkml.org 
[lkml]   [2001]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectuse shmfs
Date
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:14    [W:0.271 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site