From unknown Sat Jun 21 03:22:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24813 <24813@debbugs.gnu.org> To: bug#24813 <24813@debbugs.gnu.org> Subject: Status: Du Maximum files? Reply-To: bug#24813 <24813@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:22:48 +0000 retitle 24813 Du Maximum files? reassign 24813 coreutils submitter 24813 "Benny D. Miller Jr." severity 24813 normal tag 24813 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 28 02:00:42 2016 Received: (at submit) by debbugs.gnu.org; 28 Oct 2016 06:00:43 +0000 Received: from localhost ([127.0.0.1]:33063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c00Da-0003oc-Co for submit@debbugs.gnu.org; Fri, 28 Oct 2016 02:00:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c009O-0003gv-Oz for submit@debbugs.gnu.org; Fri, 28 Oct 2016 01:56:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c009I-0003AV-L7 for submit@debbugs.gnu.org; Fri, 28 Oct 2016 01:56:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,HTML_MESSAGE, RCVD_IN_SORBS_SPAM, T_REMOTE_IMAGE, WEIRD_PORT autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51535) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c009I-0003AM-HV for submit@debbugs.gnu.org; Fri, 28 Oct 2016 01:56:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c009H-0003wK-06 for bug-coreutils@gnu.org; Fri, 28 Oct 2016 01:56:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c009D-00037s-Qw for bug-coreutils@gnu.org; Fri, 28 Oct 2016 01:56:15 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.232]:42713 helo=cdptpa-oedge-vip.email.rr.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c009D-00035x-LX for bug-coreutils@gnu.org; Fri, 28 Oct 2016 01:56:11 -0400 Received: from [72.238.98.121] ([72.238.98.121:61169] helo=[127.0.0.1]) by cdptpa-omsmta02 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id A1/E3-30921-878E2185; Fri, 28 Oct 2016 05:56:08 +0000 From: "Benny D. Miller Jr." To: bug-coreutils@gnu.org Subject: Du Maximum files? Date: Fri, 28 Oct 2016 05:56:07 +0000 Message-Id: User-Agent: eM_Client/7.0.26557.0 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------=_MBEA06694B-4332-437A-8B58-6A01041CEF99" X-Antivirus: avast! (VPS 161027-2, 10/27/2016), Outbound message X-Antivirus-Status: Clean X-RR-Connecting-IP: 107.14.168.7:25 X-detected-operating-system: by eggs.gnu.org: BaiduSpider X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 28 Oct 2016 02:00:41 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "Benny D. Miller Jr." Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) --------=_MBEA06694B-4332-437A-8B58-6A01041CEF99 Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I am not so sure that this is a bug but a limitation. I am using "du" for a disk file listing/usage in the command: du --all --time --human-readable --apparent-size $1; printf "Total number of files: "; find $1 -type f | wc -l; But it seems to maximum out the file count to 38341 So I am thinking that this is a limitation to the counter in "wc"? Just to let you know I have a script that takes a picture every minute and stores it to a 1TB HD and deletes anything older than 31 days. Total file count should be near 2,678,400 files. 73, Ben ARS w4qed http://w4qed.hamshack.info:8080 on a RPi 3 http://w4qed.hamshack.info:8008 on same RPi 3 APRS in Java YAAC http://w4qed.hamshack.info:8086 on same RPi 3 Home Automation - down right now https://w4qed.wordpress.com Blog - Articles. and also same RPi 3 is used as a miniDLNA media server. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus --------=_MBEA06694B-4332-437A-8B58-6A01041CEF99 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

 I am not s= o sure that this is a bug but a limitation. I am using "du" for a disk file= listing/usage in the command:

du --all --time --h= uman-readable --apparent-size $1;
printf "Total number of files: "; &nbs= p;find $1 -type f | wc -l;

But it seems to max= imum out the file count to 38341

 So I a= m thinking that this is a limitation to the counter in "wc"?

=
 Just to let you know I have a script that takes a picture = every minute and stores it to a 1TB HD and deletes anything older than 31 d= ays.
