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

Re: How do I get larg file support?



On Sun, Feb 25, 2001 at 04:01:01PM -0500, Stan Brown wrote:
> On Sun Feb 25 14:33:51 2001 brian moore wrote...
> >
> >On Sun, Feb 25, 2001 at 02:08:38PM -0500, Stan Brown wrote:
> >> Let;s just cut to the chase on this.
> >> 
> >> I need to be able to create, and work with larg files (> 2G) under
> >> Debian Linux.  Secondly I need the moststable system for doing this,
> >> as it will be a production machine.
> >
> >You need many things from 'unstable' (though perhaps most of them are
> >now in 'testing', I haven't looked).
> >
> >The biggies:
> >    a 2.4.x kernel
> >    glibc2.1
> >    lots of little things like the current fileutils, etc
> 
> 	Thanks for the quick reply.
> 
> 	So, it looks like I have 2 choices here (remeber I have already upgraded to
> 	testing).
> 
> 	1. Cahnge ap-get sources to unstable, Take a deep breath, and do apt-get
> 	opgrade.
> 
> 	2. Figure out how to get a 2.4 kerne built on "tetsting"
> 
> 	2b. Find someone who has /debs for 2.4 for "testing"
> 
> 	If I do 1. will I get the 2.4 kernel? 

Nope.

> 	2 Will require me to figure out how to build the Debian way, a kernel for
> 	which I do not hvae .debs, since the 2.4 kerenel is not offered as a choice by
> 	dselect.

Just grab it from kernel.org like usual, and use 'make-kpkg' to make
your own kernel debs.  (I dislike precompiled kernels and all the fluff
they have for hardware I have no interest in -- an no support for
hardware I -am- interested in like my pjbox. :))

> 	So are you saying I could stay with ex2fs? Are you certain of this?

Yes.

[gimli:/doom/bem] 1:10:34pm 130 % dd if=/dev/zero of=FatFile bs=1M
count=3000
3000+0 records in
3000+0 records out
[gimli:/doom/bem] 1:14:49pm 131 % ls -l FatFile 
-rw-------    1 bem      bem      3145728000 Feb 25 13:14 FatFile
[gimli:/doom/bem] 1:14:59pm 132 % cat /proc/filesystems 
nodev   sockfs
nodev   shm
nodev   pipefs
nodev   proc
        ext2
        iso9660
nodev   autofs
nodev   nfs
nodev   devpts
nodev   usbdevfs

A nice fat 3G file of zeros.... and it's on e2fs.

> >> How do I go about seting up a machine to do this?
> >
> >See above.    It works fine on 'unstable', and probably works on 'testing'
> >if you upgrade the kernel to 2.4.
> 
> 	Got a pointer to how to compile a 2.4 kernel, the Debian wya, on "testing"?

Get kernel source from kernel.org, untar, cd linux, make
(menu|x)?config, fakeroot make-kpkg --revision Custom.1 binary, dpkg -i
../kernel-image-whatever, reboot. :)

-- 
CueCat decoder .signature by Larry Wall:
#!/usr/bin/perl -n
printf "Serial: %s Type: %s Code: %s\n", map { tr/a-zA-Z0-9+-/ -_/; $_ = unpack
'u', chr(32 + length()*3/4) . $_; s/\0+$//; $_ ^= "C" x length; } /\.([^.]+)/g; 



Reply to: