where is tftp mounting documented in the source code?
s.hauer at pengutronix.de
Wed Nov 21 04:11:28 EST 2012
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 <ip> /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".
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