How to limit the usable capacity of the jetson emmc module

Hello,

In the case of the jetson emmc module, the storage is fixed at 16 GB and it is difficult to expand, so if the 16 GB capacity is full, there is a problem that it cannot boot.
Although a warning message appears when the usable storage capacity decreases below a certain level,
Downloading this and that can be full.
In this case, you cannot boot.
Is there any way to force a capacity limit using a tool like quota?

Thank you.

Quota is set through the “/etc/security/limits.conf” file. If you have man pages installed (probably not on the Jetson, but probably so on the PC), then check “man limits.conf”. The kinds of resources which can be limited is a large topic, but you can find some description from many Linux URLs about resource limits. Example:
https://www.tecmint.com/set-limits-on-user-processes-using-ulimit-in-linux/

1 Like