We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,325 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Limitation of number of inodes

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?

2
Contributors
2
Replies
1 Hour
Discussion Span
1 Year Ago
Last Updated
3
Views
DJSAN10
Posting Whiz in Training
260 posts since Dec 2010
Reputation Points: 38
Solved Threads: 27
Skill Endorsements: 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.

sonal_salkade
Newbie Poster
8 posts since Jan 2012
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 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 ?

DJSAN10
Posting Whiz in Training
260 posts since Dec 2010
Reputation Points: 38
Solved Threads: 27
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0745 seconds using 2.64MB