From owner-freebsd-bugs Tue Nov 12 14: 0: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D56A237B401 for ; Tue, 12 Nov 2002 14:00:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E2A543E6E for ; Tue, 12 Nov 2002 14:00:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gACM05x3035718 for ; Tue, 12 Nov 2002 14:00:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gACM05R8035717; Tue, 12 Nov 2002 14:00:05 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D749D37B401 for ; 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 ; 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 Reply-To: Phil Budne To: FreeBSD-gnats-submit@FreeBSD.org Cc: phil@ultimate.com X-Send-Pr-Version: 3.113 Subject: gnu/45246: tar --listed-incremental fails for Solaris NFS filesystems Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45246 >Category: gnu >Synopsis: tar --listed-incremental fails for Solaris NFS filesystems >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 12 14:00:05 PST 2002 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message