🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1114

Possible bug in gtar 1.11.2

#1114
From: John P. Rouillard
Date: Thu, 19 Nov 1992 18:56
52 lines
2622 bytes
Hi:

Using gtar 1.11.1, when I use the following command line:

   tar -cvvf  /dev/null /

and / contains long file names that have to be mangled, I get the
following error message:

  ./tar: Visible longname error

  ?rwxr-xr-x root/system       0 Nov 19 13:33 1992 ././@LongLink unknown file type 'L'
  drwxr-xr-x rouilj/system     0 Nov 19 13:33 1992 usr/tmp/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/foo/
  ./tar: Visible longname error

  ?rwxr-xr-x root/system       0 Nov 19 13:33 1992 ././@LongLink unknown file type 'L'

Why is listing an @LongLink file an error? With a single -v option the
@LongLink files are listed as being on the tape. Why should it be an
error to request a long listing of these files?  

Also, why are the @LongLink files being listed at all. With a "tar
-tvf", these @LongLink files aren't listed at all. Shouldn't the long
listing generated during the creation of the file jibe with the
listing of the file after the fact?

I would very much like to comment out the warning message in list.c at
line 576, but I am not sure why this would be an error in the first
place. Is ignoring this "error" a safe thing to do?

This has implications for some patches I am making to gnu tar to
support saving of verbose listing information to a file so that the
listing infomation isn't lumped into the error stream when gnu tar
produces an archive to standard output. This provides a better
interface between gnu tar and some wrapper scripts that drive the
backup process.

A quick reply would be appreciated.

-- John

-- 
                            John Rouillard
Special Projects Volunteer                	Systems Programmer
rouilj@cs.umb.edu (Preferred Address)	  	rouilj@dl5000.bc.edu
(617) 287-6480					(617) 552-8793

University of Massachusetts at Boston 	  	Boston College
   Boston, MA				  	Institute for Space Research  
					     	   Bedford, MA  
===============================================================================
My employers don't acknowledge my existence much less my opinions.
Technical Details
Message-ID: <199211191856.AA27367@dl5000.bc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!dl5000.bc.edu!John_Rouillard

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!dl5000.bc.edu!John_Rouillard
From: John_Rouillard@dl5000.bc.edu (John P. Rouillard)
Subject: Possible bug in gtar 1.11.2
Message-ID: <199211191856.AA27367@dl5000.bc.edu>
Sender: gnulists@ai.mit.edu
Organization: Boston College, Institute for Space Research (Bedford, MA)
Distribution: gnu
Date: Thu, 19 Nov 1992 18:56:49 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 53