🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #55656

Re: Size issues - swap - disk

#55656
From: Dimitri Maziuk
Date: Mon, 19 May 1997 00:00
25 lines
1406 bytes
Bryan Palmer wrote:
> 
> Just a quickie for a linux guru. Is there a max swap partition size?
> Also, is there a max hard disk size?

Yes to both.  AFAIK, in linux-1.2.13 a swap partition or file 
could hold 4086*8-1 memory pages of 4 kb.  I seem to remember 
that number of swap files/partitions was then limited to 64.  
Of course it's different on 64 bit boxes -- I don't own an Alpha :-( 
but page size on that is 8 kb.
Use The Source to find current values: asm/page.h, mm/swap.c.

I don't remember what's max filesystem size for ext2, max file
size is 2 Gb I think (but they're working on it.)  Also, there 
should be a limit on max number of mounted filesystems...  
wild guess: say, 1.83E8 filesystems and half that many files
of 2 Gb in a filesystem on x86, if we use unsigned int and all
files are in the root directory...

-- 
Dimitri
emaziuk at curtin dot edu dot au
--------------------------------
Entia non sunt multiplicanda praeter necessitatem
Technical Details
Message-ID: <337F5E20.2E8D8DC0@eris.dev.null>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <337fcf88.327858@newshost.pcug.org.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,853bb77c7da5f4e2
X-Google-Attributes: gid102983,public
From: Dimitri Maziuk <dima@eris.dev.null>
Subject: Re: Size issues - swap - disk
Date: 1997/05/19
Message-ID: <337F5E20.2E8D8DC0@eris.dev.null>
X-Deja-AN: 242291394
References: <337fcf88.327858@newshost.pcug.org.au>
Organization: Legion of Static Discord
Newsgroups: aus.computers.linux