1.11M Members

Limitation of number of inodes

 
0
 

Okay, so I don't know much about this and maybe that is why the doubt. I am pretty sure there must be some precaution if some one tries to create (can say a virus) like this :

while(1)
{
   /* creat system call. to create files continuously. Not difficult to give different file name each time */
}

Inode list doesn't get exhausted here right? But what is done to avoid this ? Or does it mean that we cannot create anymore files?

 
0
 

You might be knowing that the system(OS) would not allow you to create those many files.It will flag you a message that says memory is low,delete some data.

 
0
 

It means that someone could mess up with any machine then. i would run my program on someone else's computer and create trouble for him. But this should not happen , right?? Does system take any care for this ?

Isn't it about time forums rewarded their contributors?

Earn rewards points for helping others. Gain kudos. Cash out. Get better answers yourself.

It's as simple as contributing editorial or replying to discussions labeled or OP Kudos

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: