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

Re: Bug#288043: udev: kernel allow mounting non-working tmpfs



severity 288043 important
retitle 288043 kernel allow mounting non-working tmpfs
tag 288043 sarge sid help upstream
thanks

On Jan 01, Daniel Jacobowitz <dan@debian.org> wrote:

> It appears to be a problem with tmpfs in 2.6.10-rc1, maybe.  Witness:
> 
> root@nevyn:/home/drow# mount -t tmpfs tmpfs /mnt/spazmount
> root@nevyn:/home/drow# ls /mnt/spazmount
> ls: /mnt/spazmount: Not a directory
> 
> Aha:
> # CONFIG_TMPFS is not set
> 
> I don't know why the tmpfs mount succeeds even though tmpfs is
> disabled.  tmpfs also appears in /proc/filesystems.  That's really
> nasty!  It has something to do with the fact that tmpfs is used for
> in-kernel filesystems.
> 
> Should we be detecting this problem?
Yes, but I have no clue about how to do it. /proc/filesystems does not
work either: see #275874 for details.
That bug log reports that it has been fixed in debian kernels, but
apparently the patch has not been merged by Linus yet.

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


Reply to: