From: Daniel Podlejski <underley@witch.underley.eu.org>
To: linux-kernel@vger.kernel.org
Subject: Re: tmpfs in 2.4.3 and AC
Date: Sun, 1 Apr 2001 17:23:31 +0200 [thread overview]
Message-ID: <20010401152338Z32060-860+97@witch.underley.eu.org> (raw)
In-Reply-To: <20010330161837.A1052@werewolf.able.es>
In-Reply-To: <20010330161837.A1052@werewolf.able.es>
In linux-kernel, jamagallon@able.es wrote:
: Hi,
:
: tmpfs (or shmfs or whatever name you like) is still different in official
: series (2.4.3) and in ac series. Its a kick in the ass for multiboot,
: as offcial 2.4.3 does not recognise 'tmpfs' in fstab:
:
: shmfs /dev/shm tmpfs ...
:
: Any reason, or is because it has been forgotten ?
There is no tmpfs in vanilla 2.4.3 kernel.
I use this start script to mount tmp/shmfs:
#!/bin/sh
[ -d /dev/shm ] || mkdir -p /dev/shm
shmfs_avail=$(grep -qci 'shmfs' /proc/filesystems || true)
tmpfs_avail=$(grep -qci 'tmpfs' /proc/filesystems || true)
devshm_mounted=$(grep -qci '/dev/shm' /proc/mounts || true)
[ $devshm_mounted = 0 ] || exit 0
if [ $shmfs_avail = 1 ]
then
echo -ne "Mounting shmfs: "
mount none /dev/shm -t shmfs && echo "ok."
exit 0
fi
if [ $tmpfs_avail = 1 ]
then
echo -ne "Mounting tmpfs: "
mount tmpfs /dev/shm -t tmpfs && echo "ok."
fi
--
Daniel Podlejski <underley@underley.eu.org>
... On a dark desert highway Cool wind in my hair
Warm smell of colitas Rising up through the air ...
prev parent reply other threads:[~2001-04-01 16:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-30 14:18 J . A . Magallon
2001-04-01 3:11 ` Christoph Rohland
2001-04-01 15:23 ` Daniel Podlejski [this message]
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=20010401152338Z32060-860+97@witch.underley.eu.org \
--to=underley@witch.underley.eu.org \
--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
all inboxes | Powered by JetHome®