Re: ls on ZFS showing unexpected directory content

From: Michael Schuster <michaelsprivate_at_gmail.com>
Date: Mon, 12 Sep 2022 09:23:53 UTC
On Mon, Sep 12, 2022 at 11:19 AM Michael Gmelin <grembo@freebsd.org> wrote:
>
> Hi,
>
> Situation:
> - shell is bash
> - Root container mounted on zroot
> - extra container mounted on /extracontainer, on USB drive which spins
>   down on idle
> - cd /extracontainer
> - cd subdir (takes a while, as drive has to spin up - getting bored,
>   hitting CTRL-C)
> - prompt still shows /extracontainer, but `ls` now shows content of
>   /extracontainer/subdir
> - cd .. && cd extracontainer
> - Now `ls` shows content of /extracontainer
>
> Expected behavior?

on the face of it, this looks as if the shell's prompt wasn't being
updated. What do '/bin/pwd' and builtin 'pwd' print?

For completeness: which version of FreeBSD?

regards
Michael

>
> Thanks
> Michael
>
> --
> Michael Gmelin
>


-- 
Michael Schuster
http://recursiveramblings.wordpress.com/
recursion, n: see 'recursion'