I know that we can set quota limit for an OS user on a filesystem.
But I have a different objective to achieve -
can we set a limit on a folder on a filesystem.
Let use I have a 'apps' folder in some filesystem. Disc space occupied by 'apps' should not be more that 5GB.
Searched on net, but didn't find any useful information.
With quota you cannot set a limit on a particular subdirectory within a filesystem. The only way you could use quota to limit an ../apps subdirectory to 5Gb would be to mount a separate filesystem on ../apps and set a quota on that filesystem.