On Wed, Jan 12, 2022 at 02:06:39AM +0800, Yamada????????? wrote:
> For a BSD based system, how can I setup that, if a dir has total storage
> size reached to the max, it won???t be writable anymore?
> 

I know you can restrict storage usage at a filesystem level using quota(1),
but I'm not aware of a way to restrict it by directory. I use this for
the /home partition so that each user can only use up a certain chunk of
space for their own home directory and not hog the shared space for the
other users. You might be able to get by with doing something similar,
but I suppose it would depend on your use case.

-- 
Put your Nose to the Grindstone!
                -- Amalgamated Plastic Surgeons and Toolmakers, Ltd.

Reply via email to