I'm studying Linux for taking the LPIC-1 exam. When studying quotas, I was wondering something:
Since you can overflow a disk space creating an infinite number of 0 bytes files, setting a user quota by iNodes would be wise. However, if you imagine an environment of a shared hosting service, I think there isn't any way that you can guess a number of files to limit.
So, how would you avoid someone to exceed the disk's iNode limit? What rule could be applied?
Regards and thank you in advance.