|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Max number of files in folder
Is there a limit on number of files in a folder on CentOS distribution?
|
|
#2
|
|||
|
|||
|
It depends on the filesystem you use and the amount of space you have on your hard disk drive. On an average ReiserFS filesystem the limit is something around 4 billion files which is more than what any user would use up in most cases.
In Unix, a directory contains a name and a inode number for every file in it. If we say that a typical file name is 20 bytes long together with 4 bytes for the inode, then we can get 2147483648 /24 = 89,478,485 files in a directory. With smaller file names, you could up that a bit. Hope this helps |
|
#3
|
|||
|
|||
|
I suspect you'll be happier if you design things so you don't need to worry about the answer to your question
![]()
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Max number of files in folder |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|