2008-03-28 18:34:39 devfs_fs_kernel.h removed?
blue hash (UNITED STATES)
Message: 53269 Hey,
Has linux/devfs_fs_kernel.h been removed?
I cant seem to find it in the 2008 release.
If yes, whats the replacement for it?
Thanks.
QuoteReplyEditDelete
2008-03-28 20:55:43 Re: devfs_fs_kernel.h removed?
Mike Frysinger (UNITED STATES)
Message: 53271 why would you want devfs ? it's been deprecated for ages.
QuoteReplyEditDelete
2008-03-29 00:55:38 Re: devfs_fs_kernel.h removed?
blue hash (UNITED STATES)
Message: 53289 Mike,
Thanks for your replies( to most of my questions).
The problem is I'm working on a piece of code which was based on uClinux(2006), hence the file.
Is there any other file that replaces/based on it?
Thanks,
-Gerry
QuoteReplyEditDelete
2008-03-29 01:41:42 Re: devfs_fs_kernel.h removed?
Mike Frysinger (UNITED STATES)
Message: 53291 there is no direct replacement. you should not be using any of the devfs functions anymore. dynamic device node creation is handled by userspace via hotplug (mdev processes these by default), not by the kernel via the devfs filesystem. if you are creating a character device, please read chapter 3 of Linux Device Drivers to learn how to do it properly ... you can find this for free on the internet or via our wiki.