SUMMARY: tar: file name too lon

From: Fausto Almeida (fausto@poirot.ist.utl.pt)
Date: Fri Feb 24 1995 - 06:22:50 CST


Hi,

Thank you to all that responded. I was able to move my users home dirs without
any further problem!

Here's my original post:
>
> Today I was planing to move my users home directories to another machine in the
> network. After mounting the destination filesystem I gave the comand:
>
> poirot{root}53: cd /usr/users/docentes; tar cf - . | (cd /disco3/docentes; tar xfBp -)
> /usr/users/docentes
> /disco3/docentes
> tar: ./dcaseiro/mac/Network Trash Folder/Trash Can #2/tfc/Apresenta:8d:8bo/More Drawings/.finderinfo/Draw1: file name too long
> tar: ./dcaseiro/mac/Network Trash Folder/Trash Can #2/tfc/Apresenta:8d:8bo/More Drawings/.finderinfo/Draw2: file name too long
> tar: ./dcaseiro/mac/Network Trash Folder/Trash Can #2/tfc/Apresenta:8d:8bo/More Drawings/.finderinfo/Draw3: file name too long
> .
> .
> .
> and so on......
>

Apparently this is a know bug in sunOS 4.1.x and Patch 101327 should fix it. It
is supposed to have disapeered in Solaris 2.x.

Most people recomended me gtar which is an improved version of tar by gnu.
(ftp://ftp.tuwien.ac.at/Systems/sun_os/solaris1/pd/util/bin)

And the use of dump/restore.
dump 0f - /usr/users/docentes|(cd /disco3; restore -rf -)

Others recomended cpio because it allows a longer pathname length
(128) than tar (100). And GNU cpio which should be better.

And bar.

And Pax (in /usr/5bin).

And rdist.
rdist -c /usr/users/docentes <hostname>:/disco3/docentes > /tmp/rdist.log

I choosed to use gtar, which was sent as an attachment by John Louie, and it
worked just fine. I guess dump should work even better in general since it
replicates the inode tree and isn't dependent on path (so no pathname limit
like tar).

Many thanks to those who replied (I hope I didn't forget anybody):

 Neil Greene <neil@bMD.com>
"Ashwin P. Rao" <ashwin@cadence.com>
 bamby@scorpio.com (Yehuda Bamnolker)
 Udo Linauer <ul@shiva.edvz.tuwien.ac.at>
 janisl@css.ce.philips.nl (Lykakis Janis)
 add@philce.ce.philips.nl (Dijkhoff Ad)
martin@gea.hsr.it (Martin Achilli)
 jwright@phy.ucsf.edu
d.fraser@fml.co.uk (Derek Fraser)
"Endre Polgar Technical Support Engineer ICON Ltd." <epolgar@petra.icon.hu>
 dewicki@bns102.bng.ge.com (Zenon Dewicki ph3580)
 Pell Emanuelsson <pell@lysator.liu.se>
 "David R. Smith" <smithdr@nyqsdsn1.eq.gs.com>
 "Daniel E. Zegarac" <zegarac@gdls.com>
 "B C Hamshere" <B.C.Hamshere@newcastle.ac.uk>
 scyoung@pts.mot.com (Steven C. Young)
 Gene Rackow <rackow@mcs.anl.gov>
 Derald.Mcmillan@soltech.com (Derald McMillan)
 lsanchez@esa.nascom.nasa.gov (Luis Sanchez Duarte)
 don@mars.dgrc.doc.ca (Donald McLachlan)
 Heas <heas@maelstrom.Timeplex.COM>
 R.Caramassi@its.it (cad user staff)
 eww@hobbes.crc.com (Eric Wampner ORL)
 Ross.Stocks.INSDRS01@nt.com
 "Tanya Herlick" <tanya@ora.com>
 "Tilford, Wayne" <wtilford@lgc.com>
 Ian MacPhedran <macphed@dvinci.usask.ca>
 mele@syl.nj.nec.com (Elaine Mele)
 Steve Elliott <se@comp.lancs.ac.uk>
 z055084@uprc.com (Kohler R. P. (Robert))
 Brent Chivers <bchivers@karoshi.mitre.org>
 mattias@txc.com (Mattias Zhabinskiy)
 Ricky <connell@roguewave.com>
 Nate Itkin <Nate-Itkin@ptdcs2.intel.com>
 oilean!joe@sgi.com (Joe McGuckin)
 Kambiz Aghaiepour <kxaghai@srv.pacbell.com>
 sysadm@homer.teledyne.com.teledyne.com
 bern@penthesilea.uni-trier.de (Jochen Bern)
 thomas@wiwi.hu-berlin.de (Thomas Koetter)
 anderson@neon.mitre.org (Mark S. Anderson)
 James Guyton <guyton@burton.cs.colorado.edu>
 seanw@amgen.com (Sean Ward)
 Kevin.Sheehan@uniq.com.au (Kevin Sheehan {Consulting Poster Child})
 louie@seismo.unr.edu (John Louie)
 roland@netcom.com (Paul Roland)
 raoul@MIT.EDU
 see@uebemc.siemens.de (Michael Seeger)
 perryh@pluto.rain.com (Perry Hutchison)
 ilkka@tks.oulu.fi (Ilkka Virtanen)
 as@uebemc.siemens.de (Andreas Schroeder)
 paulo@parana.dcc.unicamp.br (Paulo Licio de Geus)
 Kai Grossjohann <grossjoh@linus.informatik.uni-dortmund.de>
 rr6204@moses.ca.boeing.com (Bob Rutherford 965-0546)
 Dave Fetrow <fetrow@biostat.washington.edu>
 Dan Stromberg - OAC-CSG <strombrg@hydra.acs.uci.edu>

--Fausto



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:17 CDT