Re: tmpfs disabled in .config but in /proc/filesystems

From: Hugh Dickins
Date: Fri Oct 05 2007 - 11:43:46 EST


On Fri, 5 Oct 2007, Guennadi Liakhovetski wrote:
> Am I running crazy here (some 2.6.23-rc6-ish)?
>
> $ zcat /proc/config.gz | grep TMPFS
> # CONFIG_TMPFS is not set
> $ grep tmpfs /proc/filesystems
> nodev tmpfs

tmpfs (mm/shmem.c) is used by the kernel to support shared memory
of various kinds even when CONFIG_TMPFS is not set. But only when
CONFIG_TMPFS=y can users mount a tmpfs as a fully capable filesystem.
Confusing, yes: sorry for putting the fear of craziness upon you.

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