Re: [ANNOUNCE] ndevfs - a "nano" devfs

From: Greg KH
Date: Fri Jun 24 2005 - 10:20:32 EST


On Fri, Jun 24, 2005 at 04:23:49PM +0400, Michael Tokarev wrote:

<snip>

I'll respond to your comments later, it's too early...

> A question. I can't apply this to 2.6.12, it fails in
> drivers/base/class.c -- the main portion i think. What's
> this patch against?

2.6.12-git5, sorry I should have mentioned that.

> And another question. Why it isn't possible to use
> plain tmpfs for this sort of things?

What do you mean? What's wrong with a ramfs based fs? To use tmpfs
would require a lot more work. But if you want to do it, I'll gladly
take patches :)

> Why to create another filesystem, instead of just using current
> tmpfs and call mknod/unlink on it as appropriate?

Um, that's about all that this code does.

> This same tmpfs can be used by udev too (to create that "policy"-based
> names), and it gives us all the directories and other stuff...

udev doesn't need a kernel specific fs.

thanks,

greg k-h
-
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/