[PATCH 1/1] devfs: add symlink support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Mar 6 03:01:18 EST 2013


On 08:43 Wed 06 Mar     , Sascha Hauer wrote:
> On Sat, Feb 16, 2013 at 12:35:53PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> > ---
> >  fs/devfs.c       |   70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >  include/driver.h |    1 +
> >  2 files changed, 71 insertions(+)
> 
> What's your usecase with this patch? Telling me could increase my
> motivation applying it.
I use it to handle boot device and tty today

so the application part does not care about the real hardware they always have
the same device (file) to search
> 
> One thing I see with this patch that the next thing would be to add
> directory support to debugfs in which case we might be better off
> adding real device nodes and remove the devfs like we have it now
> completely.
yeah I've the idea to rewrite the devfs completly and the ramfs too

as the ramfs should be at vfs level so the devfs will nearly implement nothing

Best Regards,
J.
> 
> Sascha
> 
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list