On Fri, Feb 10, 2023 at 11:24:55AM +0100, Peter N. M. Hansteen wrote: > On Fri, Feb 10, 2023 at 11:12:44AM +0100, Daniele Bonini wrote: > > > > But when it is matter to deliver things from OpenBSD eg. to other > > live destination taring the same stuff I get the following error: > > > > tar: File name too long for ustar > > "go/Pippo/Pluto_Pluto_Pluto_Pluto/pippo/EN/pippo pippo pippo pippo > > technical assistance and sale of appliances emergency service > > throughout the pippo area pippo pippo superpippopippo.com" > > > > and these folder and files doesn't comes compressed at all. > > The first thing that comes to my mind is to try with GNU tar > which is available as a package on OpenBSD - pkg_add gtar should get > you that one. > > It is possible or even likely you are being tripped up by "differing > interpretations" of the archive format spec. > > Also, spaces in file names could be part of the problem set. > > - Peter
The default tar format (ustar) has path length and file name length limits. See pax(1) for some details. GNU tar has code to handle the long names. iirc we do handle these when unpacking, but have no code to create tar archives with these long names. -Oto