* tmpfs in 2.4.3 and AC
@ 2001-03-30 14:18 J . A . Magallon
2001-04-01 3:11 ` Christoph Rohland
2001-04-01 15:23 ` Daniel Podlejski
0 siblings, 2 replies; 3+ messages in thread
From: J . A . Magallon @ 2001-03-30 14:18 UTC (permalink / raw)
To: Linux Kernel
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 ?
--
J.A. Magallon # Let the source
mailto:jamagallon@able.es # be with you, Luke...
Linux werewolf 2.4.3 #2 SMP Fri Mar 30 15:42:05 CEST 2001 i686
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tmpfs in 2.4.3 and AC
2001-03-30 14:18 tmpfs in 2.4.3 and AC J . A . Magallon
@ 2001-04-01 3:11 ` Christoph Rohland
2001-04-01 15:23 ` Daniel Podlejski
1 sibling, 0 replies; 3+ messages in thread
From: Christoph Rohland @ 2001-04-01 3:11 UTC (permalink / raw)
To: J . A . Magallon; +Cc: Linux Kernel
On Fri, 30 Mar 2001, jamagallon@able.es wrote:
> 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 ...
Use type shm. It works in both versions.
> Any reason, or is because it has been forgotten ?
Alan picked up the tmpfs extensions. Linus didn't.
Greetings
Christoph
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tmpfs in 2.4.3 and AC
2001-03-30 14:18 tmpfs in 2.4.3 and AC J . A . Magallon
2001-04-01 3:11 ` Christoph Rohland
@ 2001-04-01 15:23 ` Daniel Podlejski
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Podlejski @ 2001-04-01 15:23 UTC (permalink / raw)
To: linux-kernel
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 ...
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-04-01 16:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-30 14:18 tmpfs in 2.4.3 and AC J . A . Magallon
2001-04-01 3:11 ` Christoph Rohland
2001-04-01 15:23 ` Daniel Podlejski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox