From nobody@FreeBSD.org  Mon Jul  7 07:36:25 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1FE701065686
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <dunc@visi.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: missing .. link in zfs snapshot
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         125358
>Category:       kern
>Synopsis:       [zfs] missing .. link in zfs snapshot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pjd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 07 07:40:05 UTC 2008
>Closed-Date:    Wed Sep 09 18:33:36 UTC 2009
>Last-Modified:  Wed Sep 09 18:33:36 UTC 2009
>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:
State-Changed-From-To: open->patched 
State-Changed-By: kmacy 
State-Changed-When: Sun May 17 04:50:15 UTC 2009 
State-Changed-Why:  


can not reproduce in the ZFS MFC  

http://www.freebsd.org/cgi/query-pr.cgi?pr=125358 
State-Changed-From-To: patched->feedback 
State-Changed-By: linimon 
State-Changed-When: Mon May 18 02:53:51 UTC 2009 
State-Changed-Why:  
To submitter: can you confirm that the MFC fixes it? 


Responsible-Changed-From-To: freebsd-bugs->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 18 02:53:51 UTC 2009 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=125358 
State-Changed-From-To: feedback->closed 
State-Changed-By: pjd 
State-Changed-When: ro 9 wrz 2009 18:32:56 UTC 
State-Changed-Why:  
The bug has already been fixed. 


Responsible-Changed-From-To: linimon->pjd 
Responsible-Changed-By: pjd 
Responsible-Changed-When: ro 9 wrz 2009 18:32:56 UTC 
Responsible-Changed-Why:  
I'll take this one over. 

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