LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to limit max. number of folder can be created inside a folder (https://www.linuxquestions.org/questions/linux-general-1/how-to-limit-max-number-of-folder-can-be-created-inside-a-folder-4175471395/)

Winanjaya 07-29-2013 10:47 PM

How to limit max. number of folder can be created inside a folder
 
Hello All,

I am running Centos 6.4 (64bits), How to limit max. number of folder can be created inside a folder?

Please help

Thanks & Regards
Winanjaya

SAbhi 07-30-2013 12:06 AM

What is the need of limiting the subdirs inside a dir ? Most people have need to limit the no. of files created as some of their applications are producing log/output files frequently. Did you have a similar issue of dir creation ?
I am asking this because altering anything inside the default standardised setup of an OS would results in performance issues.

Winanjaya 07-30-2013 12:26 AM

No, I don't have performance issue of dir creation.. what I want to do is just to organize the folders ..
is it possible..?

SAbhi 07-30-2013 01:44 AM

Hmm I don't know if that can be done. But even if it is, I would still suggest not alter that when you don't have any issues. The max dir's depends upon filesystem and not on OS. ext2/3 can have 32k as the upper limit while ext4 has around 64k. So I am a bit in question if that can be customised.

eklavya 08-01-2013 06:47 AM

http://www.linuxquestions.org/questi...folder-877599/
http://www.linuxquestions.org/questi...-linux-605487/
http://www.linuxquestions.org/questi...ectory-183643/


All times are GMT -5. The time now is 09:36 AM.