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.76 #1 (Red Hat Linux)) id 1Tb6LD-0001Bb-Ap for barebox@lists.infradead.org; Wed, 21 Nov 2012 09:11:31 +0000 Date: Wed, 21 Nov 2012 10:11:28 +0100 From: Sascha Hauer Message-ID: <20121121091128.GO10369@pengutronix.de> References: <20121120080831.GE10369@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: where is tftp mounting documented in the source code? To: "Robert P. J. Day" Cc: "U-Boot Version 2 (barebox)" On Tue, Nov 20, 2012 at 07:03:58AM -0500, Robert P. J. Day wrote: > On Tue, 20 Nov 2012, Sascha Hauer wrote: > > > On Mon, Nov 19, 2012 at 09:48:41AM -0500, Robert P. J. Day wrote: > > > > > > perusing the wiki and ran across page on TFTP support: > > > http://wiki.barebox.org/doku.php?id=filesystems:tftp which suggests: > > > > > > mount 192.168.1.1 tftp /mnt/tftp > > > > This was the original mount behaviour. This was recently changed to > > mount -t fstype /dir, mainly to allow making the fstype option > > optional for autodetecting the type. The wiki page is out of date > > here. As a sidenote I brought back the old behaviour as a > > compatibility option to not break old environments. > > so ... the wiki page should be updated to show both the old and new > behaviour? and the "help mount" content should be extended as well? > what's the proper fix here? I intentionally did not document the old behaviour. I think the help texts in the binary should be rather terse. In the wiki though it shouldn't hurt to add a side note explaining the old behaviour along with a "don't use it". 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