From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UD9Rb-0003fB-LU for barebox@lists.infradead.org; Wed, 06 Mar 2013 08:11:24 +0000 Date: Wed, 6 Mar 2013 09:11:22 +0100 From: Sascha Hauer Message-ID: <20130306081122.GF1906@pengutronix.de> References: <1361014553-24489-1-git-send-email-plagnioj@jcrosoft.com> <20130306074327.GD1906@pengutronix.de> <20130306080118.GA4401@game.jcrosoft.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130306080118.GA4401@game.jcrosoft.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/1] devfs: add symlink support To: Jean-Christophe PLAGNIOL-VILLARD Cc: barebox@lists.infradead.org On Wed, Mar 06, 2013 at 09:01:18AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > 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 > > > --- > > > 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 This is in the same league as I wanted to do with persistent device names. We should think about this in a more general way. > > > > 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 vfs level? You would have to implement one first, we do not have a vfs level at all ;) 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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox