bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error message " Value too large to be stored in data type"


From: Bob Lebherz[Contr]
Subject: error message " Value too large to be stored in data type"
Date: Wed, 28 Apr 2004 14:31:35 -0400

This message shows up as I try to get find listings using the -printf or -fprintf options.
The messages are as follows:

# /usr/local/bin/find . -ls
1696726496    1 drwxr-xr-x   2 rabowa   lmb          1024 Jul 28  2002 .
/usr/local/bin/find: ./cat.tar: Value too large to be stored in data type
# ls -al
total 540688
drwxr-xr-x   2 rabowa     lmb           1024 Jul 28  2002 .
drwxr-xr-x  20 rabowa     lmb           3072 Mar 31 14:06 ..
-rw-r--r-T   1 rabowa     lmb        2214635520 Jul 28  2002 cat.tar
# /usr/local/bin/find . -printf "%p\n"
.
./cat.tar
# /usr/local/bin/find . -printf "%8u %8g %14k\n";
  rabowa      lmb              1
/usr/local/bin/find: ./cat.tar: Value too large to be stored in data type
#  /usr/local/bin/find . -printf "%8u\n";
  rabowa
/usr/local/bin/find: ./cat.tar: Value too large to be stored in data type
# /usr/local/bin/find . -printf "%8g\n"
     lmb
/usr/local/bin/find: ./cat.tar: Value too large to be stored in data type
# /usr/local/bin/find . -printf "%20g\n"
                 lmb
/usr/local/bin/find: ./cat.tar: Value too large to be stored in data type

# ls -l
total 540684
-rw-r--r-T   1 rabowa     lmb        2214635520 Jul 28  2002 cat.tar

With more testing, it appears that the file size specifications are too small. The largest file listed using the %k option was 9998 or ~10GBs. I am trying to chase down through the code to find where this is printed but it is going slow. Any suggestions or workarounds would be appreciated. Whether I use -ls or %s, I get the same error message on files
> 10GB.

Bob

==========================================
Bob Lebherz [Contractor]
National Cancer Institute
Frederick Cancer Research and Development Center
PO#B  Bldg 430  Miller Drive
Frederick, MD  21702
(301)-846-5771
==========================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]