unlink and big files

Discussion in 'Perl Misc' started by Ruben van Engelenburg, Nov 8, 2003.

  1. Hi all,

    I'm using unlink in a script to purge old backup files (tarballs).
    Now perl returns an error when it tries to unlink one of those files:

    "Value too large for defined data type"

    The tarballs are pretty big; over 2 GB. Does this mean unlink doesn't
    support large files like that? Is this a bug? And what can I do about it?

    I'm using perl 5.6.0 on Linux.
    Thanks in advance.

    Regards,
    Ruben.
    Ruben van Engelenburg, Nov 8, 2003
    #1
    1. Advertising

  2. Mike Flannigan wrote:

    > A Google search will produce a ton of pages discussing this
    > issue. Here are just a few:
    > http://www.ussg.iu.edu/hypermail/linux/kernel/0108.1/1440.html
    > http://www.redhat.com/archives/redhat-list/2002-July/msg00442.html
    > http://sources.redhat.com/ml/bug-gnu-utils/2000-02/msg00108.html
    >
    > Apparently it is not Perl related.


    Hi Mike,

    Thanks for the reply. I'll go look somewhere else for an answer to
    solve this, since it turns out to be not Perl related indeed.

    Regards,
    Ruben.
    Ruben van Engelenburg, Nov 9, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Shaguf
    Replies:
    0
    Views:
    320
    Shaguf
    Dec 24, 2008
  2. Shaguf
    Replies:
    0
    Views:
    423
    Shaguf
    Dec 26, 2008
  3. Shaguf
    Replies:
    0
    Views:
    211
    Shaguf
    Dec 26, 2008
  4. Shaguf
    Replies:
    0
    Views:
    194
    Shaguf
    Dec 24, 2008
  5. Prasanth

    Unlink command for opened files

    Prasanth, Apr 16, 2008, in forum: Perl Misc
    Replies:
    8
    Views:
    161
    Ben Morrow
    Apr 16, 2008
Loading...

Share This Page