Comment 8 for bug 11364

Revision history for this message
Debian Bug Importer (debzilla) wrote :

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

--=-QJeYn54Zln2k6XogrtNw
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBByija78o9R9NraMQRAqJdAJ9Q9Z6O9dGfQ3qsJvqnekWC5XaHmgCfaTYB
+k6U1j+w4+z7eh73EzSRYE8=
=YIFq
-----END PGP SIGNATURE-----

--=-QJeYn54Zln2k6XogrtNw--