From nobody Mon Sep 12 09:23:53 2022 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MR1Pf2QMfz4c05P for ; Mon, 12 Sep 2022 09:24:06 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MR1Pd4kCwz3ZbC; Mon, 12 Sep 2022 09:24:05 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-il1-x12a.google.com with SMTP id y15so4215760ilq.4; Mon, 12 Sep 2022 02:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=6i0TI1bXxHrw6xubBTyoDV9G6NQPRUWa55wXuXsSaH4=; b=QAXxm2tCNFsNyQ5IKYcP2pDgXTdxXb//CiavVX6TWA/qxIlovEbEGvRCxy7B694hy0 R9zcXRVIfvq23TlonfjBFmqVUemAL02poQ706NlYsJvmmRmdlBaEsvwzmi+DzBgt4qPc cfomDOOv08k3VOrD487aMXuiKOdg+FyTHpOcuffb3kLeYSJie6aToN9GSvImycE/jvm7 PzgJua9c/TuI39ivIHDS8VbKN1H02X7P/webSCylFTcrTJOoQvh91MQ70XEB5qi9bGWc BmsAC75F/IvDl96iZ3nO7/XxhgJ6qYgKvnmfd62xAn3ii4sOAUrHKvP/iQG+HPmCuh1u 0Xtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=6i0TI1bXxHrw6xubBTyoDV9G6NQPRUWa55wXuXsSaH4=; b=sgqxF92yBE+Qaf+kcWhg59Zxm91qRs6ZdxKZb8cRiYMqeNYdoOko6uLQgNQmFsf6KJ QJsbSb1T4ZnZrJpbGA/Uteq4aeRQ5rcRW2kCz2TGpDLS7cMLiKgj0wopbnIZd8T9izns 39flHk7+oOP+QKGF33+cbHjLXUMhePmK9cQsNgNXKX0GSRqcCzs+FL0iTysQBydELiJ+ 2IuUC/VTZVAkVTaCiRfh3BzJs0MlgSQip1JSMfxcGZiZ93pxXdUQHyIGrQI5D5WfHsEu BSRMxWWCZHavE5kXN6rL8Fsk1QHsd/bQvKoGmla1IYJAB5T8mnYcAI6GrjWwiY3s2ObF i15w== X-Gm-Message-State: ACgBeo06wSzSrnpF3Hz4VTjcgveRQjVJt9bn2dmGbMRkAmuDjKlVUNSh WZibvbRdlZbGTEQr8aNB6LYa62Vz3kpndIp1pfDs57Yp7bOxAA== X-Google-Smtp-Source: AA6agR6v9VS2pK4ERgza9QCFN2rQ0qlt9vnt6r8pq6g0KpxqL9xSjiOmzR4jBLH+W+G1H4Y9vIeBeWgae90SSHQfEKw= X-Received: by 2002:a92:da10:0:b0:2ea:e432:99cf with SMTP id z16-20020a92da10000000b002eae43299cfmr10125005ilm.99.1662974644386; Mon, 12 Sep 2022 02:24:04 -0700 (PDT) List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 References: <20220912111915.12a90106.grembo@freebsd.org> In-Reply-To: <20220912111915.12a90106.grembo@freebsd.org> From: Michael Schuster Date: Mon, 12 Sep 2022 11:23:53 +0200 Message-ID: Subject: Re: ls on ZFS showing unexpected directory content To: Michael Gmelin Cc: freebsd-fs@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4MR1Pd4kCwz3ZbC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=QAXxm2tC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of michaelsprivate@gmail.com designates 2607:f8b0:4864:20::12a as permitted sender) smtp.mailfrom=michaelsprivate@gmail.com X-Spamd-Result: default: False [-3.91 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.993]; NEURAL_HAM_MEDIUM(-0.92)[-0.917]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12a:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On Mon, Sep 12, 2022 at 11:19 AM Michael Gmelin 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'