Slashdot Mirror


Large File Problems in Modern Unices

david-currie writes "Freshmeat is running an article that talks about the problems with the support for large files under some operating systems, and possible ways of dealing with these problems. It's an interesting look into some of the kinds of less obvious problems that distro-compilers have to face."

7 of 290 comments (clear)

  1. Re:Why large files by voodoopriestess · · Score: 3, Informative

    Databases, Movie files, Backup files (think dumps to tapes). Animations, 3D modelling.... Lots of things need a > 2GB file size. Iain

    --
    ---- "I would be careful in separating your weirdness, a good quirky quantum weirdness, from the disturbed weirdnes
  2. Re:Why large files by hbackert · · Score: 4, Informative

    vmware uses files as virtual disks. 2GB would be a really, really small disk. UML does the same, using the loop device feature of Linux. Again, a filesystem in a file. Again, 2GB is not much. Simulating 20GB would need 10 files.

    Feels like 64kbyte segments somehow...and I really don't want to have those back.

  3. It will happen with time_t, too by wowbagger · · Score: 5, Informative

    We are seeing problems with off_t growing from 32 to 64 bits. We are also going to see this when we start going to a 64 bit time_t, as well (albeit not as badly - off_t is probably used more than time_t is.)

    However, the pain is coming - remember we have only about 35 years before a 64 bit time_t is a MUST.

    I'd like to see the major distro venders just "suck it up" and say "off_t and time_t are 64 bits. Get over it."

    Sure, it will cause a great deal of disruption. So did the move from aout to elf, the move from libc to glibc, etc.

    Let's just get it over with.

  4. Funny...in AIX... by cshuttle · · Score: 4, Informative

    We don't have this problem-- 4 petabyte maximum file size 1 terabyte tested at present http://www-1.ibm.com/servers/aix/os/51spec.html

  5. Re:BeOS Filesystem by Yokaze · · Score: 4, Informative

    Mine is bigger than yours :)

    Linux XFS: 9 exabytes

    Also supports extended attributes.

    --
    "Between strong and weak, between rich and poor [...], it is freedom which oppresses and the law which sets free"
  6. Re:Only 35 years... by Dan+Ost · · Score: 3, Informative

    For most programs, it would require little more
    than to change the typedef that defines __time_t
    in bits/types.h.

    For stupidly written programs that assume the
    size of __time_t or that use __time_t in unions,
    each will need to be addressed individually to
    make sure things still work correctly.

    --

    *sigh* back to work...
  7. The "l" in lseek() by edhall · · Score: 3, Informative

    Once upon a time (prior to 1978) there was no lseek() call in Unix. The value for the offset was 16 bits . Larger seeks were handled by using the different value for "whence" (the third argument to seek()) which causes seeks to occur in 512-byte increments. This resulted in a maximum seek of 16,777,216 bytes, with an arbitrary seek() often requiring two calls, one to get to the right 512-byte block and a second to get to the right byte within the block. (Thank goodness they haven't done any such silliness to break the 2GB barrier.)

    When Research Edition 7 Unix came out, it introduced lseek() with a 32-bit offset. 2,147,483,648 bytes should be enough for anyone, hmmm? :-).

    -Ed