From owner-freebsd-bugs@FreeBSD.ORG Mon Jul 7 07:40:06 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 297381065679 for ; Mon, 7 Jul 2008 07:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 04EA68FC25 for ; Mon, 7 Jul 2008 07:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m677e5d3013398 for ; Mon, 7 Jul 2008 07:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m677e5Tv013397; Mon, 7 Jul 2008 07:40:05 GMT (envelope-from gnats) Resent-Date: Mon, 7 Jul 2008 07:40:05 GMT Resent-Message-Id: <200807070740.m677e5Tv013397@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kevet Duncombe Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FE701065686 for ; Mon, 7 Jul 2008 07:36:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0D6B78FC24 for ; Mon, 7 Jul 2008 07:36:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m677aOmH005680 for ; Mon, 7 Jul 2008 07:36:24 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m677aODD005679; Mon, 7 Jul 2008 07:36:24 GMT (envelope-from nobody) Message-Id: <200807070736.m677aODD005679@www.freebsd.org> Date: Mon, 7 Jul 2008 07:36:24 GMT From: Kevet Duncombe To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/125358: missing .. link in zfs snapshot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2008 07:40:06 -0000 >Number: 125358 >Category: misc >Synopsis: missing .. link in zfs snapshot >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 07 07:40:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Kevet Duncombe >Release: 7.0-RELEASE >Organization: >Environment: FreeBSD servo.metamaya.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I noticed today that my zfs snapshots are missing the .. link. That seemed peculiar, so I asked in the zfs channel on IRC. Someone there checked a solaris system and reports that their snapshots have the .. link, so I'm guessing it's a FreeBSD problem. It's a nuisance because it confuses archivers/star-devel into thinking it can only do a partial dump, rather than a full filesystem dump. For what it's worth, I found that if I clone the snapshot, the clone has a .. link. >How-To-Repeat: root@servo# zfs snapshot tank/home@foo root@servo# cd /home/.zfs/snapshot/foo root@servo# ls -lda .* ls: ..: Not a directory drwxr-xr-x 9 1002 1002 10 Jul 3 02:59 ./ drwxrwxr-x 2 root operator 2 Jun 4 20:28 .snap/ >Fix: >Release-Note: >Audit-Trail: >Unformatted: