Unfortunately, the kernel registers tmpfs whether CONFIG_TMPFS is
actually enabled or not; this is because mm/shmfs.c and mm/tiny-shmfs.c,
while offering functionality for shm even if CONFIG_TMPFS is unset,
decides to call itself tmpfs. I'm not sure the logic (if there is any)
behind this; I'm betting someone wrote shmfs, then decided it would be
nice to abstract it out into tmpfs.
I don't have any solutions for this right now; probably the "correct"
thing to do would be to split apart tmpfs and shmfs stuff, have
fs/tmpfs*, and have shm depend upon this (and provide its own shmfs
stubs if tmpfs is disabled?).
--=20
Andres Salomon <email address hidden>
--=-QJeYn54Zln2k6XogrtNw
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
Message-Id: <1103767770. 11785.4. camel@localhost >
Date: Wed, 22 Dec 2004 21:09:30 -0500
From: Andres Salomon <email address hidden>
To: <email address hidden>
Cc: <email address hidden>
Subject: udev gets tmpfs kernel support test wrong
--=-QJeYn54Zln2 k6XogrtNw Transfer- Encoding: quoted-printable
Content-Type: text/plain
Content-
Unfortunately, the kernel registers tmpfs whether CONFIG_TMPFS is
actually enabled or not; this is because mm/shmfs.c and mm/tiny-shmfs.c,
while offering functionality for shm even if CONFIG_TMPFS is unset,
decides to call itself tmpfs. I'm not sure the logic (if there is any)
behind this; I'm betting someone wrote shmfs, then decided it would be
nice to abstract it out into tmpfs.
I don't have any solutions for this right now; probably the "correct"
thing to do would be to split apart tmpfs and shmfs stuff, have
fs/tmpfs*, and have shm depend upon this (and provide its own shmfs
stubs if tmpfs is disabled?).
--=20
Andres Salomon <email address hidden>
--=-QJeYn54Zln2 k6XogrtNw pgp-signature; name=signature.asc Description: This is a digitally signed message part
Content-Type: application/
Content-
-----BEGIN PGP SIGNATURE-----
9R9NraMQRAqJdAJ 9Q9Z6O9dGfQ3qsJ vqnekWC5XaHmgCf aTYB w4+z7eh73EzSRYE 8=
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQBByija78o
+k6U1j+
=YIFq
-----END PGP SIGNATURE-----
--=-QJeYn54Zln2 k6XogrtNw- -