Total file count should be near 2,678,400 files.
<= br>
73,
Ben ARS = w4qed
http://w4qed.hamshack.info:8086 on same RPi 3 Home= Automation - down right now
https://w4qed.wordpress.com Blog - Articles.
and als= o same RPi 3 is used as a miniDLNA media server.

=




3D"Avast

This email has been checked for viruses by Avast antivirus software.
www.avast.= com


--------=_MBEA06694B-4332-437A-8B58-6A01041CEF99-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 28 03:27:10 2016 Received: (at 24813) by debbugs.gnu.org; 28 Oct 2016 07:27:10 +0000 Received: from localhost ([127.0.0.1]:33102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c01ZF-0005oX-Or for submit@debbugs.gnu.org; Fri, 28 Oct 2016 03:27:09 -0400 Received: from mailgw1.uni-kl.de ([131.246.120.220]:33218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c01ZD-0005oN-BC for 24813@debbugs.gnu.org; Fri, 28 Oct 2016 03:27:07 -0400 Received: from sushi.unix-ag.uni-kl.de (sushi.unix-ag.uni-kl.de [IPv6:2001:638:208:ef34:0:ff:fe00:65]) by mailgw1.uni-kl.de (8.14.4/8.14.4/Debian-8+deb8u1) with ESMTP id u9S7R2Q3017254 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 28 Oct 2016 09:27:02 +0200 Received: from sushi.unix-ag.uni-kl.de (ip6-localhost [IPv6:::1]) by sushi.unix-ag.uni-kl.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id u9S7R2QC030355 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 28 Oct 2016 09:27:02 +0200 Received: (from auerswal@localhost) by sushi.unix-ag.uni-kl.de (8.14.4/8.14.4/Submit) id u9S7R114030354; Fri, 28 Oct 2016 09:27:01 +0200 Date: Fri, 28 Oct 2016 09:27:01 +0200 From: Erik Auerswald To: "Benny D. Miller Jr." Subject: Re: bug#24813: Du Maximum files? Message-ID: <20161028072701.GA29610@unix-ag.uni-kl.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 24813 Cc: 24813@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.7 (---) Hi Ben, On Fri, Oct 28, 2016 at 05:56:07AM +0000, Benny D. Miller Jr. wrote: > I am not so sure that this is a bug but a limitation. I am using > "du" for a disk file listing/usage in the command: > > du --all --time --human-readable --apparent-size $1; You did not specify any problems with the above line pertaining to "du". > printf "Total number of files: "; find $1 -type f | wc -l; The above line does not relate to "du", but to "find" and "wc". > But it seems to maximum out the file count to 38341 > > So I am thinking that this is a limitation to the counter in "wc"? I don't think so. You can easily check wc's counter by generating known input, e.g. as follows: $ yes | head -n80000 | wc -l 80000 $ yes | head -n2678400 | wc -l 2678400 > Just to let you know I have a script that takes a picture every > minute and stores it to a 1TB HD and deletes anything older than 31 > days. > Total file count should be near 2,678,400 files. For some random directory I find the following: $ find . -type f | wc -l 124168 I do not see the limit you observed. Best regards, Erik -- Be water, my friend. -- Bruce Lee From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 28 03:11:56 2018 Received: (at 24813) by debbugs.gnu.org; 28 Oct 2018 07:11:56 +0000 Received: from localhost ([127.0.0.1]:46371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGfEq-0001Oa-2k for submit@debbugs.gnu.org; Sun, 28 Oct 2018 03:11:56 -0400 Received: from mail-it1-f174.google.com ([209.85.166.174]:36547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGfEn-0001OF-Un; Sun, 28 Oct 2018 03:11:54 -0400 Received: by mail-it1-f174.google.com with SMTP id h14-v6so6140503itf.1; Sun, 28 Oct 2018 00:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=fR4GuZY4xeBCGJAYjfY4oLGEAiHQE2YMMPSPib30biM=; b=Q2QbVVLbBT7dFJf7/y2gkJzS5vzKYQPWKGRWQcrYwtVApFDElnANBAeTKZwCvNSKGO RLZ/Y+blw+vvxt9oF4ozZdTUuAw6XcEW6dDkM63/3OmLhcdwUHPoDOM42BmjW0dNmUrm xr/+ncFFpsjtxZOk9ogE8RtZyRyB/QqfsNGqoxJ+ybyYSMm/tARHmDxhWdAx6mB8+cCz LQlwvlILgRxfe2RJ6ArSSHAPrr/F4qwTfpL1+0OPwH8cTj/PkMPoTGOMl6n5Oeof/t0S xNir5z+uqsp694GfbJg3XnLd1E7VizM1d1ASlvldKjHyskSTMp1ZagFqKpbjzsRFwuVj hUcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=fR4GuZY4xeBCGJAYjfY4oLGEAiHQE2YMMPSPib30biM=; b=HtDZNATqLyCtka+PuMUEO05gjxl36iQ2CRBuP9qO/5ETEZgmTCDz6Ci7EbORIfAQYS RTG8EomVB7aDA/zbPYSSgQsyKjzmGDb8Cildpm3g9JDpPJlEFbmaIYFVlo9MU8yq0cAj xg8/4nc3PeTSM5nFJyTm0MSJrpfu/YYzb9rAWo/S9SXX5XqFMesaiWOkAgLihjKAojU0 s1APOIL9iDAVwCNyozy2Zp9g6Ws2cmfgtBXjInvk3/RogaZ/dTddLucebwe6CsG1vEte GsX3pzMZFkbRkJbRi9aJBarUdD4xF5TcQA7LI7L3WUEF4hlMfhBVzjsivYzzwHd+F2Zc Ef9A== X-Gm-Message-State: AGRZ1gJ5ZFy4MX20zViCmFDoUzPnPgQM3Akq3CWHvMtvSWQW1cc5VCSe 9W4EztAcNdlbtZDRenIWy1S03QlNviQ= X-Google-Smtp-Source: AJdET5ciLgboIc2lyOgHixV20mvqVqpb1lv9DXWYR0cz/hGmOldUFyBHyRxhvuD51RidUxgE1rYrxQ== X-Received: by 2002:a24:d086:: with SMTP id m128-v6mr977342itg.13.1540710707850; Sun, 28 Oct 2018 00:11:47 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id q205-v6sm5497174itc.2.2018.10.28.00.11.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Oct 2018 00:11:46 -0700 (PDT) Subject: Re: bug#24813: Du Maximum files? To: 24813@debbugs.gnu.org References: <20161028072701.GA29610@unix-ag.uni-kl.de> From: Assaf Gordon Message-ID: Date: Sun, 28 Oct 2018 01:11:45 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20161028072701.GA29610@unix-ag.uni-kl.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 24813 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 24813 moreinfo close 24813 stop (triaging old bugs) On 2016-10-28 1:27 a.m., Erik Auerswald wrote: > On Fri, Oct 28, 2016 at 05:56:07AM +0000, Benny D. Miller Jr. wrote: >> I am not so sure that this is a bug but a limitation. I am using >> "du" for a disk file listing/usage in the command: >> >> du --all --time --human-readable --apparent-size $1; > > You did not specify any problems with the above line pertaining to "du". > >> printf "Total number of files: "; find $1 -type f | wc -l; > > The above line does not relate to "du", but to "find" and "wc". > >> But it seems to maximum out the file count to 38341 >> >> So I am thinking that this is a limitation to the counter in "wc"? > > I don't think so. You can easily check wc's counter by generating known > input, e.g. as follows: > > $ yes | head -n80000 | wc -l > 80000 > $ yes | head -n2678400 | wc -l > 2678400 > [....] > I do not see the limit you observed. With no follow-ups in 2 years, I'm closing this bug. Discussion can continue by replying to this thread. -assaf From unknown Sat Jun 21 03:22:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 25 Nov 2018 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator