GNU bug report logs -
#24813
Du Maximum files?
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24813 in the body.
You can then email your comments to 24813 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#24813
; Package
coreutils
.
(Fri, 28 Oct 2016 06:01:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Benny D. Miller Jr." <w4qed <at> cfl.rr.com>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Fri, 28 Oct 2016 06:01:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#24813
; Package
coreutils
.
(Fri, 28 Oct 2016 07:28:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 24813 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#24813
; Package
coreutils
.
(Sun, 28 Oct 2018 07:12:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 24813 <at> debbugs.gnu.org (full text, mbox):
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
Added tag(s) moreinfo.
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sun, 28 Oct 2018 07:12:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
24813 <at> debbugs.gnu.org and "Benny D. Miller Jr." <w4qed <at> cfl.rr.com>
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sun, 28 Oct 2018 07:12:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 25 Nov 2018 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 207 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.