Re: tmpfs works! was Large ramdisk crashes 2.4.8

Brian (hiryuu@envisiongames.net)
Tue, 14 Aug 2001 17:03:40 -0400


On Tuesday 14 August 2001 04:52 pm, Paul Buder wrote:
> swapoff -a
> mount -t tmpfs -osize=35M /dev/shm1 /mnt1
> mount -t tmpfs -osize=35M /dev/shm2 /mnt2
> dd if=/dev/zero of=/mnt1/junk bs=1024000 count=100
> dd if=/dev/zero of=/mnt2/junk bs=1024000 count=100
>
> It seems to work but I'm a little worried about the /dev/shm1 and 2.
> It doesn't seem to matter if they even exist or not, they don't seem to
> do anything. Is this just placeholder candy for fstab and the mount
> command, or am I missing something?

Yes, it's just a placeholder. I use 'tmpfs' as the device on here.

-- Brian
-
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/