From nobody Tue Oct 03 16:30:06 2023 X-Original-To: freebsd-current@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 4S0NbJ362jz4vhgG for ; Tue, 3 Oct 2023 16:30:20 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-ua1-f46.google.com (mail-ua1-f46.google.com [209.85.222.46]) (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 4S0NbJ11lQz3fMv for ; Tue, 3 Oct 2023 16:30:20 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ua1-f46.google.com with SMTP id a1e0cc1a2514c-7aae07e7ba4so546371241.1 for ; Tue, 03 Oct 2023 09:30:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696350618; x=1696955418; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k79z3CG2c0MULsMMY36oNMqTFSKhLQT2DLrZ8CfqApQ=; b=rwKcT41voWVDRrjAjdDIWb042xoheXE30ZboaAEhGq1hHpbgU4cTAFGn1IvLw+8Sra aLo51iM0eMY8jsANMrLFClmssd5Jet7yGfUG295PY+TGZe+9FWkVmuugERFfOkI6i63l a0UUuM6gC6oDcuX2QcFXj79piHtSnZyTMMsXmzf3+hajpjalpeKEvadtuvE2eBDum32c RpolHDUW/EM8K6O/7lfMStNx/EP5RjCiAFqY16+dh0KC1oqQzZkvZFoOX2ZycztU9aDO 3LJtCMhHKLmn3CHbecDoRz+Pl+6UBqc3ckjb+24CMpRiFVwDowxKOuIGwAFuyhE+/Vjb F+Pg== X-Gm-Message-State: AOJu0Yy1CQI21pQrc19VzIrkPwt2JCvkp3Xl1zttDaUvdwS/Lvmnc7KH 96RgFpZxTGFPuU1pGOPqBl5y4XuNHsChNmNec5E+BNAJ X-Google-Smtp-Source: AGHT+IGgA1s6m3MFoVfXtp1D3zb3vPSNjtIXCyNMg99UP73Ty/SgMqpqow/8d7yzuOA9u2a7fAB45L7tgGoeNaneWlA= X-Received: by 2002:a67:fd72:0:b0:452:6b50:1e7e with SMTP id h18-20020a67fd72000000b004526b501e7emr11492754vsa.35.1696350618483; Tue, 03 Oct 2023 09:30:18 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <3388784.iGCBhfmjSe@ravel> In-Reply-To: From: Alan Somers Date: Tue, 3 Oct 2023 09:30:06 -0700 Message-ID: Subject: Re: something magic about the size of a ports tree To: Matthias Apitz , freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4S0NbJ11lQz3fMv With ZFS, you might be using transparent compression. "du -sh" will show you a file's compressed size. But "ls -lh" will show you the logical size. That's probably why the tarball looked so much bigger than the ports tree on the first system. If you do "du -sh" on the tarball, I bet you'll see a much smaller number. On Tue, Oct 3, 2023 at 9:27=E2=80=AFAM Matthias Apitz wr= ote: > > El d=C3=ADa martes, octubre 03, 2023 a las 06:14:23p. m. +0200, Olivier C= ertner escribi=C3=B3: > > > Hi Matthias, > > > > Some ZFS dataset with zstd compression on jet, and no compression on c7= 20-1400094? > > > > Yes, on jet it is ZFS: > > root@jet:/usr/local/poudriere/ports # mount | grep ports2023 > poudriere/poudriere/ports/ports20230806 on /usr/local/poudriere/ports/por= ts20230806 (zfs, local, noatime, nfsv4acls) > > on c720-1400094 it is only plain UFS. > > matthias > > -- > Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-1= 76-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub >