Date: Thu, 21 Jul 2016 13:50:57 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Matthew Seaman <matthew@FreeBSD.org>, freebsd-fs@FreeBSD.org Subject: Re: ZFS snapshot automount -- not creating '..' directory links correctly? Message-ID: <e6e781c4-0a06-6736-d0be-2fb269e5b3fc@FreeBSD.org> In-Reply-To: <c426d60a-88af-6297-d99b-be9d7ac90661@freebsd.org> References: <c426d60a-88af-6297-d99b-be9d7ac90661@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 21/07/2016 12:42, Matthew Seaman wrote: > Hi, > > Ever since I upgraded to 11.0-BETA1, my tarsnap backups have been > misbehaving. While corresponding with Colin, and trying to diagnose the > problem I discovered that there seems to be a problem with the '..' link > in an automounted snapshot. > > It's easy to reproduce: > > # zfs create zroot/empty > # zfs snapshot zroot/empty@20160721-1011 > > # cd /empty/.zfs/snapshot/20160721-1011 > # stat -f "%N: %HT%SY" \ > /empty /empty/.zfs /empty/.zfs/snapshot \ > /empty/.zfs/snapshot/20160721-1011 . .. > /empty: Directory > /empty/.zfs: Directory > /empty/.zfs/snapshot: Directory > /empty/.zfs/snapshot/20160721-1011: Directory > .: Directory > stat: ..: stat: Not a directory > > This is on: > > # uname -a > FreeBSD lucid-nonsense.infracaninophile.co.uk 11.0-BETA1 FreeBSD > 11.0-BETA1 #2 r302482: Sat Jul 9 15:37:08 BST 2016 This is fixed in 302994. Sorry about the breakage. > root@lucid-nonsense.infracaninophile.co.uk:/usr/obj/usr/src/sys/GENERIC > amd64 > > Attempting the same test on a 10.3-STABLE machine returned '..' as a > directory perfectly happily. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e6e781c4-0a06-6736-d0be-2fb269e5b3fc>