Operating System - Linux
1752771 Members
5028 Online
108789 Solutions
New Discussion юеВ

What is diff between "file size" and "data size" while setting up limits in linux

 
senthil_kumar_1
Super Advisor

What is diff between "file size" and "data size" while setting up limits in linux

Hi All,

What is diff between "file size" and "data size" while setting up limits in linux.

And how to set unlimited access to particular items...


2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: What is diff between "file size" and "data size" while setting up limits in linux

"file size" means what it says. You can't write a file beyond that limit.

"data size" deals with memory/swap.
Alzhy
Honored Contributor

Re: What is diff between "file size" and "data size" while setting up limits in linux

datasize pertains to "ulimit -d" (data segsize) value. Notean executable can have 3 memory areas - text, stack and data. The latter is what this refers to.

file size of course is what it says but I don't think it is set in limits.conf but rather in the user's quota...
Hakuna Matata.