Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2017 19:15:14 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        lev@FreeBSD.org, freebsd-fs@FreeBSD.org
Subject:   Re: Strange behavior of .zfs/snapshot/* directories in respect to ".." path.
Message-ID:  <abc8d5c8-41e4-03f8-31cb-918747467b29@FreeBSD.org>
In-Reply-To: <1acc5917-f10f-b18a-50e0-84661173e85d@FreeBSD.org>
References:  <1acc5917-f10f-b18a-50e0-84661173e85d@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26/05/2017 17:19, Lev Serebryakov wrote:
> 
>  I have some filesystem with multiple snapshots. And behavior of "cd .."
> in snapshot directories is very strange: when I'm in one of dnapshot
> directories "cd ../other" doesn't work and "cd .." brings me to the root
> of file system.
> 
> $ pwd
> /usr/home/lev
> $ cd .zfs/snapshot
> $ pwd
> /usr/home/lev/.zfs/snapshot
> $ ls | tail -2
> weekly-2017-05-06_05.17.18--1y
> weekly-2017-05-13_04.18.37--1y
> $ cd weekly-2017-05-06_05.17.18--1y
> $ pwd
> /usr/home/lev/.zfs/snapshot/weekly-2017-05-06_05.17.18--1y
> $ cd ../weekly-2017-05-13_04.18.37--1y
> ../weekly-2017-05-13_04.18.37--1y: No such file or directory.
> $ pwd
> /usr/home/lev/.zfs/snapshot/weekly-2017-05-06_05.17.18--1y
> $ cd ..
> $ pwd
> /usr/home/lev
> $ uname -i -K -v
> FreeBSD 11.1-PRERELEASE #16 r318576: Sat May 20 22:30:06 MSK 2017
> root@blob.home.serebryakov.spb.ru:/usr/obj/usr/src/sys/BLOB  BLOB 1100513
> $
> 
>  Is it Ok?

This is not okay, obviously.
But I can not reproduce it so far.


-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?abc8d5c8-41e4-03f8-31cb-918747467b29>