Re: sfill tool fails with filesize limit exceeded
From: User Vatazhka (vatazhka.mail.ru@localhost.localdomain)
Date: 01/20/03
- Previous message: Mark Schlegel: "Re: sfill tool fails with filesize limit exceeded"
- In reply to: Mark Schlegel: "Re: sfill tool fails with filesize limit exceeded"
- Next in thread: Steve Watt: "Re: sfill tool fails with filesize limit exceeded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: User Vatazhka <vatazhka.mail.ru@localhost.localdomain> Date: Mon, 20 Jan 2003 04:09:27 +0100
> > > So how can this be resolved (Red Hat linux 7.3, kernel 2.4.18-3),
> > > does this mean I have to recompile the kernel for large file
> > > support?
> > Which filesystem on which architecture are you using?
> ext3 on i386 Linux (the exact cpu is Athlon XP)
Well, you didn't RTFM, right? :/ Go into the kernel source directory and
read the file Documentation/filesystems/ext2.txt (ext3 is basically ext2
with journalling) for explanations, look for the section called
"Limitations". Most likely you have 4-kilobyte filesystem blocks, the
maximum file size will be 2 terabytes then. Therefore it's obvious the
kernel itself always supports large files with ext2/ext3 (ie. there's no
need to enable LFS).
The only problem is the userspace code. Examine /usr/include/features.h
for relevant macros. You may have to add "-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64" to your CFLAGS and recompile. If it's coded
correctly it should work; I haven't tried it though. After all, I'm
comfortable with dd & shred...
- Next message: Router Man: "Re: PIX DHCP/Failover boot issue"
- Previous message: Mark Schlegel: "Re: sfill tool fails with filesize limit exceeded"
- In reply to: Mark Schlegel: "Re: sfill tool fails with filesize limit exceeded"
- Next in thread: Steve Watt: "Re: sfill tool fails with filesize limit exceeded"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|