[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#286756: udev gets tmpfs kernel support test wrong



On Wed, Dec 22, 2004 at 01:57:13AM +0100, Marco d'Itri wrote:
> reassign 286756 kernel-source-2.6.9
> 
> On Dec 22, "John R. McPherson" <jrm+udevbug@wlug.org.nz> wrote:
> 
> > Debian sarge/x86, custom kernel 2.6.9.
> > 
> > I built a kernel and didn't set CONFIG_TMPFS, and after installing the
> > kernel and rebooting, udev mounts an unusable tmpfs over /dev, so
> > no device files are accessible. The mount doesn't fail, but the
> This is a known kernel bug (mount is supposed to fail), but I tought
> that it had been fixed in 2.6.8 (2.6.9?).
> I'm reassigning this bug to the kernel package.
> 
> (I also accept suggestions for a better test for tmpfs presence...)


If /proc/config.gz exists, you can 'zgrep TMPFS /proc/config.gz' and
see if it is ="y"/"m" vs "n".

That won't help for kernels that don't have CONFIG_IKCONFIG_PROC set, so
don't have a /proc/config.gz. But if the file exists, you can tell
whether or not the kernel has tmpfs support.

John McPherson




Reply to: