[plug] What is the maximum file size allowed under Unix

Phillip Steege psteege at tpg.com.au
Thu Aug 2 16:45:41 WST 2001


Thanks for all the inputs.
I will check some of these out on my spare drive.

Phil


On Wed,  1 Aug 2001 20:57, Carl Gherardi wrote:
> On Wed, 1 Aug 2001 psteege at tpg.com.au wrote:
> > Is there an upper limit (maximum size) that a single file in a Unix
> > directory can be, or is the size of the disk drive the limit?
> > Also what is the maximum number of files that one directory can hold?
> >
> > Regards
> > Phil
>
> It depends.
>
> Maximun file size is determined by the default block size.
>
> If using: ls -sal : your directory size is 4096 then your maximum file
> size is 2G.
>
> I dont know about a maximum number of files for a directory, but i do
> remember an article a while back talking about the accidental creation of
> 65536 files in a directory bringing the system to a crawl. (Article was
> discussing the advantages of journaling file systems)
>
> Carl



More information about the plug mailing list