how much contents can put to root dir
Sascha Hauer
s.hauer at pengutronix.de
Mon Jun 27 01:03:41 PDT 2016
On Mon, Jun 27, 2016 at 10:52:47AM +0800, 张忠山 wrote:
> I wan't to copy some large files to `/` through tftp.
>
> But how can I determine whether the root dir large
> enough or not?
Currently there is no way to determine the free space of a filesystem,
neither from the shell or from C code. You would have to implement the
missing callbacks.
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