Article 5E28W Is there a file system out there that supports custom file size limit ?

Is there a file system out there that supports custom file size limit ?

by
stoorky
from LinuxQuestions.org on (#5E28W)
Hi,
I'm aware that EXT4 has a Code:max_dir_size_kb mount option to set up the max size of each directory. It doesn't have a similar option to specify the max size of individual files, though.

Is somebody aware of another file system that could do this ? I checked XFS, ZFS and ReiserFS, but didn't find anything, though I'm no expert on those file systems.

To be more specific about what I try to achieve : I'd like to limit the size of individual files that can be stored on a Samba share (individual files, not global quota, e.g. prevent users from storing files exceeding a given size). Samba doesn't have an option for this, and the Linux /etc/security/limits.conf doesn't work either with Samba (see https://askubuntu.com/questions/1315...4-ubuntu-20-04, and the answer below : the Samba developers explained that file size limits set up in /etc/security/limits.conf are not enforced).

So my idea was to define that limit on the file system level, but it doesn't appear there is a file system supporting this feature.latest?d=yIl2AUoC8zA latest?i=x6Koq9LrJ3o:qNNF52wePuM:F7zBnMy latest?i=x6Koq9LrJ3o:qNNF52wePuM:V_sGLiP latest?d=qj6IDK7rITs latest?i=x6Koq9LrJ3o:qNNF52wePuM:gIN9vFwx6Koq9LrJ3o
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments