From phil@peecee.ultimate.com  Tue Nov 12 13:55:22 2002
Return-Path: <phil@peecee.ultimate.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D749D37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Nov 2002 13:55:22 -0800 (PST)
Received: from peecee.ultimate.com (h525405f6161e.ne.client2.attbi.com [66.30.204.193])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EFC3B43E3B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 12 Nov 2002 13:55:21 -0800 (PST)
	(envelope-from phil@peecee.ultimate.com)
Received: from peecee.ultimate.com (localhost [127.0.0.1])
	by peecee.ultimate.com (8.12.6/8.12.6) with ESMTP id gACLuIx6000350;
	Tue, 12 Nov 2002 16:56:18 -0500 (EST)
	(envelope-from phil@peecee.ultimate.com)
Received: (from phil@localhost)
	by peecee.ultimate.com (8.12.6/8.12.6/Submit) id gACLuHFZ000349;
	Tue, 12 Nov 2002 16:56:17 -0500 (EST)
Message-Id: <200211122156.gACLuHFZ000349@peecee.ultimate.com>
Date: Tue, 12 Nov 2002 16:56:17 -0500 (EST)
From: Phil Budne <phil@ultimate.com>
Reply-To: Phil Budne <phil@ultimate.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: phil@ultimate.com
Subject: tar --listed-incremental fails for Solaris NFS filesystems
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         45246
>Category:       gnu
>Synopsis:       tar --listed-incremental fails for Solaris NFS filesystems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    sobomax
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 12 14:00:05 PST 2002
>Closed-Date:    Fri Sep 30 01:19:51 GMT 2005
>Last-Modified:  Fri Sep 30 01:19:51 GMT 2005
>Originator:     Phil Budne
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Consultant
>Environment:
System: FreeBSD peecee.ultimate.com 4.7-STABLE FreeBSD 4.7-STABLE #17: Mon Oct 21 13:15:40 EDT 2002 phil@peecee.ultimate.com:/home/src/sys/compile/A900 i386

>Description:

Attempting to do incrementals of an filesystem NFS mounted from
Solaris 2.4 (SunOS 5.4) always dumps all the files.  (I did it because
Solaris 2.4 doesn't support large files, but does support large
filesystems, so sending the data over the network using rsh or rmt
failed).

>How-To-Repeat:

tar -cvf output -g listfile /nfs/solaris24/filesystem

>Fix:

The GNU TAR check for NFS filesystems fails; It only checks the high
order bit of st_dev, which isn't set in Solaris' fsid's (but does work
for SunOS4, and presumably other implementations).  Typical values
for st_dev: 0x31eff9d 0x31eff9b.

Checking if any of the bits in the high nybble helped, but not sure if
that's right.  Checking if minor(st_dev) == 0xff seems to work also.

Would be nifty to have some "standard" (hah!) way to check!

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->sobomax 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Jul 12 17:24:13 PDT 2003 
Responsible-Changed-Why:  
Assign to tar maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45246 
State-Changed-From-To: open->closed 
State-Changed-By: sobomax 
State-Changed-When: Fri Sep 30 01:19:47 GMT 2005 
State-Changed-Why:  
GNU Tar is no longer part of FreeBSD base system. Please contact its 
authors directly if the problem still persists. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45246 
>Unformatted:
