From nobody Wed Jul 13 20:07:12 2022 X-Original-To: bugs@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 8FF691D25BA6 for ; Wed, 13 Jul 2022 20:07:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LjpYr2DRfz3CGb for ; Wed, 13 Jul 2022 20:07:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LjpYr15CTzcN0 for ; Wed, 13 Jul 2022 20:07:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26DK7Ck7015686 for ; Wed, 13 Jul 2022 20:07:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26DK7CC6015685 for bugs@FreeBSD.org; Wed, 13 Jul 2022 20:07:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: =?UTF-8?B?W0J1ZyAyNjUyMDBdIGR1IC1hdCBicm9rZW4g4oCTIGZpbHRlcnMg?= =?UTF-8?B?b3V0IG9ubHkgZGlyZWN0b3JpZXMsIG5vdCBhbGwgZmlsZXM=?= Date: Wed, 13 Jul 2022 20:07:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: nabijaczleweli@nabijaczleweli.xyz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657742832; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FG9b3gEG0PVY4w+DSWVv6R1H4rZOSMfVGW2V0gB2SiI=; b=bJZmBUPJ76iXLNBSENqpG+elwJ3lilxNy/ZhKXgL0EyCV6gUscWsX1kB5zW4SxM3g+3cXA +QOyUWZe/JM9fYbSoE7u8NgO4U/Vc/4QEkiuZ9ekJaveEk3iJI8gGcb/gVEjRgBwG9De2H 9l/ccIzaZ/18TvGlcpODNuAWLWk6OjApuhQREILBcObGjLajPEOy8gD+JbBkoWlv2jOAPw cE7GEebFEF7OjtCkbyhCN2MzUBy2vMxOehwHgbRnOUd38eO/lHn0m6L6ZA3K60x7y+d0CU Spt67sGdVXgwBtfLJmG/O5elb6SmH6RPQiZE7uSde5jw/FmeeKDSgPtHPi2Iew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657742832; a=rsa-sha256; cv=none; b=O5bBH8ELW0y47jlY372QF8UY3qdifyjmHBy1o6uo+A+0yxVmsEFwHyyhXQfMwUHGrTMOc3 G0+5W1UhWx1HTZbRSX7zcOHBTi2hWzxyIwHUAtCCOKxFHpPvKukRocQY/p9d3/IVS/cShI 2lhA6Bcs0UxUr2r28aoNhwflpz8mgsMHBW0VhWfOIRY5NKYlZBFmAYVdiIhnVi8is3Lv6w O7MJWbTLSKrHQU6JOY54b7FCUoIf26mHmECqpZwiGLikPbyG0ohin9xT290ehPUBMLiCe4 Ws6XNgaoUJ8XVmEdY9TYzIdQ/sh9VpC9BqPljsBDomBybHA2ntBDJzhQE3+JSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265200 Bug ID: 265200 Summary: du -at broken =E2=80=93 filters out only directories, n= ot all files Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: nabijaczleweli@nabijaczleweli.xyz Consider the following: root@freebsd:/bin # du -h -d1 -t 200000000 /usr 275M /usr/bin 992M /usr/lib 478M /usr/local 296M /usr/lib32 2.2G /usr root@freebsd:/bin # du -h -d1 -t -200000000 /usr 27M /usr/include 40K /usr/libdata 3.6M /usr/libexec 19M /usr/sbin 110M /usr/share 96M /usr/tests 144K /usr/home This is correct. However: root@freebsd:/bin # du -aht 20000000 16K ./cat 12K ./chflags 20K ./chio 12K ./chmod 24K ./cp 24K ./date 32K ./dd 16K ./df 8.0K ./domainname 8.0K ./echo 52K ./ed 24K ./expr 4.0K ./freebsd-version 12K ./getfacl 8.0K ./hostname 8.0K ./kenv 12K ./kill 12K ./ln 36K ./ls 8.0K ./mkdir 16K ./mv 104K ./pax 20K ./pkill 48K ./ps 12K ./pwait 8.0K ./pwd 8.0K ./realpath 16K ./rm 8.0K ./rmdir 24K ./setfacl 160K ./sh 8.0K ./sleep 24K ./stty 8.0K ./sync 16K ./test 12K ./uuidgen 76K ./rmail 448K ./csh 0B ./ksh root@freebsd:/bin # du -aht -20000000 16K ./cat 12K ./chflags 20K ./chio 12K ./chmod 24K ./cp 24K ./date 32K ./dd 16K ./df 8.0K ./domainname 8.0K ./echo 52K ./ed 24K ./expr 4.0K ./freebsd-version 12K ./getfacl 8.0K ./hostname 8.0K ./kenv 12K ./kill 12K ./ln 36K ./ls 8.0K ./mkdir 16K ./mv 104K ./pax 20K ./pkill 48K ./ps 12K ./pwait 8.0K ./pwd 8.0K ./realpath 16K ./rm 8.0K ./rmdir 24K ./setfacl 160K ./sh 8.0K ./sleep 24K ./stty 8.0K ./sync 16K ./test 12K ./uuidgen 76K ./rmail 448K ./csh 0B ./ksh 1.3M . I'd expect at least one of these to produce 0 output, but both of them outp= ut everything. du(1) says: -t threshold Display only entries for which size exceeds threshold. If threshold is negative, display only entries for which size is less than the absolute value of threshold. explicitly mentioning "entries", not just directories (coreutils du, where = -t originates, handles this as expected). --=20 You are receiving this mail because: You are the assignee for the bug.=